- Posts: 5
COMMUNITY FORUM
How can I add links under photoes of artikles?
- Grirory Chasovskikh
-
Topic Author
- Offline
- New Member
Less
More
10 years 8 months ago #131326
by Grirory Chasovskikh
How can I add links under photoes of artikles? was created by Grirory Chasovskikh
How can I add links in descriptions under photoes of artikles?
Please Log in or Create an account to join the conversation.
- Grirory Chasovskikh
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 8 months ago #131327
by Grirory Chasovskikh
Replied by Grirory Chasovskikh on topic Re: How can I add links under photoes of artikles?
Anybody here?
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 #131328
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How can I add links under photoes of artikles?
You can use the credits and caption field of K2's image tab.
Please Log in or Create an account to join the conversation.
- Grirory Chasovskikh
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 8 months ago - 10 years 8 months ago #131329
by Grirory Chasovskikh
Replied by Grirory Chasovskikh on topic Re: How can I add links under photoes of artikles?
Thanks. I really hope that I can. But could you describe step by step how to do it, please. I use joomla 3.
There are two fields for image. I tried to leave an active link in the field for description, but get only text of the link as a result(
There are two fields for image. I tried to leave an active link in the field for description, but get only text of the link as a result(
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 #131330
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How can I add links under photoes of artikles?
Since that field is stripping HTML tags you can use an extra field which support HTML tags.
Please Log in or Create an account to join the conversation.
- Grirory Chasovskikh
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 7 months ago #131331
by Grirory Chasovskikh
Replied by Grirory Chasovskikh on topic Re: How can I add links under photoes of artikles?
Once again.
I need to have links under images of items.
Here is the picture1.
I try to leave a link in that space,
but instead I have just a text not linkable (picture2)
Please, help to solve this problem.
I'm not a great developper, just a begginer.
I need to have links under images of items.
Here is the picture1.
Attachment not found
I try to leave a link in that space,
but instead I have just a text not linkable (picture2)
Attachment not found
Please, help to solve this problem.
I'm not a great developper, just a begginer.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 7 months ago #131332
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How can I add links under photoes of artikles?
Yes, I understood you correctly the first time,
Since hacking K2 is not a viable option I have already suggested that you use an extrafield.
You can directly render an extrafield. There are several examples in this forum.
Since hacking K2 is not a viable option I have already suggested that you use an extrafield.
You can directly render an extrafield. There are several examples in this forum.
Please Log in or Create an account to join the conversation.
- Grirory Chasovskikh
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 7 months ago - 10 years 7 months ago #131333
by Grirory Chasovskikh
Replied by Grirory Chasovskikh on topic Re: How can I add links under photoes of artikles?
You are speaking in riddles))
Could you say how to make it step by step?
Could you say how to make it step by step?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
10 years 7 months ago #131334
by Lefteris
Replied by Lefteris on topic Re: How can I add links under photoes of artikles?
@Grirory Chasovskikh
You cannot enter HTML in the image caption or credits. What Krikor suggested is to create an extra field of type "Link" or "Textarea" and then render this field in your template. Of course this requires to create a template override. You can read more regarding K2 template overrides at getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates .
You cannot enter HTML in the image caption or credits. What Krikor suggested is to create an extra field of type "Link" or "Textarea" and then render this field in your template. Of course this requires to create a template override. You can read more regarding K2 template overrides at getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates .
Please Log in or Create an account to join the conversation.