Hiding notification button

Hiding notification button

Tuesday 27 January 2004 9:40:28 am - 1 reply

Author Message

Sandra Parente

Wednesday 28 January 2004 2:50:21 am

I discovered that the problem was in upgrading: there must be a bug in the mysql database upgrade from 3.3-1 to 3.3-2. It does not solve the problem with notification. I re-installed 3.3-2 cleaning up the database (sick!) and now notification works.
The correct code for hiding the notification button to anonymous is:

{let thisuser=fetch('user','current_user')}
{section show=$thisuser.is_logged_in}
<input class="button" type="submit" name="ActionAddToNotification" value="{"Notify me about updates"|i18n("design/shop/layout")}{*to {$node.name|wash}*}" />
{/section}
{/let}

Cheers.
Sandra

Sandra Parente
www.netbliss.it

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.