- Posts: 45
COMMUNITY FORUM
Add Link to the item link-bar
- Pietro Sferrino
- Topic Author
- Offline
- Senior Member
Less
More
13 years 9 months ago #93499
by Pietro Sferrino
Add Link to the item link-bar was created by Pietro Sferrino
I Guys. ^_^
Please ... Is it possible to add a link after "Video", named for instance "Map" ... Linking it to a google map ?? I hope You understand what I mean ... :o/
Thank You.
Pietro
Please ... Is it possible to add a link after "Video", named for instance "Map" ... Linking it to a google map ?? I hope You understand what I mean ... :o/
Thank You.
Pietro
Please Log in or Create an account to join the conversation.
- Pietro Sferrino
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 9 months ago #93500
by Pietro Sferrino
Replied by Pietro Sferrino on topic Add Link to the item link-bar
And I Would like to replace the texts "Print", "E-mail", "Video" etc with images.
Do You know HOW, please ??
Many Thanks.
Pietro ^_^
Do You know HOW, please ??
Many Thanks.
Pietro ^_^
Please Log in or Create an account to join the conversation.
- Pietro Sferrino
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 9 months ago #93501
by Pietro Sferrino
Replied by Pietro Sferrino on topic Add Link to the item link-bar
Please ... !! :(
I need help ... At least ... tell me in is POSSIBLE to add a personal link, or an image wiht a link in this part of the K2 item
... Thank You.
Pietro
I need help ... At least ... tell me in is POSSIBLE to add a personal link, or an image wiht a link in this part of the K2 item
... Thank You.
Pietro
Please Log in or Create an account to join the conversation.
- Olivier Karfis
- Offline
- Elite Member
13 years 9 months ago #93502
by Olivier Karfis
Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com
Replied by Olivier Karfis on topic Add Link to the item link-bar
Hi.
For replacing the text of the print, email, etc... with images, it is possible (see this template for example:
templates.joomlart.com/ja_norite/index.php?option=com_content&view=article&id=61&Itemid=111
In order to do this, you'll have to edit your item.php file, find the areas where these links are created and add an img tag in the <a> tag so that it looks something like this
around line 128:
<a class="itemPrintLink" href="<?php echo $this->item->printLink; ?>" onclick="window.print();return false;"> <img alt="<?php echo JText::_('Print'); ?>" title="<?php echo JText::_('Print'); ?>" src="templates/mytemplate/images/printbutton.png"> </a>
and so on....
As far as the personal link or IMG, I imagine that is something you need to be change on an article basis? If so then you'll probably need to create an extrafield to use as the value and then recall that field value in the area where the buttons are defined. Refer to this post for more details on how to do that:
community.getk2.org/forum/topics/output-extra-fields
--Olivier
For replacing the text of the print, email, etc... with images, it is possible (see this template for example:
templates.joomlart.com/ja_norite/index.php?option=com_content&view=article&id=61&Itemid=111
In order to do this, you'll have to edit your item.php file, find the areas where these links are created and add an img tag in the <a> tag so that it looks something like this
around line 128:
<a class="itemPrintLink" href="<?php echo $this->item->printLink; ?>" onclick="window.print();return false;"> <img alt="<?php echo JText::_('Print'); ?>" title="<?php echo JText::_('Print'); ?>" src="templates/mytemplate/images/printbutton.png"> </a>
and so on....
As far as the personal link or IMG, I imagine that is something you need to be change on an article basis? If so then you'll probably need to create an extrafield to use as the value and then recall that field value in the area where the buttons are defined. Refer to this post for more details on how to do that:
community.getk2.org/forum/topics/output-extra-fields
--Olivier
Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com
Please Log in or Create an account to join the conversation.
- Pietro Sferrino
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 9 months ago #93503
by Pietro Sferrino
Replied by Pietro Sferrino on topic Add Link to the item link-bar
FANTASTIC !! I'll try in the next days ... As soon as I can ... I'll make You know !! THANK YOU OLIVER !!!!!! ^_^ ^_^
Please Log in or Create an account to join the conversation.