Casper Fabricius <[EMAIL PROTECTED]> writes:

>>   1) Is there any other way to access the flash or session data from
>>      a tag?
>
>
> It can be done, but it requires a bit of patching. You need to put the  
> request and response objects in the globals for the tag to access, and  
> bear in mind that you need to reenable to sessions for sitecontroller:
>
> module SiteControllerExt
>    def self.included(base)
>      base.class_eval {
>        # This reenables the session for the SiteController -  
> session :on does not work!
>        session :disabled => false
>      }
>    end
> end

Thanks.

I thought about this, but it smelled bad to me, so I wanted to ask
around first.

-- 
  J Aaron Farr     jadetower.com        [US] +1 724-964-4515
    馮傑仁         cubiclemuses.com     [HK] +852 8123-7905
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to