Cant't editi from front end


Author Message
Jason Joel

Posted: 3/15/2009
Quote message 

I have trail copy of the artisteer and when I up load to joomls every thing works great but I can not edit from the front end when logged in. no pen paper icon. Is it because it is a trail or has any body else have this problem. Whats the fix

Jason
 
jennifer

Posted: 3/15/2009
Quote message 

Check your template override files in com_content for a line like

if ($canEdit)


$metadata[] = JHTML::_('icon.edit', $this->article, $this->params, $this->access);

}


If that's in your (for example) template_name/html/com_content/article/default.php file, then the image is probably missing from the site.

Did you try a view source on the page to see if it's written to display an edit image, but not visible (i.e. file not found) or just not there at all?

--jen
www.nodwell.net
 
Jason Joelson

Posted: 3/16/2009
Quote message 

I could not find the code at all in the default.php. Do I need to put it in somewhere.


if ($canEdit) $metadata[] = JHTML::_('icon.edit', $this->article, $this->params, $this->access); }

I found this code

$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));

Jason
www.janksmedia.com


 
Peter B

Posted: 3/24/2009
Quote message 

The following worked for me.
At the start of the file Jennifer stated (template_name/html/com_content/article/default.php) was the code

<?php // no direct access
defined('_JEXEC') or die('Restricted access');

$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
?>

Changing this to

<?php // no direct access
defined('_JEXEC') or die('Restricted access');
?>

<div id="page">

<?php if (($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own')) && !($this->print)) : ?>
<div class="contentpaneopen_edit<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php echo JHTML::_('icon.edit', $this->article, $this->params, $this->access); ?>
</div>
<?php endif; ?>

gave me back editing on the front end.

Hope this helps:-)
 
David Abbott

Posted: 3/26/2009
Quote message 

I have had a similar problem in that using an artisteer template none of the normal joomla icons show up in an article. I have checked global configurations and als parameters in articles but no dice. I have inserted the code shown above into the page mentioned but it still does not work.
 
Bob

Posted: 3/29/2009
Quote message 

The marketing for Artisteer says there is no need to learn code etc and yet the forums are full of code intended as workarounds.
 
David Abbott

Posted: 3/30/2009
Quote message 

Well not everything is perfect is it. I think it is a great application and, although it could be improved, I don't mind do a little work myself. I think I have the answer to my problem from the artisteer help forum and I will post it here once I have seen if it works.
 
Peter

Posted: 3/30/2009
Quote message 

There is an option within Artisteer to add this icon in before you export

It can be found by going to the articles tab, in the header part of it is an option for edit, and then a tick box for show edit
check this and you will get your edit button
 
David Abbott

Posted: 3/31/2009
Quote message 

Yeah thanks I found that after being told about it on the artisteer help forum. All works fine now.
 
Marco

Posted: 4/9/2009
Quote message 

Quote David Abbott:

Yeah thanks I found that after being told about it on the artisteer help forum. All works fine now.


Hi David, could you please tell wheter it ist possible to add this buttons after exporting a template ?
 
Audra

Posted: 4/9/2009
Quote message 

Did anyone reported this directly to Artisteer?
 
Duilio

Posted: 4/12/2009
Quote message 

Hey guys, maybe you ignore that artisteer allow us to apply an editor icon making a template. My advice is to select every option making a template. A lot of the problems of many people are due to poor settings of joomla and artisteer. It need to take care
 
Peter

Posted: 4/14/2009
Quote message 

Quote Audra:

Did anyone reported this directly to Artisteer?

Report what?

There is no error here, make sure you select the option to add the button in before exprting

 
PHWad

Posted: 4/24/2009
Quote message 

But where can i find the option to add the button?
 
Garry

Posted: 4/26/2009
Quote message 

There is an option within Artisteer to add this icon in before you export

It can be found by going to the articles tab, in the header part of it is an option for edit, and then a tick box for show edit
check this and you will get your edit button
 
PHWAD

Posted: 4/26/2009
Quote message 

Great Garry,

That's what i was looking for. It works perect.

Thank you.
 
Gary

Posted: 7/1/2009
Quote message 

I have the same provblem. However I get the edit icon button to work on some of my websites and not on others. Need to figure this out.
 
David

Posted: 8/3/2009
Quote message 

Gary,
Garry is right. I have checked the latest Artisteer release and IF [Articles] / [Header] / [Edit] is on, then you will see the edit icon after login.

If you don't have this 'switch' on, the edit icon will not show.

If the edit icon is ON in Artisteer, I thought the icon would show all the time - just like it displays in Artisteer. Instead, this icon is only visible to Joomla users after login.
 
PHB

Posted: 11/22/2009
Quote message 

Quote David:

Gary,
Garry is right. I have checked the latest Artisteer release and IF [Articles] / [Header] / [Edit] is on, then you will see the edit icon after login.

If you don't have this 'switch' on, the edit icon will not show.

If the edit icon is ON in Artisteer, I thought the icon would show all the time - just like it displays in Artisteer. Instead, this icon is only visible to Joomla users after login.


This is absolutely right - only thing is I made some changes to the template while it was uploaded and I don't want to lose them. Is there any way I can switch on the edit button, without having to export and upload again?

Thank you !

 
Gino Whitaker

Posted: 5/20/2010
Quote message 

I've got the answer, and it's not too difficult to fix.

1. Go back to your latest template .artx file and open it
2. Go to "Articles" in the top tab menu
3. In the Header section, turn on all icons...Date, Author, Edit, PDF, Print and Email
4. Export as a new Joomla template. Export as a folder. Name it something different than the original
5. Open the folder you just created and go to html>com_content>article>default.php
6. FTP into your installed template and navigate to the same folder as above
7. Rename the default.php file on the server to default-bk.php (in case something goes wrong you have a backup)
8. Copy your new default.php file into the html>com_content>article folder on the server.
9. Log out and then log back in and you should now have front-end editing
10. Send me some money.


 
Abdul Sidike

Posted: 2/2/2011
Quote message 

:(
I've created templates with the options on and off, and its always a pain to get the overrides in Joomla to work....if they're one and you turn em off in the global config....they dont go away...if they're off in the template then they dont come on under global config....or under menu config...they only way is to do it at article level...and who wants to mess about with that.....come Artisteer get it sorted!!!!!!
 
Makor

Posted: 2/12/2011
Quote message 

I added this edit button in template and it shows OK. But the problem is with Joomla 1.6 is that it also brings hit in the article which is shown to all, even the edit button isn't. Using artisteer 3.0 beta for creating template.
 
Ijon

Posted: 6/14/2011
Quote message 

I agree with Abdul. This should be fixed. I can not see any reason why edit button should be hidden. If You want to hide it You can do this easily in joomla config.
Now, It's another time I have to fix it in one older template created with art. 2.6. Now I am using 3.0 so I have to reinstall older version (2.6) to follow the steps Gino Whitaker mentioned.
Artisteer Team fix it because hiding edit button on template level is useless and just causing troubles.