PDA

View Full Version : Adding last 5 featured links to sidebar?


WebDesignPoint
08-11-2005, 12:08 AM
Hey folks,

First off, nice script you have :)

Now on to my problem. I'm trying to add the last 5 featured links to a sidebar on my site, but am seeing a very weird result.

I've created a file called featured.php with the following code in it:
Content visible to registered users only.

I've also creaetd a template file called featured.tpl with this code:
Content visible to registered users only.

The featured.tpl file is being called from the main.tpl file.

Check out my site (http://www.webdesignpoint.com) and see what's going on. You can see the links on the right hand side. The extra links being displayed are not listed links. I've absolutely no idea where the values are coming from :roll:

Anyone got any ideas?

WebDesignPoint
08-11-2005, 12:10 AM
Just to clarify... the links n,s,&,&,m are not in the link table in the db. They're appearing out of nowhere :)

Ap0s7le
08-11-2005, 02:00 AM
Replace the code in your featured.php with

Content visible to registered users only.

And yell back at me concerning the result :)

later

WebDesignPoint
08-11-2005, 04:29 PM
Cool. That sorted it. Thanks :)

Amit
08-17-2007, 08:16 PM
Hi Guys, Instead of starting a new thread, Can this above mod be modified to display the latest 5 featured links in the sidebar, as below..

Link1
Link2 & so on... Can anyone help me to have this mod for v3.1 on http://www.zetaurl.com

Please help me... I am bumping a 2 year old thread :)