Forums / Developer / Hiding notification button / Comment39824
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