On 8/1/2010 3:01 AM, Steven Southard wrote:
No I don't think so. Just a link to the admin page. It would just
make it fast because you won't have to go to the admin and find the
page you want to edit. If you have a lot of pages that can be a hassle.
I think creating a link to the page
Sorry for replying to my own post, but is actually is easily fixable:
Line 34 of lib/action_controller.rb of the packed actionpack lib inside radiant
pins rack to versions up to 1.0.0. I've commented it out, no probs so far.
Which leads me to another issue: What would it take to provide a
Radiant already contains methods for constructing its URLs, so I think you
can use this:
tag 'local:edit_url' do |tag|
edit_admin_page_path(tag.locals.page)
end
You might want to show this link only to people who are logged in as admins.
One way to do this is a separate tag:
On Fri, Jan 8, 2010 at 11:08 AM, Mohit Sindhwani t...@onghu.com wrote:
On 9/1/2010 12:00 AM, Erik Ostrom wrote:
Radiant already contains methods for constructing its URLs, so I think
you can use this:
tag 'local:edit_url' do |tag|
edit_admin_page_path(tag.locals.page)
On 08.01.2010, at 19:16, Jim Gay wrote:
tag 'local:if_logged_in' do |tag|
tag.expand if logged_in?
end
That'll let you write Radius code like this:
r:local:if_logged_in
a href=r:local:edit_url/edit/a
/r:local:if_logged_in
(All these code samples are untested, but, uh,
On Fri, Jan 8, 2010 at 1:36 PM, Haselwanter Edmund
edm...@haselwanter.comwrote:
On 08.01.2010, at 19:16, Jim Gay wrote:
tag 'local:if_logged_in' do |tag|
tag.expand if logged_in?
end
That'll let you write Radius code like this:
r:local:if_logged_in
a
On Thu, Jan 7, 2010 at 12:36 AM, Steven Southard
ste...@stevensouthard.com wrote:
I was thinking a list all button would give me what I've grown to find
useful while not impeding your vision for this site. Thanks for your
consideration.
I've added:
http://ext.radiantcms.org/extensions/all