Article Title links

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Article Title links
Seraphim
CZ Newbie
Seraphim has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 29, 2004
0.00 posts per day
Posts: 4
Points: 538
   
I want to link my news article titles to "modules.php?name=News&file=article&sid=XX" so that when people click on the title of the article it will take them to the article page. How would I go about doing this?

Thanks...



Back to top Reply with quote
#2   re: Article Title links
Browser
CZ Super Newbie
 Codezwiz Site Donator
Browser has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 14, 2004
0.01 posts per day
Posts: 48
Points: 5,631
   
Here is the code I use for the link you describe, it will work if you query the database properly with $title and $sid. Let me know if you need the rest of the module code. I sent you a private message with my website link so you can see the block I made and decide if that will work for you.

<a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid\">$title</a>



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum