Hi!
I have found in the components\com_virtuemart\views\category\tmpl\default.php very interesting code.
Turned it on.
$edit_link = '';
if(!class_exists('Permissions')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'permissions.php');
if (Permissions::getInstance()->check("admin,storeadmin")) {
$edit_link = '<a href="'.JURI::root().'index.php?option=com_virtuemart&tmpl=component&view=category&task=edit&virtuemart_category_id='.$this->category->virtuemart_category_id.'">
'.JHTML::_('image', 'images/M_images/edit.png', JText::_('COM_VIRTUEMART_PRODUCT_FORM_EDIT_PRODUCT'), array('width' => 16, 'height' => 16, 'border' => 0)).'</a>';
}
echo $edit_link;
But the link that appears in the category does not work.
(http://i48.fastpic.ru/thumb/2013/0617/55/5cc3b39d5ac15c65595b5559435ed655.jpeg) (http://fastpic.ru/view/48/2013/0617/5cc3b39d5ac15c65595b5559435ed655.png.html)
I see a blank sheet.
What should I do to link work?
Thank you for your help.
FE editing is not yet fully implemented. Throughout VM there are code snippets added for future developments.
http://forum.virtuemart.net/index.php?topic=79799.0
I have
Joomla! 2.5.8
Virtuemart 2.0.20b
PHP 5.3.23
Maybe you're talking about. In order not to create a new theme.
How to assign a picture for a category of product image automatically?
Is that possible?
That requires a new thread in http://forum.virtuemart.net/index.php?board=117.0 or http://forum.virtuemart.net/index.php?board=130.0 - I can't understand what you are trying to do.
OK
I am created new thread.
http://forum.virtuemart.net/index.php?topic=116537.0