It depends on how different he wants the page to be, if he's providing a 
completely separate layout, he'd need to provide a completely different 
css page.  I've been thinking of the best way to provide a print version 
for every page, and one of the ways was to use the if_url command to 
switch css files. Though it ended up being completely useless for me, it 
would probably work well in this circumstance.  You wouldn't even 
actually need a snippet if you're providing css files, in the template 
(or where ever you call the stylesheet) use:

<r:unless_url matches="/[your archive 
directory]/\d{4}/\d{2}/\d{2}/.+">[your normal stylesheet]</r:unless_url>
<r:if_url matches="/[your archive directory]/\d{4}/\d{2}/\d{2}/.+">[your 
article specific stylesheet]</r:if_url>


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
[email protected]
http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to