VirtueMart 3.0.12
What I'm trying to achieve is adding new menu item to the back-office likewise -
(http://i.imgur.com/ACgfp4Q.jpg)
I'm sure if it's possible, the process might be agonizing. I want to do this so I could add a new parameter to a product, which resembles manufacturers/categories list and which I could manage.
Seems possible?
it is just an entry in #__virtuemart_adminmenuentries
do something like
INSERT INTO #__virtuemart_adminmenuentries VALUES ('', 1, 0, 'My Link', 'index.php?my_url', '', 'vmicon', 0, 1, '', '', '')
I've created a new table row in the _virtuemart_adminmenuentries called "guides".
I've duplicated the administrator/views/manufacturer folder and changed it to "guides".
I've inserted the right value fields in the _virtuemart_adminmenuentries and I still get this error -
Fatal Error in maincontroller admin.virtuemart.php: Couldnt find file guides
I thought I could just display the same Manufacturer list that way and later on to override and extend it to a new database Product Guides.
What am I doing wrong? Or what could I do better?
you need a controller as well
Let's say I only want to duplicate Manufacturers, is duplicating files (controllers, views) and creating new row at database would be enough?
It seems to not work at all.
you need to write an SQL
or go to your table with phpMyAdmin for eg.
the table is XXX_virtuemart_adminmenuentries XXX is your Joomla tables prefix.
OUPS, i don't have read all.
If you need to write in table you need to use MVC so a model a view and a controller and table to use tables in Joomla.
If you don't understand what GJC Web Design worte and what i wrote, please refer to some Joomla tutorial.
And if your product guide is only a new textfield for products, you need to write a plugin or use product customfield textarea or editor, it's more logic.
Regards,
Patrick