How to put external link in the navbar

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-06-2008, 08:34 AM
New Pligger
Pligg Version: Pligg
 
Join Date: Sep 2008
Posts: 9
I want to intergrate a forum and place an external link along the navbar right after "submit a new story"

How do I do that?

Please help And I don't have a meta file in my default template file. How do I get one>
Reply With Quote
  #2 (permalink)  
Old 09-18-2008, 12:04 PM
New Pligger
Pligg Version: 9.9.5
 
Join Date: Sep 2008
Posts: 2
Adding any link to the navbar isn't too bad of a process.
Open
/templates/{your template}/header.tpl :
Code:
After the {/if} statement and before the </ul> 
Add:

Code:
<li><a href="/forum/">Forum</a></li>
Of course you'd change the link from /forum/ to wherever you installed your forum.

I did this on my ProductJump site for the "Contact" link.

If you put it within the {if $user_authenticated eq true} {else} {/if} in header.tpl, it would either show up if someone is logged in, or not logged in.

Granted, this is a direct and easy way to add a link, and certainly not the "official" method.
Reply With Quote
  #3 (permalink)  
Old 09-18-2008, 12:28 PM
New Pligger
Pligg Version: 9.9.5
 
Join Date: Sep 2008
Posts: 2
As far as META data, you should edit /templates/meta.tpl

To Edit the Description:
Code:
{if $meta_description neq ""}
	<meta name="description" content="{$meta_description}" />
{else}
	<meta name="description" content="This is the description of my site" />
{/if}
Change the meta description AFTER the {else}

Code:
{if $meta_keywords neq ""}
	<meta name="keywords" content="{$meta_keywords}" />
{else}
	<meta name="keywords" content="keywords go here,best,practices,widgets,games" />
{/if}
Change the meta description AFTER the {else}
Reply With Quote
  #4 (permalink)  
Old 09-18-2008, 08:52 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,832
moving this thread to "customization assistance" where it belongs.


Download the full Pligg Module Pack





Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding external link in main menu sbanerjee Questions and Comments 4 03-10-2009 06:24 AM
[SOLVED] How to make external story link to be direct without going through out.php doit Questions and Comments 2 06-08-2007 09:49 PM
Adding a "add this story to pligg" link on external stories AzHousePro Questions and Comments 2 05-29-2007 06:49 AM
Title link to external site? aero Questions and Comments 5 01-03-2007 12:34 PM
External Link? kevinrstruck Questions and Comments 3 08-15-2006 11:09 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development