Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 02:26 pm EDT

Geeklog Forums

Making Topic Title a read more link


Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
Hello,

I like to make the title of each article (in its preview form) a link to the rest of the article. In short, have the read more link = the topic title. I tried to href the {readmore_link} tag, but that didn't work. Any suggestions? Thank you.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
{site_url}/article.php?story={story_id}
 
should do the trick.

bye, Dirk
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
When I do that, the actual place the browser tries to go to is www.mysite.com/{site_url}/article.php?story={story_id}, not www.mysite.com/article.php?story=id#.

Am I not doing something correctly?

And thank you for the response Dirk!
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
Sorry I got it! I don't know what I did wrong the first time. Smile Thanks again.
 Quote

Status: offline

inspiremin

Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
Hey! I'd like to know exactly how you did that. I tried to use href in the title but it got stripped out. Let me know details!

Thanks,

inSPIREmin

www.inSPIREministries.com
www.Scripturetoolkit.com www.inSPIREministries.com
 Quote

Lestat

Anonymous
I was using dreamweaver to paste the code as an href, and when I looked at the actual code, it wasn't exactly what I wanted (weird characters and such). Just make sure to examine the code: <a href="{site_url}/article.php?story={story_id}">{story_title}</a>
 Quote

Status: offline

inspiremin

Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
Do you put the href code in the title field?
www.Scripturetoolkit.com www.inSPIREministries.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by inspiremin: Do you put the href code in the title field?

No, you have to change the story template files.

bye, Dirk
 Quote

Status: offline

inspiremin

Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
Thanks, Dirk!

Lestat sent me his storytext file.

Thanks both for your help.

inSPIREmin
www.Scripturetoolkit.com www.inSPIREministries.com
 Quote

All times are EDT. The time is now 02:26 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content