Only edit in fronted

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
Thu Mar 27, 2014 9:44 pm
Reply with quote
Report this post
The Edit button is displayed only if at least one element is active, such as Print, Email or Display date. But I would have only visible in the frontend the Edit button. How? Unfortunately I can not post any link because the site is still local.
User avatar
Junior Boarder

GK User
Fri Mar 28, 2014 12:22 pm
Reply with quote
Report this post
Do you use latest template version? I remember that've fixed this problem in one template updates.
User avatar
Platinum Boarder

GK User
Sat Mar 29, 2014 7:02 pm
Reply with quote
Report this post
Hi! I just installed the latest version - still no edit button.... I tried it with the standard template beez_20 - working...
User avatar
Junior Boarder

GK User
Mon Mar 31, 2014 9:37 am
Reply with quote
Report this post
Could you contact with me via PM? You are talking about regular Joomla! article view or about K2 item?
User avatar
Platinum Boarder

GK User
Sat Apr 05, 2014 11:40 am
Reply with quote
Report this post
bkrztuk wrote:Could you contact with me via PM? You are talking about regular Joomla! article view or about K2 item?


I'm using Joomla article and still need your help.... Template version: 3.11
User avatar
Junior Boarder

GK User
Wed Apr 09, 2014 11:10 pm
Reply with quote
Report this post
Did you get my response via PM?
User avatar
Platinum Boarder

GK User
Thu Apr 10, 2014 7:38 am
Reply with quote
Report this post
Yes, and I already sent you an answer - didn't you get it?

well, I can't tell you access details because the site is still locally hosted. but I tried it with an original installation of music state (quickstart) and already there occurs the problem.
User avatar
Junior Boarder

GK User
Fri Apr 11, 2014 8:30 am
Reply with quote
Report this post
Yes sure and I've answered you via PM.
User avatar
Platinum Boarder

GK User
Mon Apr 14, 2014 9:14 am
Reply with quote
Report this post
Please open file template/html/com_content/article/default.php and find this code :

Code: Select all
<?php if (
         $params->get('show_create_date') ||
         $params->get('show_publish_date') ||
         $params->get('show_modify_date') || 
         ($params->get('show_parent_category') && $this->item->parent_slug != '1:root') ||
         $params->get('show_print_icon') ||
         $params->get('show_email_icon') ||
         $params->get('show_category') ||
         $params->get('show_hits') ||
         ($params->get('show_author') && !empty($this->item->author))
      ) : ?>


and then replace it with :

Code: Select all
<?php if (
         $params->get('show_create_date') ||
         $params->get('show_publish_date') ||
         $params->get('show_modify_date') || 
         ($params->get('show_parent_category') && $this->item->parent_slug != '1:root') ||
         $params->get('show_print_icon') ||
         $params->get('show_email_icon') ||
         $params->get('show_category') ||
         $params->get('show_hits') ||
         $canEdit ||
         ($params->get('show_author') && !empty($this->item->author))
      ) : ?>


This should resolve your issue.
User avatar
Platinum Boarder


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