![]() |
Question about creating a custom template
I am trying to use a custom template on a page: http://www.v6performance.net/featuredcar/. However, the paths to the images and links in the $navbar are all incorrect because they are relative to the /forums/, how can I fix this for all of my custom templates?
Thanks! |
<font color="darkgreen">I believe if you prepend the paths with "forums/" it will set the proper path for the images.</font>
|
Here is my script,
Code:
<?php |
You would have to do it in your template code where you use the path to your images.
Code:
<img src="forums/$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" title="Test" /> Code:
<img src="$forums/$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" title="Test" /> |
All times are GMT. The time now is 05:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|