Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Help:
Inserting own header
GryMlock



Joined: 27 Aug 2003
Posts: 91
Location: Malaysia

Posted: 08/27/03 06:25 
Hi,
how can I put my own header on the band pages? Right now I just insert the html codes in the theme header file but I have to do this for every theme and have to replace every each one of it if there's any modification done to the header. I tried using <include file> & include virtual but it doesn't work.

hope anybody can help me on this

thanks

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 08/27/03 07:03 
GryMlock -

since most of the themes create PHP files as their output fles (i.e. index.php) you will need to use PHP's include() function to include your files. You can do this like so - in the Theme template file that you want to include the HTML in (say page_header.tpl) you can put an entry like this:

<?php

include("/path/to/include/file");

?>

and it will include that file for you.

Otherwise, you are free to modify the .tpl files (they are mostly simple HTML) as you see fit to get them to look more your style.

I hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
GryMlock



Joined: 27 Aug 2003
Posts: 91
Location: Malaysia

Posted: 08/27/03 19:46 
ah okay. thanks brian. I'll let you guys see it when it's ready Wink

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Help

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.