<br><div><span class="gmail_quote">On 1/26/06, <b class="gmail_sendername">Dominique Faure</b> &lt;<a href="mailto:dominique.faure@gmail.com">dominique.faure@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>The pagename definition you provide ('$SiteGroup.StyleSheet') must be<br>&quot;resolved&quot; (variables, i18n,... replaced with their values) before<br>all. This process is done relatively to the current page being<br>
browsed:<br><br>global $pagename;<br><br>$pn = FmtPageName('$SiteGroup.StyleSheet', $pagename);<br>$page = ReadPage($pn, READPAGE_CURRENT);<br>if (!$page) { &quot;page doesn't exist&quot;; }<br>$stylesheettext = $page['text'];
<br>$HTMLStylesFmt['skincss'] = $stylesheettext;<br><br>Dom<br></blockquote></div><br>For whatever reason, when I do this, and when I put $SiteGroup.StyleSheet into double quotes, nothing happens; the styles are still not applied.&nbsp; I'm a little confused about the part &quot;relatively to the current page being browsed&quot;; am I not able to include that kind of thing in 
skin.php, maybe?<br><br>Jon<br clear="all"><br>-- <br>Jon Haupt<br>Fine &amp; Performing Arts Librarian<br>Iowa State University<br>152 Parks Library<br>Ames, IA 50011<br>515-294-0904<br><a href="mailto:jhaupt@iastate.edu">
jhaupt@iastate.edu</a>