Welcome to Geeklog, Anonymous Thursday, January 09 2025 @ 05:33 am EST

Geeklog Forums

where to disable stories count


bob

Anonymous
i want to disable the option views in the tp of the story

is it possible to hide it and where to do that, i searched thru config and didnt find anything
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
take a look at the template files:
storytext.thtml
featuredstorytext.thtml
archivestorytext.thtml

you should be able to comment out what variable(s) you don't want to appear.

Recently I did work on a site where the client wanted the readmore, but not the word count. I had to comment out a bit of code in lib-story.php for that because the "readmore" variable included the word count.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by machinari: Recently I did work on a site where the client wanted the readmore, but not the word count. I had to comment out a bit of code in lib-story.php for that because the "readmore" variable included the word count.

This can be done without hacking lib-story.php:
Text Formatted Code
{start_readmore_anchortag}{lang_readmore}{end_readmore_anchortag}
 

Displays the "read more" link without the word count (and nothing at all, if there's nothing more to read).

bye, Dirk
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
yeah, I was uh... just testin' ya. that's it! yeah.. Wink
 Quote

All times are EST. The time is now 05:33 am.

  • 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