Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:06 am EST
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
6
6
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
7
8
Quote
Anonymous
Anonymous
Done.
Thanks
6
7
Quote
All times are EST. The time is now 03:06 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