Clear cache and Cataloger

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jackgittes
Forum Members
Forum Members
Posts: 23
Joined: Mon Sep 28, 2009 9:04 pm

Clear cache and Cataloger

Post by jackgittes »

Hi there,

I am working with CMSMS version 1.6.7. I have a very annoying  problem concerning the Cataloger. For example every time I change something into a Cataloger template I always have to clear the cache before the changes are visible. The same issue is when I add images to a cataloger page (Item / category). I only see them online after clearing the cache.

I noticed some similar problems from other users on this forum. One solution was to make a User Defined Tag that automatically clears the cache. But is that a real solution? I mean, there has to be a cause?

Greets,

Jan
goodwebsites
New Member
New Member
Posts: 2
Joined: Fri Apr 09, 2010 2:29 am

Re: Clear cache and Cataloger

Post by goodwebsites »

same problem for the category page navigation. only works when clearing the cache...
goodwebsites
New Member
New Member
Posts: 2
Joined: Fri Apr 09, 2010 2:29 am

Re: Clear cache and Cataloger

Post by goodwebsites »

had thought about that solution as well. unfortunately the cataloger pages don't have the option to switch off the cache (like on normal pages). Or is there another setting (tweak/hack) to get the same result?
jwaldeck

Re: Clear cache and Cataloger

Post by jwaldeck »

Guys, read this http://forum.cmsmadesimple.org/index.ph ... 884.0.html

1. Define a UDT
2. Call the UDT on the event manager
3. Done

Excerpt:

Extentions >> User Defined Tags
Create a User Defined Tag called f.i. clear_cache with the content:

Code:

Code: Select all

	global $gCms;
	$contentops =& $gCms->GetContentOperations();
	$contentops->ClearCache();


Extentions >> Event Manager
Call the UDT on an event.
In your case probably: ContentEditPost - Sent after edits to content are saved
ellein
Forum Members
Forum Members
Posts: 10
Joined: Wed Apr 29, 2009 1:08 am

Re: Clear cache and Cataloger

Post by ellein »

goodwebsites wrote: had thought about that solution as well. unfortunately the cataloger pages don't have the option to switch off the cache (like on normal pages). Or is there another setting (tweak/hack) to get the same result?
Yes. I have write patch for making catalog gategory pages cachable like other content pages.
Look here: http://dev.cmsmadesimple.org/bug/view/4828
Post Reply

Return to “Modules/Add-Ons”