[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