Why not do it through css?

<body id="<r:title />"> - or the URL equivalent (unsure of the code for 
that) and then specify an ID in your css for each unique page. That 
would produce really specific ID's, perhaps you could use another, less 
specific tag if you need something targeted to a group of pages.

Then in CSS you'd do something like:

#another-day .content{
    font-size: 1.5em;
}

This is my first post to the list, I've been using/theming Drupal for 
the past few years and I've found Radiant to be a great tool for my 
needs! Anyway, I'd do something like this in Drupal, so I would think 
the same logic would apply to Radiant.

Erik Mallinson


John W. Long wrote:
> Kyle Heon wrote:
>   
>> I'm using the demo site to help me port my Typo site into Radiant. To make
>> this even more complicated I'm retrofitting the popular Hemingway theme for
>> my needs. Because this theme has a different view for the detail page I 
>> need
>> to get Radiant to use a different template when a specific article has been
>> selected but to default to the article list layout otherwise.
>>
>> I'm unsure how to do this. Any tips? Thanks.
>>     
>
> There is not a clean way to do this. You could put the templates in 
> snippets and then use <r:if_url matches="..." /> to select the proper 
> snippet depending on the URL.
>
> --
> John Long
> http://wiseheartdesign.com
> _______________________________________________
> Radiant mailing list
> [email protected]
> http://lists.radiantcms.org/mailman/listinfo/radiant
>   
_______________________________________________
Radiant mailing list
[email protected]
http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to