- Posts: 28
COMMUNITY FORUM
De-select the Gender of an author
- YannisDr
- Topic Author
- Offline
- Junior Member
Less
More
10 years 8 months ago #123163
by YannisDr
De-select the Gender of an author was created by YannisDr
How can I deselect an author's gender?
There is no specific person writing in the blog (just the name of the website is showing) so I wouldn't want to show the Greek version of saying "written by" (which also indicates the gender). There is a way doing it through language files, but I 'd prefer leave them intact as there may be an author in the future.
Thanks
There is no specific person writing in the blog (just the name of the website is showing) so I wouldn't want to show the Greek version of saying "written by" (which also indicates the gender). There is a way doing it through language files, but I 'd prefer leave them intact as there may be an author in the future.
Thanks
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
- Offline
- Platinum Member
- Joomla Developer
10 years 8 months ago #123164
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic Re: De-select the Gender of an author
You can hide the author from the options section on the right when you edit a category from the backend.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- YannisDr
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
10 years 8 months ago #123165
by YannisDr
Replied by YannisDr on topic Re: De-select the Gender of an author
That solution would be good if I could choose a specific author to be hidden. However, maybe another author will want his/her name to be shown.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 8 months ago #123166
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: De-select the Gender of an author
You can override the language stings of K2 or comment out the following code
Hint: It might differ a bit between item.php, category_item.php etc..
To locate these files please read: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
<?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
Hint: It might differ a bit between item.php, category_item.php etc..
To locate these files please read: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.