- Posts: 20
COMMUNITY FORUM
Hide Author area from Item / article view
- eric
-
Topic Author
- Offline
- Junior Member
Less
More
11 years 5 months ago #121236
by eric
Hide Author area from Item / article view was created by eric
im using K2 v2.6.7
When i look at an article, the Author information takes up a space on the left side,
A vertical bar / field on the page and i want to remove that.
Already below the TITLE and next to CATEGORY / RATING is "Written by" and i really dont need more then that.
I would liike to use all theavailable space below for the article content but id need to remove the AUTHOR informatiom from that view area.
When i look at an article, the Author information takes up a space on the left side,
A vertical bar / field on the page and i want to remove that.
Already below the TITLE and next to CATEGORY / RATING is "Written by" and i really dont need more then that.
I would liike to use all theavailable space below for the article content but id need to remove the AUTHOR informatiom from that view area.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 5 months ago #121237
by Yiota
Replied by Yiota on topic Re: Hide Author area from Item / article view
Hello,
All of your issues can be handled by CSS. A link to your page would be helpful to understand what spaces you need to remove.
For the "Written by" definition you will have to create a K2 template override (read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates how the overrides work and comment out this linefrom the item.php file.
All of your issues can be handled by CSS. A link to your page would be helpful to understand what spaces you need to remove.
For the "Written by" definition you will have to create a K2 template override (read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates how the overrides work and comment out this line
<?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
Please Log in or Create an account to join the conversation.
- Jim
-
- Offline
- New Member
Less
More
- Posts: 2
10 years 9 months ago #121238
by Jim
Replied by Jim on topic Re: Hide Author area from Item / article view
OK, I am reading this now and I have tried to simply TOGGLE OFF everywhere I could find to do this. It works fine globally with any Joomla template I have ever used by turning it off in Article Manager > Options.
I guess I am lost, as the thing is? I will be using Multiple templates possibly in this site I want to do, so I need to create over rides for each and every template? I am using Rocket Theme for (2) or them now.
Thanks in advance,
Jim
I guess I am lost, as the thing is? I will be using Multiple templates possibly in this site I want to do, so I need to create over rides for each and every template? I am using Rocket Theme for (2) or them now.
Thanks in advance,
Jim
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 9 months ago #121239
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Hide Author area from Item / article view
This option is located in the category's settings.
Simply select to hide the author and/or the author details.
If that category inherits its settings from another category then you need to edit that "master" category. Category inheritance is almost the same as global options.
Simply select to hide the author and/or the author details.
If that category inherits its settings from another category then you need to edit that "master" category. Category inheritance is almost the same as global options.
Please Log in or Create an account to join the conversation.