This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » Dynamic include in eZ 4.3.0
expandshrink

Dynamic include in eZ 4.3.0

Dynamic include in eZ 4.3.0

Wednesday 06 October 2010 5:31:43 pm - 2 replies

Hi,
Can some one explain me why I can't use a variable as include uri?
{def $tmp='design:include/portlets/thumblet.tpl'}
{include uri=$tmp}
{include uri='design:include/portlets/thumblet.tpl'}
The first include doesn't work but the second one does. Strict same strings.
Thank you for helping,
Adrien

Wednesday 06 October 2010 7:53:30 pm

I missed something with the caches. I still haven't understood. But a --clear-all solve the problem while removing only the specific template cache didn't...

Wednesday 06 October 2010 10:14:30 pm

Adrien, in eZP you have several layers of cache, so maybe you cleared the template cache, but the old data was still cached in some other cache, possibly view cache.

For development siteccess it's recommended to set:

[TemplateSettings]
DevelopmentMode=enabled
 
[ContentSettings]
ViewCaching=disabled

in your site.ini.append.php.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from