Skip to content

Instantly share code, notes, and snippets.

@marekmurawski
Last active October 11, 2015 18:17
Show Gist options
  • Save marekmurawski/3899583 to your computer and use it in GitHub Desktop.
Save marekmurawski/3899583 to your computer and use it in GitHub Desktop.
MultiEdit frontend example
<?php
/**
* You need jQuery in your frontend for MultiEdit to work
* =============================================================================
* <html>
* <head>
* <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
* </head>
*
*
* .... and somewhere just before </body> of your layout put this code
* -----------------------------------------------------------------------------
* we check if plugin is enabled to suppress warnings
* -----------------------------------------------------------------------------
*/
if ( Plugin::isEnabled('multiedit') )
{
getMultiEdit($this->id);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment