Last active
October 11, 2015 18:17
-
-
Save marekmurawski/3899583 to your computer and use it in GitHub Desktop.
MultiEdit frontend example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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