Go Back   Pligg CMS Forum > Pligg Help > Customization Assistance

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
Thanks: 0
Thanked 0 Times in 0 Posts
How to put external link in the navbar

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
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
Lee
HQ Network/Product Jump
http://www.productjump.com -- My Pligg site
http://www.hqnetwork.com -- Pligg Hosting
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
Thanks: 0
Thanked 0 Times in 0 Posts
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}
__________________
Lee
HQ Network/Product Jump
http://www.productjump.com -- My Pligg site
http://www.hqnetwork.com -- Pligg Hosting
Reply With Quote
  #4 (permalink)  
Old 09-18-2008, 08:52 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,415
Thanks: 171
Thanked 440 Times in 279 Posts
moving this thread to "customization assistance" where it belongs.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a Digg style external link icon? kinglouse General Help 1 12-10-2007 08:48 AM
[SOLVED] How to make external story link to be direct without going through out.php doit General Help 3 06-08-2007 09:49 PM
Adding a "add this story to pligg" link on external stories AzHousePro General Help 2 05-29-2007 06:49 AM
Title link to external site? aero Modification Tutorials 5 01-03-2007 12:34 PM
External Link? kevinrstruck General Help 3 08-15-2006 11:09 PM


Search Engine Friendly URLs by vBSEO 3.2.0