News:

Support the VirtueMart project and become a member

Main Menu

Custom Fields Drop Down - Not Dropping Down

Started by rasl, March 13, 2015, 18:02:51 PM

Previous topic - Next topic

rasl

Hi, I have upgraded to VM 2.6.12 then tried VM 2.6.14 and VM 2.6.16 and none of these seem to have custom fields installed. My host is siteground. Joomla 2.5

When I go to the custom fields type and click on the drop down menu nothing happens. I desperately need help. I purchased a plugin that requires custom field type to be set to "plugin" but I cannot chose any custom field type whatsoever. Any suggestions?

Any assistance would be appreciated.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

rasl

I figured out a strange work-around. The template I got initially was designed to work with VM 2.6 which is why I never upgraded to VM 3.0. (Upgrading to VM 3.0 causes my product images to disappear in details view and some other plugins I have are not compatible with VM 3.0 which I why I won't keep it).

I upgraded to VM 3.0 and the custom fields menu is there under the main VM admin tab on the left. I realize that for whatever reason this is invisible in VM 2.6.12. Only the square boxes on the right with product, product categories, vendors, config, etc.

So after I upgraded to 3.0 I added custom fields then reverted to VM 2.6.12. The custom fields menu and all other options under the word "Virtuemart" disappear again. But this time when I go to products I can see the fields that I added in VM 3.0 still appearing in VM 2.6.12. I'm just not able to add any new custom fields.

For whatever reason that useful menu that is in VM 3.0 under the left tab under the VirtueMart logo is missing in my VM 2.6.12. Any ideas on how to get it back?

Thanks

rasl

BTW - Installing AIO did not make any difference either.

rasl

I found this on another forum. The reason I was not able to have a drop-down was because I was not able to add a new custom field. The reason I was not able to add a new custom field was due to the menu being missing in the Virtuemart admin panel. Thanks to this user I went to phpMyAdmin and set the "is_Admin" from 0 to 1 and all the menus on the left appear under the virtuemart logo. Wonderful. Thanks everyone.





Quote from: KaosVJ on January 21, 2015, 18:30:00 PM
OK, after a whole afternoon I discovered what was causing this problem.

Did none of the solutions above work?
Did this start happening to you after a backup restore or database migration?

The problem is within the #__virtuemart_modules table. Check the "is_admin" column, is everything set to 0? There, you found it.

At least these rows should have the "is_admin" column set to 1:

1, 'product'
2, 'order'
3, 'manufacturer'
4, 'store'
5, 'configuration'
8, 'store'
11, 'tools'
13, 'zone'

How does it happen? For some reason the table structure makes it that the value of that field (an "enum" one) isn't correctly set if it's exported and then imported, even though the values are correct in the sql dump file.

Hope this helps you.