Commit 73a1788f authored by Sebastien Robin's avatar Sebastien Robin

show how to render part of the user interface as cached gadgets

parent 681d743b
<div gadget="gadget/navigation.html"
id="navigation"
gadget:property=' {"cacheable": "1", "cache_id": "navigation"}'>
</div>
\ No newline at end of file
/* trigger when page is ready */ /* trigger when page is ready */
$(document).ready(function (){ $(document).ready(function (){
TabbularGadget.addNewTabGadget('gadget/nagivation.html','gadget-header',undefined); TabbularGadget.addNewTabGadget('gadget/cached_navigation.html','gadget-header',undefined);
TabbularGadget.addNewTabGadget('gadget/article.html','gadget-article',undefined); TabbularGadget.addNewTabGadget('gadget/article.html','gadget-article',undefined);
}); });
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment