Thanks. I'll look into that later this week I hope. Dave
On Jan 21, 9:56 am, Mark Radford <[email protected]> wrote: > Using "pages" to do your CSS files (so you can link to anchor elements > and so on) is the right idea, I think. I've recently been on official > reddot (Sorry - Open Text WS) training and this is how we were shown > to implement CSS files in the templates: > > <reddot:cms> > <if> > <query valuea="Context:CurrentRenderMode" operator="==" > valueb="Int:2"> > <htmltext> > <!-- This is the published mode --> > <!-- Add your normal links to CSS files as you would normally --> > > <link rel="stylesheet" type="text/css" href="<%anc_cssfile%>" /> > > </htmltext> > </query> > <query type="else"> > <htmltext> > <!-- This is RedDot and preview modes --> > <!-- Add your CSS as a container so that it goes straight into the > page --> > > <style type="text/css"> > <%con_cssfile%> > </style> > > </htmltext> > </query> > </if> > </reddot:cms> > > Then all you need to do is reference your anchor to your template so > that it pulls your CSS file straight in and you're done. > > I used to do this the same way, but used blockmarks to determine > whether or not I was in smartedit or not. This way means your preview > and publish can be differentiated against, which is useful. > > I'm not sure what you mean about the CSS elements? > > Hope that helps. > > Mark > > On Jan 20, 9:23 pm, Dave R <[email protected]> wrote: > > > I haven't had to do this yet, but I will soon. > > > Reddot changed how CSS is handled sometime around Reddot 9 and > > certainly 10. They wanted us to call it in through a different element > > I think so that it can be properly rendered in 10 and non-ie browsers. > > > Do any of you remember how it's supposed to be done now? > > > We actually develop/host the css as content classes in our projects so > > we can easily edit them and pull in images from the asset manager. So > > I have css "pages" that are connected to anchors. > > > Any ideas? Things are looking a bit rough on our dev box for 10. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
