Print & Email

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Aug 23, 2013 12:57 pm
Reply with quote
Report this post
How can I change the text of print a email articles for icons?
User avatar
Fresh Boarder

GK User
Fri Aug 23, 2013 3:52 pm
Reply with quote
Report this post
Hi,
are you talking about that ?
User avatar
Platinum Boarder

GK User
Fri Aug 23, 2013 3:58 pm
Reply with quote
Report this post
If yes, this part of code you will find here: templates/gk_shop_and_buy\html\com_content\article\default.php
Code: Select all
<li class="itemPrintEmail">
            <?php if (!$this->print) : ?>
               <?php if ($params->get('show_print_icon')) : ?>
                  <?php echo preg_replace('@<img.*?alt="(.*?)".*?\/>@mis', '$1',JHtml::_('icon.print_popup',  $this->item, $params)); ?>,
               <?php endif; ?>
      
               <?php if ($params->get('show_email_icon')) : ?>
                  <?php echo preg_replace('@<img.*?alt="(.*?)".*?\/>@mis', '$1',JHtml::_('icon.email',  $this->item, $params)); ?>
               <?php endif; ?>


you have to customize this to insert <img src=" "> for your Print/Email images
User avatar
Platinum Boarder

GK User
Fri Aug 23, 2013 4:04 pm
Reply with quote
Report this post
But if you want to just rename it search those phrases here: language/en-GB/en-GB.ini

Code: Select all
JGLOBAL_PRINT="Print"
JGLOBAL_EMAIL="Email"


or use your language .ini file.
User avatar
Platinum Boarder

GK User
Fri Aug 23, 2013 4:28 pm
Reply with quote
Report this post
Perfect, thank you
User avatar
Fresh Boarder


cron