 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
jhowel03 Smarty Rookie
Joined: 16 Mar 2010 Posts: 5
|
Posted: Wed Apr 14, 2010 8:26 pm Post subject: my vshare clone script with smarty |
|
|
i have a vshare clone script that uses smarty templates.
I want to add two page links to my navigation bar.
which is located in the templates/header.tpl
in the nav bar the links looks like this
<div id="menu" class="clearfix">
<ul>
<li><a href="{$base_url}/index.php">HOME</a></li>
<li><a href="{$base_url}/upload/">UPLOAD</a></li>
<li><a href="{$base_url}/recent/">WATCH</a></li>
<li><a href="poets.tpl">POETRY</a></li>
<li><a href="{$base_url}/channels/">CHANNELS</a></li>
<li><a href="{$base_url}/groups/featured/1">GROUPS</a></li>
<li><a href="{$base_url}/friends/">FRIENDS</a></li>
<li><a href="{$base_url}/published/">PUBLISHED </a></li>
<li><a href="{$base_url}/tags/"> TAGS</a></li>
</ul>
</div>
1. a poets page
2. a published page
i want them to follow the same guidelines as all the other pages in the header like the home page, upload page. basically i want my two new pages to have the same header and footer as all the other links in the navigation bar. I have no i deal where to start and how to implement this code.
my site is www.poetrybattles.com |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|