Forum: Radiant CMS Access to request object from within tags

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9e3098fc25a84135db32e68f4176b19f?d=identicon&s=25 Kaleb Walton (Guest)
on 2007-01-26 03:04
(Received via mailing list)
First of all I'd like to say hello to everyone and congratulate the
creators of this fine product. This CMS will work perfectly for my
needs given a bit of customization so thank you for producing it -
saves me a good deal of time.

I don't see any way to access the request object from within tags -
does it not make sense to expose it even though the resulting output
may be cached? Basically I would like to create a link_unless_current
tag that works within all page contexts.

I've tried to alter the site_controller, behavior.rb and page_context
to allow it but the @request always nil's out right when I want it to
work :).

Regards,
Kaleb
4e96d6e0f0906972cd65b6df1074a9cb?d=identicon&s=25 vbfg (Guest)
on 2007-01-26 17:39
ghjghjghjg
This topic is locked and can not be replied to.