Including a static file in your bb template
-
I’m running a forum, which has a sidebar on the left, it was a pain to edit that sidebar, so I tried some including today.
If you want to including a file in to your forum, use this code:
<?php bb_load_template(‘sidebar.php’);?>
Add that sidebar.php or whatever you want to call it in your template folder.
It works similar like the one we are used to using for WordPress:
<?php include(TEMPLATEPATH.”/sidebar.php”);?>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.