Share » Forums » Developer » Displaying wrong username

Displaying wrong username

Displaying wrong username

Monday 10 January 2011 12:11:11 pm - 3 replies

Author Message

Edi Modrić

Monday 10 January 2011 12:31:25 pm

Hi John,

this sounds to me like a wrongly set up cache block that's interfering.

Adding the $userInfo.contentobject_id to your cache block keys array should sort this out.

eZ Publish certified developer

http://ez.no/certification/verify/350658

John Petrello

Monday 10 January 2011 12:55:47 pm

Could you go into more detail please? I am very new to eZPublish.

André R.

Tuesday 11 January 2011 12:30:31 am

He is basically saying that you have some cache in place where the name is outputed.

Could be cache-block, a template (.tpl) block that makes sure dynamic templates are cached to static html to not have to re generate the block on every request (to improve performance).

You can debug templates by enabling site.ini [TemplateSettings]ShowUsedTemplates=enabled & DevelopmentMode=enabled and other settings.
Take a look on doc.ez.no to see how to work with ini files and overriding them, and to see the different settings you have available in site.ini.

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

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

36 542 Users on board!

Forums menu