- Posts: 66
COMMUNITY FORUM
K2 RSS Feed: How to show category in title?
- burnyourears
- Topic Author
- Offline
- Senior Member
Less
More
10 years 6 months ago #126538
by burnyourears
K2 RSS Feed: How to show category in title? was created by burnyourears
Hi,
does anyone know if it's possible to show the category or the sitename in the title of a RSS posting?
For example, here's the status quo:
RSS title now: "Metallica post news video"
I want to have it like that: "Metallica post new video | News"
Thank you for any help!
does anyone know if it's possible to show the category or the sitename in the title of a RSS posting?
For example, here's the status quo:
RSS title now: "Metallica post news video"
I want to have it like that: "Metallica post new video | News"
Thank you for any help!
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #126539
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: K2 RSS Feed: How to show category in title?
Hi. No, the title of the item is being displayed as it is.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- burnyourears
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
10 years 6 months ago #126540
by burnyourears
Replied by burnyourears on topic Re: K2 RSS Feed: How to show category in title?
Thanks for answering - and there is no way to edit the generator-script or something?
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #126541
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: K2 RSS Feed: How to show category in title?
Of course if you are familiar with PHP you can edit files. But this is not a good practice since you will lose your modifications in future updates. If you insist doing this you can hack the file /components/com_k2/views/itemlist/view.feed.php.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #126542
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: K2 RSS Feed: How to show category in title?
And just to clarify, you can override any part of Joomla! using a system plugin if you are familiar with the Joomla! API docs.joomla.org/How_to_override_the_component_mvc_from_the_Joomla!_core.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- burnyourears
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
10 years 6 months ago #126543
by burnyourears
Replied by burnyourears on topic Re: K2 RSS Feed: How to show category in title?
Ok thanks - I'm not a programmer so it would be a little bit too hard for me to biuld a plugin :-)
But I will have a look at the mentioned file. Thanks very much!
But I will have a look at the mentioned file. Thanks very much!
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #126544
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: K2 RSS Feed: How to show category in title?
I understand that you are not a programmer but i sent you this because it's the recommended way. If you edit directly the K2 file you will lose your changes in future updates as i told you. But it's all up to you.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.