XF 2.1 Color of forums/threads

Robert9

Well-known member
Example forums:

Germany
  • Berlin
  • Cologne

UK
- London


The background of Uk and London should be blue.


Possible solutions:
1.
If node_id = x => do something (for less forums)


2.
New extra field in node:
node.mycolor

if node.mycolor == x, => do something (needs still an edit for every forum)


3. I would like to know which is the root-forum of a forum
then i could say: if root_forum_node_id == x, then do something
because uk should be the only forum with all subforums and threads to have a blue background.

Is there any chance to work this out without an extra field?
 
Top Bottom