Created
January 22, 2012 21:19
-
-
Save vilmibm/1658874 to your computer and use it in GitHub Desktop.
marimo template tag
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
{% marimo request_widget medley_comments 12 434 page=4 %} | |
<!-- VVVVVVVVVVVVVVVV renders VVVVVVVVVVVVVVVVVVVV --> | |
<div id="some_randomly_generated_id"></div> | |
<script> | |
marimo.add_widget({ | |
widget_prototype:'request_widget', | |
widget_handler:'medley_comments', | |
id:'some_randomly_generated_id', | |
args: [12,434], | |
kwargs: {page:4} | |
}); | |
</script> | |
<!-- With luck, you'll have a fancy comments widget appear on the page without further ado. --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment