Front End Edit Button Doesn't Appear

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
Wed Oct 21, 2015 4:42 pm
Reply with quote
Report this post
I want to edit my articles on the front end, which i've created 100's of sites with gavick but for the storebox template, when i login as admin, I see the pencil for modules, menus, but not for articles.

Now when I go into Article Settings and turn on show Print link, the edit button appears, but I don't want to show the print button. Also you will notice a comma after the print button which shouldn't be there anyways.

Any ideas - my site is https://server1.course-logix.com/~break ... the-course
User avatar
Senior Boarder

GK User
Wed Oct 21, 2015 7:26 pm
Reply with quote
Report this post
Hi,
StoreBox had "mixed" code in articles, opss. So just remove print button line from
gk_storebox\html\com_content\article\default.php
and all will be okay :mrgreen:
User avatar
Platinum Boarder

GK User
Thu Nov 05, 2015 8:10 pm
Reply with quote
Report this post
Can you tell me exactly what code to remove. Also it looks like it's the email button that is tied to the Edit button.

in the gk_storebox\html\com_content\article\default.php file it references the email_icon twice. At the top and on line 177.

When I try to delete the code, the site crashes.
User avatar
Senior Boarder

GK User
Thu Nov 05, 2015 8:39 pm
Reply with quote
Report this post
Remove those 173-175
<?php if ($params->get('show_print_icon')) : ?>
<?php echo preg_replace('@<img.*?alt="(.*?)".*?\/>@mis', '$1',JHtml::_('icon.print_popup', $this->item, $params)); ?>,
<?php endif; ?>

and 177-179
<?php if ($params->get('show_email_icon')) : ?>
<?php echo preg_replace('@<img.*?alt="(.*?)".*?\/>@mis', '$1',JHtml::_('icon.email', $this->item, $params)); ?>
<?php endif; ?>
User avatar
Platinum Boarder

GK User
Tue Nov 10, 2015 5:34 pm
Reply with quote
Report this post
That did it.... Thanks.
One small thing is now when i'm logged in as admin, I see the Edit button but it has a comma in front of it. anyway to get rid of the common.

Thanks
User avatar
Senior Boarder


cron