PDA

View Full Version : Get content from template..


Pandemix
09-29-2007, 09:54 PM
I made a template on one of my styles for a custom navbar. It has a very large code in it, but is there something that I can type in that will take the coding from the custom template I made and put it to where I want? I don't want to put this huge code I made into the header common template, just a simple phrase that will act like it put the code there.

Like what this code does, except gets the content from the template I want and puts it in the header: <?php file_get_contents('http://www.yoursite.com/ads.php'); ?> I want this navbar to show up in the "header" part in the skins Common Templates section.

I hope I explained this well enough.

Dismounted
09-30-2007, 06:44 AM
<a href="http://www.vbulletin.com/docs/html/templates_externalfiles" target="_blank">http://www.vbulletin.com/docs/html/t..._externalfiles</a>

Pandemix
09-30-2007, 01:53 PM
Thank you so much. :)