<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: Is this possible? (advanced templating)</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Is this possible? (advanced templating)</description>
<language>en</language>
<pubDate>Thu, 16 Oct 2008 00:59:25 +0000</pubDate>

<item>
<title>bobbyh on "Is this possible? (advanced templating)"</title>
<link>http://bbpress.org/forums/topic/is-this-possible-advanced-templating#post-16236</link>
<pubDate>Wed, 14 May 2008 18:10:36 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16236@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you want varying HTML depending on what the forum id is, you should probably just use a conditional if/inside of one template file like so:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php if ($forum_id == 1) {&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;echo &#38;#39;html1&#38;#39;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;} elseif ($forum_id == 2)  {&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;echo &#38;#39;html2&#38;#39;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Any other approach will probably lead to madness. :-)
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Is this possible? (advanced templating)"</title>
<link>http://bbpress.org/forums/topic/is-this-possible-advanced-templating#post-16230</link>
<pubDate>Wed, 14 May 2008 15:57:35 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">16230@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Can this be done with entire templates too?  Perhaps in topic.php or something (cant try this at the moment)
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "Is this possible? (advanced templating)"</title>
<link>http://bbpress.org/forums/topic/is-this-possible-advanced-templating#post-16225</link>
<pubDate>Wed, 14 May 2008 11:07:18 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16225@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yeah, assuming the themes have consistent HTML, in the header, put something like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; href=&#38;quot;&#38;lt;?php if ($forum_id == 1) bb_stylesheet_uri(); elseif ($forum_id == 2)  echo &#38;#39;/my-templates/kakumei-blue/style.css&#38;#39;; ?&#38;gt;&#38;quot; type=&#38;quot;text/css&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I didn't test this, but I think that code should work.
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Is this possible? (advanced templating)"</title>
<link>http://bbpress.org/forums/topic/is-this-possible-advanced-templating#post-16222</link>
<pubDate>Wed, 14 May 2008 08:48:17 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">16222@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well thisd is what I want. I have 1 forum and it has 2 forum cats. Lets call them forum 1 and forum 2.&#60;/p&#62;
&#60;p&#62;Now I have the kakumei them running (green). Now I want forum 1 to be green, but if they go to forum 2, I want it to be blue (kakumei blue).&#60;/p&#62;
&#60;p&#62;So is it possible to have different colors/themes for each category? Or some dirty hack to do this? This is also need for subforums to give them a different style, but fornow I just need it per category.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>

</channel>
</rss>
