Hello,

I would like to create something like that :
http://lists.radiantcms.org/pipermail/radiant/2006-September/001695.html
The goal is to display a 'login box' if the current user is not
connected, else an 'account box'.

But I can't access to the 'session'. I tried to enable the session like
that :

module CoreExtension::SiteControllerExtensions
  def self.included(base)
    base.class_eval do
      session :disabled => false
    end
  end
end

(and include this file to SiteController)

It doesn't work. I found an other discution about :
http://lists.radiantcms.org/pipermail/radiant/2007-November/007146.html

But ir doesn't work too... can you explain me, what is the best way to
do my feature?

Thank you !
Vincent
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to