I've just installed pligg a few days ago and I have read lots of posts, but no where do I see a straight question on how to add additional buttons at the top(header). Like a FAQ or an ABOUT button.
Can someone please help me with what I presume to be an easy task that I am overlooking.
What needs to be done to acclomplish this?
I know it has to do with the header.tpl but have had no luck with modifying it.
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Help with Menu. |
| ||||
| EDIT: This has been updated. Part I (immediately below) teaches you how to add a button to the sidebar. Part II (my second post) teaches you how to modify the header navigational menu as requested by the original post. Sidebar Menu: If you are using the default digitalnature template you do this: 1. Open /templates/digitalnature/sidebar_modules/misc_links_1.tpl The contents of this file will look like this: Code: <li>
<div class="box" id="sidenavbox">
<h1><span class="expand"><a id="expnav" class="expand-up"></a></span><a class="htitle">{#PLIGG_Visual_Name#}</a></h1>
<ul id="sidenav">
<li><a href="{$my_pligg_base}/shakeit.php?part=upcoming&order=1">{#PLIGG_Visual_Pligg_For_Stories#}</a></li>
<li><a href="{$URL_submit}">{#PLIGG_Visual_Submit_A_New_Story#}</a></li>
{if $Enable_Sneak eq 'true'}
<li><a href='{$URL_sneak}'>{#PLIGG_Visual_Sneak#}</a></li>
{/if}
{if $Enable_Tags eq 'true'}
<li><a href='{$URL_tagcloud}'>{#PLIGG_Visual_Tags#}</a></li>
{/if}
<li><a href='{$URL_topstories}'>{#PLIGG_Visual_Top_Stories#}</a></li>
<li><a href='{$URL_topusers}'>{#PLIGG_Visual_Top_Users#}</a></li>
</ul>
</div>
</li>
Code: <li><a href='{$URL_sneak}'>{#PLIGG_Visual_Sneak#}</a></li>
Code: {if $Enable_Sneak eq 'true'}
<li><a href='{$URL_sneak}'>{#PLIGG_Visual_Sneak#}</a></li>
{/if}
Now that I have found where I need to place the new button, lets give you an example of what a new button would look like: Code: <li><a href='./faq-en.php'>About</a></li> From here you shuold know enough basic html to get you through it. Here's the end result with an "About" button placed after the Live/Sneak button. Code: <li>
<div class="box" id="sidenavbox">
<h1><span class="expand"><a id="expnav" class="expand-up"></a></span><a class="htitle">{#PLIGG_Visual_Name#}</a></h1>
<ul id="sidenav">
<li><a href="{$my_pligg_base}/shakeit.php?part=upcoming&order=1">{#PLIGG_Visual_Pligg_For_Stories#}</a></li>
<li><a href="{$URL_submit}">{#PLIGG_Visual_Submit_A_New_Story#}</a></li>
{if $Enable_Sneak eq 'true'}
<li><a href='{$URL_sneak}'>{#PLIGG_Visual_Sneak#}</a></li>
{/if}
<li><a href='./faq-en.php'>About</a></li>
{if $Enable_Tags eq 'true'}
<li><a href='{$URL_tagcloud}'>{#PLIGG_Visual_Tags#}</a></li>
{/if}
<li><a href='{$URL_topstories}'>{#PLIGG_Visual_Top_Stories#}</a></li>
<li><a href='{$URL_topusers}'>{#PLIGG_Visual_Top_Users#}</a></li>
</ul>
</div>
</li>
__________________ Need a Pligg Host? Get 3 free months when you buy a year of hosting. Use the coupon PLIGG at either... MidPhase hosting starting at $7.95/month. ANhosting hosting starting as low as $4.95/month. Last edited by Yankidank; 01-23-2007 at 08:28 PM.. |
| |||
|
Hey Yankidank this was excellent. Very clear and more than helpful. Thanks! However, I modified the misc_links1.tpl and that allowed me to have an "About" button on the left side. Not exactly what I wanted but now I know how to modify that part, which I can see happening in the future. But what I am trying to actually do is add a button at the top of the page, after "Login" and "Register". Thanks for the friendly directions though. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dropdown menu for categories (digg style) | skroeger | General Help | 8 | 05-11-2008 05:43 PM |
| template menu little crooked, any suggestions???? | m1gu3 | Template Support | 0 | 05-05-2008 10:49 AM |
| How to get a dropdown menu for subcategories ? | jedimaster | General Help | 3 | 04-04-2008 04:28 PM |
| Multiple Categories Menu Needed | mobilpress | "yget" | 0 | 03-23-2007 08:24 AM |
| problem/reporting drop menu appears black | Pentarix | Template Support | 3 | 01-08-2006 04:33 AM |





Linear Mode

