- Posts: 1
COMMUNITY FORUM
Link K2 item or article to an external url
- CAG
- Topic Author
- Offline
- New Member
Less
More
10 years 11 months ago #121958
by CAG
Link K2 item or article to an external url was created by CAG
Hi all,
I'm newbie and i just want to link my article to an external URL
I mean when i click on my item, i want a redirection to an external URL instead of showing a text
Thank you for help.
CAG
I'm newbie and i just want to link my article to an external URL
I mean when i click on my item, i want a redirection to an external URL instead of showing a text
Thank you for help.
CAG
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 11 months ago #121959
by Yiota
Replied by Yiota on topic Re: Link K2 item or article to an external url
You can achieve that by using an extrafield. The extra field will hold the external URL and it will replace the actual url of the item in your lists.
You will have to create a K2 template override in order to modify the category_item.php file. Read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates on how K2 overrides work if your template doesn't use them already.
You will have to create a K2 template override in order to modify the category_item.php file. Read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates on how K2 overrides work if your template doesn't use them already.
Please Log in or Create an account to join the conversation.
- olsen
- Offline
- Elite Member
- Joomla and K2 Freelancer
10 years 11 months ago #121960
by olsen
Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details
Replied by olsen on topic Re: Link K2 item or article to an external url
Hello,
I could help you achieve this if you need some help. Please contact me for further details.
Thank you
I could help you achieve this if you need some help. Please contact me for further details.
Thank you
Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details
Please Log in or Create an account to join the conversation.
- Jose
- Offline
- New Member
Less
More
- Posts: 18
10 years 5 months ago #121961
by Jose
can you share that template?
I really need to link k2 items to external urls
Replied by Jose on topic Re: Link K2 item or article to an external url
krish kash wrote: You can achieve that by using an extrafield. The extra field will hold the external URL and it will replace the actual url of the item in your lists.
You will have to create a K2 template override in order to modify the category_item.php file. Read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates on how K2 overrides work if your template doesn't use them already.
can you share that template?
I really need to link k2 items to external urls
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 5 months ago #121962
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Link K2 item or article to an external url
@Jose
Hi. There is nothing to share. krish kash just gave you the way to do it. If you are not familiar with PHP then you probably need to hire a developer to do it for you.
Hi. There is nothing to share. krish kash just gave you the way to do it. If you are not familiar with PHP then you probably need to hire a developer to do it for you.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.