Probelm in DB table of VirtueMart Search Product module

Started by patrik60, October 13, 2012, 12:17:10 PM

Previous topic - Next topic

patrik60

When selectin "No" in the option "Search Button" a 0 is written into the params field:

{"width":"16","text":"Search product","button":"0","button_pos":"right","button_text":"","moduleclass_sfx":"","cache":"1","cache_time":"900"}

This 0 is then also shown in the module in the FE. See atttached pic. "button":"0" should be empty : "button":""

Or it should be possible to uncheck "No".

[attachment cleanup by admin]

bytelord

Hello,

This one has been already fixed and will be added to the next release (probably 2.0.12c).

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

patrik60

Unfortunately it is not fixed: Now one of both options (yes or no) is always selected in the module. This means, when you had nothing selected before VM 2.0.12c it is now after updating set to "No" and the 0 is shown in the FE. No chance to prevent this now even when deleting the 0 in the DB table.

{"width":"16","text":"Search product","button":"","button_pos":"right","button_text":"","moduleclass_sfx":"","cache":"1","cache_time":"900"}

bytelord

Hello,

Is working great for me. I did that fix before a week and i test it again now with the new release. The new code have been implemented. As you can see in your example button="", so there is no way to display it.
Please clean your browser cache and retry.
Test it with both default template and custom seach template ... both are working...
btw, did you update AIO? Do you have any template overrides for seach module?
Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

patrik60

Sorry, this was my fault. I did test it with an override file instead of the new original file. Yes, it works fine! Thank you.

bytelord

Great, it have changes in module, template file and xml file also.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!