Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Template change based on a Theme
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #23
RE: Template change based on a Theme
Yes, I know it is a long time since I started this thread, but I have not totally given up on the idea of a mobile setup.

I have tried various combinations to get the $forum['overrridestyle'} to return a result, but no luck so far. I wondered if it was because that data is in the forums cache, and if so, how would I access that data from the cache in a template conditional? This is the code I tried, to test it out.

Code:
<if $forums['overridestyle'] =0 then>
o
<else>
x
</if>


I have two forums - one with an override, one without. It appears to make no difference if I set the check to 0 (no override) or 1 (override) both forums are returning the same - either x or o.



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 04-29-2012 03:54 AM by leefish.)
04-29-2012 03:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Template change based on a Theme - leefish - 02-27-2011, 07:24 PM
RE: Template change based on a Theme - leefish - 04-29-2012 03:38 AM

 Standard Tools
Forum Jump: