[Radiant] Snippet hierarchy?

2008-10-12 Thread Jeffrey Jones
Hi everybody Has anyone thought about the possibility creating a snippet hierarchy? On a site I am currently working on I will have a bunch of snippets which will probably have to be translated into different languages. It would be useful to be able to organise them on the site into a

[Radiant] Rake census:layouts

2008-10-12 Thread Andrew Neil
I just wrote a rake task for showing stats about how many pages are using each Layout. I'm spring cleaning a site which uses unique layouts for quite a few pages. There are a few old drafts which are no longer in use, so I wanted to know which layouts I could discard. I thought it might be

[Radiant] New radiant site

2008-10-12 Thread Luis Lebron
I just built my first radiant site: www.parroquiaholyspirit.com. It's still a work in progress. I really enjoyed working with Radiant and the community around it. Details Since we were on a shoestring budget we chose a free template from www.oswd.org to build our site. Which brings me to of my

[Radiant] if_status tag

2008-10-12 Thread Jeffrey Jones
Howdy all, I found a link on google regarding the addition of the r:status tag. http://209.85.175.104/search?q=cache:0W0Pp72tSwkJ:dev.radiantcms.org/ticket/598+%3Cr:if_status+/%3Ehl=enct=clnkcd=1 One of the comments asks for r:if_status and r:unless_status tags to be added as well. It doesn't

Re: [Radiant] if_status tag

2008-10-12 Thread Sean Cribbs
Those changes have not been applied to the core. What would you use an r:if/unless_status for? Only published pages will be visible on the live site. Sean Jeffrey Jones wrote: Howdy all, I found a link on google regarding the addition of the r:status tag.

Re: [Radiant] if_status tag

2008-10-12 Thread Jeffrey Jones
Hi Sean. The scenario is that I want to list all children of a current page for a navigation menu and create links only if the page is, for example, published. If the page isn't published then I just want to output the name of the page. I am creating a new site for an organisation which has

Re: [Radiant] if_status tag

2008-10-12 Thread Andrew O'Brien
Hey Sean, My original reason I submitted that ticket/patch was to be able to conditionally format a layout so that it would be easy to style the page if it was still a draft on the dev server (e.g. putting a red border around the body and big text that said DRAFT). This way, my content creators

[Radiant] script/extension install in production mode

2008-10-12 Thread Ben Morrow
How can I set ruby script/extension install [gallery] to run in production mode? [concrete]$ ruby script/extension install gallery Initialized empty Git repository in /tmp/gallery/.git/ remote: Counting objects: 759, done. remote: Compressing objects: 100% (320/320), done. remote: Total 759

Re: [Radiant] script/extension install in production mode

2008-10-12 Thread john
Looks like you should also be able to set ENV['RAILS_ENV'] ||= 'production' in environment.rb On 2008/10/12, at 20:32, Jim Gay wrote: script/extension install gallery RAILS_ENV=production On Oct 12, 2008, at 10:20 PM, Ben Morrow wrote: How can I set ruby script/extension install [gallery]