Vincent,
The helper is there regardless. However, current_user will only be
populated _if the user is logged in_. To enable sessions, add this to
your extension, in the activate method:
SiteController.class_eval { session :disabled => false }
Sean
Vincent Pérès wrote:
Hello Sean,
I didn't enabled session, I created a new page type which is not using
cache.
In fact, the problem is on site_controller level, when I'm giving the
current user to my current page :
@page.current_user = current_user
On my computer 'current_user' exist, but the var is nil on the other
computer.
What could enabled or disabled current_user? (it's a helper if I
remember well)
Thanks,
Vincent
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant