try changing the tags to the cached version [[ ]] rather than [! !], this often resolves these problems.
It does not work, even with cached version of the call.
With cached version([[..]]), nothing is displayed.
Whereas with noncached ([!..!]) the call is displayed as it is in text form!
These calls are working fine from a normal document.
So, there is no syntaxical error or anything in the call.
They just fail to work from within a chunk ?!
Try disabling the cache of the document itself. I use snippets within chunks all of the time with out any problems. I suspect that the problem may be related to personalize itself, making it more susceptible to cache issues.
Thanks, but I am using the 1.0 version of Personalize snippet.
This snippet just checks to see if webusers are logged in, and if they are displays their login name.
It is working on normal page but not when i run in a chunk.
Ofcourse, I could use the newer version, but just got stuck up as to why the chunk cannot show output from a snippet.
This is more to know whether snippet calls are allowed in chunks, if they are not, then I would avoid coding this way.
Thanks.
I was putting this is in the "logout section" to show a welcome message with username.
If it does not work in Weblogin template, then its fine.
But does a snippet call generally work in a chunk ?
Also, is there some other way to pass the username to Weblogin template somehow ?
I just want to show a simple "Welcome $username" on the sidebar to all the logged in users.