Adding outbound links to index.php

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-04-2006, 03:31 AM
Casual Pligger
 
Join Date: Oct 2006
Posts: 37
Hi,

Sorry for such a noob question, but I'd like to add a couple of outbound links to the bottom of my index.php - at the moment I've put them in the footer.tpl but don't want them on every page.

How can I add these to the index.php? html doesn't work of course!

Cheeers,

Mr P.
Reply With Quote
  #2 (permalink)  
Old 11-04-2006, 04:49 AM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
I'm not sure what exactly you're askign for. Could you elaborate more about what exactly you are looking for?

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #3 (permalink)  
Old 11-04-2006, 06:08 AM
Casual Pligger
 
Join Date: Oct 2006
Posts: 33
im guessin what you want are links that link out from pligg, ie a blogroll or somethin?

i guess the easiest way to do it would be to go into pligg.tpl and create a new div just above the end of 'wrap'.

that way it sits inside your wrapper and not your footer.

then to have it only display on the pages you want it to, you'd need to find out the names pligg assigns those pages and use them in the following way:


{if $pagename eq "index"}
insert links, chocolate bunny rabbits, or red herrings here
{/if}

.... and if you want it to display on more than on page you assign:

{if $pagename eq "index" || $pagename eq "shakeit" || $pagename eq "anything" }

....just pipe between the pages and add as many as you like.

now just style the div with your content in any way you like!

hope this helps ya

dave
Reply With Quote
  #4 (permalink)  
Old 11-04-2006, 04:34 PM
Casual Pligger
 
Join Date: Oct 2006
Posts: 37
Precisely what I was looking for. Thanks davebowker
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fixed] Outbound links issue skelton1234 Questions and Comments 2 05-04-2007 12:41 AM
Outbound links not working slick Questions and Comments 0 03-17-2007 03:23 AM
Outbound links header... en3r0 Questions and Comments 0 01-15-2007 08:44 PM
outbound links broken with urlmethod=2 cryptkeeper Questions and Comments 4 11-15-2006 09:41 PM
B7C278 Outbound Links not working boyles Questions and Comments 16 11-10-2006 09:27 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