Welcome to Geeklog Monday, December 09 2019 @ 02:06 pm EST

Geeklog Forums

Disabling "Email Article to a ..."


I want to disable the Story Options Block when an article is displayed. I removed the code from the templates to disable it on the border of the article box (the envelope icon). But when you read the full text of the article the Story Options block appears. I would keep the printing format option but not email it to a friend. Any idea Thanks

Status: offline


Site Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
You have to hack function COM_article() in lib-common.php for that. Simply change the line that starts with $article->set_var( 'email_icon', '<a href="' ... to read $article->set_var( 'email_icon', ''); bye, Dirk


Done. Thanks

All times are EST. The time is now 02:06 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