Welcome to Geeklog Saturday, May 08 2021 @ 10:24 pm EDT

Geeklog Forums

Font page items


Status: offline

trampoline

Forum User
Full Member
Registered: 24/02/06
Posts: 392
I would like to remove the links at the bottom of items on the front page but keep them when the main story is viewed... How can I do that.
I.e. on the index page you see all the stories...
I want the bottom stuff out comments etc... and have it all there when you read the full story, I am finding people get confused on a site they visit quickly and think the intro is the whole story ...Because of the bits at the bottom of the intro...
Thanks...
 Quote

Status: offline

matthewcox

Forum User
Junior
Registered: 11/12/03
Posts: 31
Location:Asheville, North Carolina
Pretty simple. Edit storytext.thml, featuredstorytext.html, and archivedstorytext.html in your layout directory. These are the templates for how introtext is displayed

The full article uses article.thml

Arrow Read the Docs for theme develepoment at http://www.geeklog.net/docs/theme.html

This is the section you want to edit(don't delete the readmore_link part)
PHP Formatted Code
    <div class="story-footer">
        {edit_link}&nbsp;{page_selector}<br />        {readmore_link} {post_comment_link}<br />        {start_comments_anchortag}{comments_with_count}{end_comments_anchortag} {start_trackbacks_anchortag}{trackbacks_with_count}{end_trackbacks_anchortag}
    </div>
 
 Quote

All times are EDT. The time is now 10:24 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