Front end Edit / Print / Email text no longer showing

September 2015 Joomla Template
GK User
Wed Feb 15, 2017 6:37 pm
Hi.
Hope you can help. I am working in Technews Template, Joomla version, 3.6.5.
I need the site to be editable to via the frontend.

http://www.perthshirecyclesportive.co.uk/

Articles are set global to "Show" Icons / Print / email/hits but still not seeing edit when logged in.
Look forward to your reply
Ellen :]
User avatar
Fresh Boarder

teitbite
Mon Feb 20, 2017 9:53 am
Hi

Please send me an access to Your site so I'll be able to log in and see. Please also tell me an url to the page where You are trying to use this edit option. And finally send me an access to ftp so I'll be able to apply a fix.
User avatar
Moderator

GK User
Tue Mar 14, 2017 12:11 pm
Hi. Just wondering if you got my private messages with all the info, sent them a couple of times
Cheers
Ellen :]
User avatar
Fresh Boarder

teitbite
Sat Mar 18, 2017 12:05 pm
Hi

No, sorry. Can't see any message from You. Please send it to my email [email protected] I think there is a problem with my PM :(
User avatar
Moderator

GK User
Mon Mar 20, 2017 3:54 pm
Hi ,
That's me sent an email
Cheers
Ellen :]


teitbite wrote:Hi

No, sorry. Can't see any message from You. Please send it to my email [email protected] I think there is a problem with my PM :(
User avatar
Fresh Boarder

teitbite
Wed Mar 22, 2017 2:56 pm
Hi

Mail and print links were moved to sharing section as seen on screen. I've edited file: /html/com_content/article/default.php and removed code:

Code: Select all
            <?php if ($params->get('show_email_icon')) : ?>
            <?php echo preg_replace('@<span class="icon-envelope"></span>(.*?)</a>@mis', '<i class="micon">email</i></a>', preg_replace(array('@<img.*?alt="(.*?)".*?\/>@mis', '@href=@'), array('$1', 'class="email" href='),JHtml::_('icon.email',  $this->item, $params))); ?>
            <?php endif; ?>
            
            <?php if ($params->get('show_print_icon')) : ?>
            <?php echo preg_replace('@<span class="icon-print"></span>(.*?)</a>@mis', '<i class="micon">print</i></a>', preg_replace(array('@<img.*?alt="(.*?)".*?\/>@mis', '@href=@'), array('$1', 'class="print" href='), JHtml::_('icon.print_popup',  $this->item, $params))); ?>
            <?php endif; ?>


below:

Code: Select all
            <?php if ($params->get('show_hits')) : ?>
            <li class="item-hits">
               <meta itemprop="interactionCount" content="UserPageVisits:<?php echo $item->hits; ?>" />
               <?php echo JText::sprintf('TPL_GK_LANG_HITS', $this->item->hits); ?>
            </li>
            <?php endif; ?>


I've added:

Code: Select all
            <?php if ($params->get('show_email_icon')) : ?>
            <li>
               <?php echo JHtml::_('icon.email',  $this->item, $params); ?>
            </li>
            <?php endif; ?>
            
            <?php if ($params->get('show_print_icon')) : ?>
            <li>
               <?php echo JHtml::_('icon.print_popup',  $this->item, $params); ?>
            </li>
            <?php endif; ?>


Can't see changes unfortunately. Please try clear cache of a joomla or server.
User avatar
Moderator

GK User
Mon Mar 27, 2017 11:34 am
Hi.
That is brilliant. Works a treat.
Thank you so much for your help.
Ellen :]


teitbite wrote:Hi

Mail and print links were moved to sharing section as seen on screen. I've edited file: /html/com_content/article/default.php and removed code:

Code: Select all
            <?php if ($params->get('show_email_icon')) : ?>
            <?php echo preg_replace('@<span class="icon-envelope"></span>(.*?)</a>@mis', '<i class="micon">email</i></a>', preg_replace(array('@<img.*?alt="(.*?)".*?\/>@mis', '@href=@'), array('$1', 'class="email" href='),JHtml::_('icon.email',  $this->item, $params))); ?>
            <?php endif; ?>
            
            <?php if ($params->get('show_print_icon')) : ?>
            <?php echo preg_replace('@<span class="icon-print"></span>(.*?)</a>@mis', '<i class="micon">print</i></a>', preg_replace(array('@<img.*?alt="(.*?)".*?\/>@mis', '@href=@'), array('$1', 'class="print" href='), JHtml::_('icon.print_popup',  $this->item, $params))); ?>
            <?php endif; ?>


below:

Code: Select all
            <?php if ($params->get('show_hits')) : ?>
            <li class="item-hits">
               <meta itemprop="interactionCount" content="UserPageVisits:<?php echo $item->hits; ?>" />
               <?php echo JText::sprintf('TPL_GK_LANG_HITS', $this->item->hits); ?>
            </li>
            <?php endif; ?>


I've added:

Code: Select all
            <?php if ($params->get('show_email_icon')) : ?>
            <li>
               <?php echo JHtml::_('icon.email',  $this->item, $params); ?>
            </li>
            <?php endif; ?>
            
            <?php if ($params->get('show_print_icon')) : ?>
            <li>
               <?php echo JHtml::_('icon.print_popup',  $this->item, $params); ?>
            </li>
            <?php endif; ?>


Can't see changes unfortunately. Please try clear cache of a joomla or server.
User avatar
Fresh Boarder

teitbite
Fri Mar 31, 2017 12:59 pm
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.