Forums / Developer / Administration cache-clear after publishing on frontend

Administration cache-clear after publishing on frontend

Author Message

Fernando Palma

Tuesday 27 October 2009 5:08:13 am

I there,

I searched but didn't find the solution.

I have a "activity" class that is a container and on the frontend i have the possibility to register on that activity, that creates a children node of the given activity.

The problem is that the new registers on that activity (children nodes) don't apper on the backoffice unless I clear the caches. Is there any setting that makes it possible to clear the cache to make the changes visible on the fly.

Best regards

../fpalma

André R.

Tuesday 27 October 2009 6:07:43 am

Do you use different cache or var folder for the two siteaccesses? that could explain it.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Fernando Palma

Tuesday 27 October 2009 8:26:34 am

No, I have only one "var" and one "cache" folder.

All the caches are "off" on the frontend.

The content gets created and stored, but I don't see it unless I clear the caches.

I use the

eZContentFunctions::createAndPublishObject()

function to create the new content.

../fpalma

André R.

Tuesday 27 October 2009 9:27:08 am

The caches are not cleared if it is disabled, make sure you have it on / off globally.
it: [ContentSettings]ViewCaching and [TemplateSettings]TemplateCache

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Fernando Palma

Tuesday 27 October 2009 4:50:16 pm

Ok,

thanks, that was the problem, I have it disabled for the frontend site.

best regards

../fpalma