On The Web by Ircmaxell
GNU/GPL PageCache Joomla! APC php5 Lighttpd! Redhat
Saturday, 17 May 2008
 
 
Featured Site
Main Menu
Home
Articles
Services
Portfolio
Version Information
Bug Tracker
F.A.Q.
Downloads
Forum
Contact Us
Text Link Ads
Latest Version
Feed Icon Page Cache 1.0.8 stable
Release Date: 2007-06-11
Donate!
Login
Syndicate
On The Web Forums
Welcome, Guest
Please Login or Register.
Lost Password?
Re:moslaodposition problem (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Re:moslaodposition problem

#961
nutts4life (User)
Fresh Boarder
Posts: 1
graphgraph
Click here to see the profile of this user
moslaodposition problem 2007/09/11 17:11 Karma: 0  
Hi there,

I'm using the mosloadposition bot to load a dynamic module into my content.

I'd really like to to exclude this from my cache. But how would i do this?

I've tried the whole <!--CacheLoadModule-inset:-2:-->

But it just gets thrown onto the page.

Any ideas?

O
  The administrator has disabled public write access.
#962
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:moslaodposition problem 2007/09/11 17:19 Karma: 8  
Edit mosloadposition.php
On about line 103 you'll find
Code:

 function loadPosition$position$style=-) {         $modules '';         if ( mosCountModules$position ) ) {                 ob_start();                 mosLoadModules $position$style );                 $modules ob_get_contents();                 ob_end_clean();         }         return $modules; }



Change that to

Code:

 function loadPosition$position$style=-) {         $modules "<!--CacheLoadModule-$position:$style:-->";         if ( mosCountModules$position ) ) {                 ob_start();                 mosLoadModules $position$style );                 $modules .= ob_get_contents();                 ob_end_clean();         }                  return $modules."<!--EndLoadModule-->"; }

  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
get the latest posts directly to your desktop
Loans - Credit Card Consolidation - Car Insurance - Arizona Landscaping
 
Top! Top!
Generated in 0.18991303443909 Seconds