[Radiant] Avoid Stylesheet Children
Edwin Vlieg
edwin at flydesign.nl
Thu Aug 2 04:40:15 CDT 2007
Hi,
I always overcome this problem by adding an empty page part to the
stylesheet. By using the <r:unless_content part="no_menu"> tag you
can determine which pages should be added to the main menu.
Edwin
Op 2-aug-2007, om 11:32 heeft Mohit Sindhwani het volgende geschreven:
> Hi Everyone,
>
> After being away for a while, I'm now taking a few days to play with
> Radiant again in the hope of migrating one of my static sites to
> Radiant. In my 'Hello World' example that I uploaded as a tutorial, I
> created a stylesheet as a child of the main page and then used that
> for
> styling the main page as well as any of its children.
>
> Now, I've run into this problem. If I try to iterate through the
> children of the main page to create a list of links to the
> children, it
> obviously also creates a link to the stylesheet. I'm sure that
> there is
> a simple way to avoid it, but I think I'm too green just yet. :-|
>
> Thanks for the help.
>
> Cheers,
> Mohit.
> 8/2/2007 | 5:32 PM.
>
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
More information about the Radiant
mailing list