| Page Cache Version 1.0.7 Released! |
| Written by ircmaxell | |
| Wednesday, 09 May 2007 | |
|
Well, another version is here! This one adds two new features to the core. The first is that whenever the cache is cleared, it also clears the Joomla Core Cache. The second is support for loading modules into cached pages (through a special syntax). To do that, install or upgrade to Version 1.0.7, and then edit
your template file. Read more to learn how!
Find the line that loads the module position that you want loaded (looks
like <?php mosLoadModule( 'left' , 2 ); ?>)... Now RIGHT around it (just
outside of the <? and ?> brackets, add the following lines. IT IS
IMPORTANT THAT THEY LOOK EXACTLY LIKE THIS. You can change 'left' and '2', but
leave everything else exactly the way it is, or it won't work... Before (NOTE, change left to the position you want, and the number is the style. <!--CacheLoadModule-left:2:-->After (This MUST BE EXACT) <!--EndLoadModule-->That's it!!! Now all you need to do is save the template, and clear the cache. Those modules should be automatically refreshed (with very little performance loss). Here's an example... Prior to being modified (what to look for)<? mosLoadModule('right', -3); ?>After Modification <!--CacheLoadModule-right:-3:--><? mosLoadModule('right', -3); ?><!--EndLoadModule-->Trackback(0)
Comments (8)
![]() ...
written by charlynancy, May 12, 2007
Excuse me, i can't write the code, can you give us the completly synthax with an example
example
written by charlynancy, May 12, 2007
Hi, thank for your genious component
I'm not sur of the the exactly synthaxe Example : Before in my template After is it? or
or Or what else? written by santosh, May 10, 2007
hi mic
What is ment with "and the number is the style." ?? refer to the joomla templete tutorial http://dev.joomla.org/content/view/1136/79/1/6/ they have clearly documented everything you need to know about a templete written by abu bakar, May 10, 2007
i just wandering about editing my template with your and
.. id ont know where to place it and which one.. i have about 10 mosLoadModule on my template?.. can you explain very details how do that. Write comment
|
|
| Last Updated ( Saturday, 12 May 2007 ) |
| < Prev | Next > |
|---|











