Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 04:14 am EDT
Geeklog Forums
Disabling "Email Article to a ..."
Anonymous
Anonymous
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
2
2
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/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
3
3
Quote
Anonymous
Anonymous
Done.
Thanks
2
3
Quote
All times are EDT. The time is now 04:14 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