Conditionals
#1
Are conditionals natively supported in themes? I've been asked to knock up a myBB theme but all my templating experience so far is with phpBB which does support this.
Reply
#2
No, but there is a plugin for php template conditionals.
What goes around comes around
Reply
#3
Here you go for the link to Template Conditional plugin
http://mybbhacks.zingaburga.com/showthread.php?tid=260

After using this plugin you can add php in any theme template.
- MyBB Heart
Reply
#4
Thanks Smile

...also is there any way to edit actual template files without using the admin panel? I much prefer to use a text editor, especially when experimenting
Reply
#5
Hi,

Templates are stored in the database, so unfortunately the easiest way to do it is from the Administrator Control Panel (ACP).
Reply
#6
Sad that sucks
Reply
#7
You can give a shot with Sublime text editor http://community.mybb.com/thread-144390.html
Reply
#8
edit: delayed response

well, you can try using Sublime Mybb Template Editor
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)