-
AuthorPosts
-
May 16, 2010 at 5:00 pm #151106
Hi Guys,
On the product browse page of JA_Mesolite_II, the button that allows the user to sort products either by ascending or descending order is not working. On clicking it the ordering does not change. The button relates to a JavaScript:
javascript: document.order.DescOrderBy.value=
It isn’t just my site, I’ve checked this on the Joomlart demosite and it doesn’t work either. This can be seen on the following page:
Any help on getting this fixed would be most appreciated.
Thanks,
Phil:)Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 18, 2010 at 9:09 am #343911Dear Phil!
Thanks for reporting
i create a issue on this, our developers ‘ll check and resolve this issue
Thanks
May 22, 2010 at 11:25 am #344324Thanks tienhc. Is there a way I can trace the progress of this? I kind of need this fixed quite soon.
Thanks,
PhilSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 24, 2010 at 2:05 am #344479Dear Phil!
Here is the solution
Pls open the file: components/com_virtuemart/themes/ja-mesolite/templates/browse/includes/browse_orderbyform.tpl.php and try to find codes at line 12:
[PHP]echo mm_writeWithJS(‘ <input type=”hidden” name=”DescOrderBy” value=”‘.$asc_desc[0].'” /><a href=”javascript: document.order.DescOrderBy.value=”‘.$asc_desc[1].'”; document.order.submit()”><img src=”‘. $mosConfig_live_site.”/images/M_images/$icon” .'” border=”0″ alt=”‘. $VM_LANG->_(‘PHPSHOP_PARAMETER_SEARCH_’.$asc_desc[0].’ENDING_ORDER’) .'” title=”‘.$VM_LANG->_(‘PHPSHOP_PARAMETER_SEARCH_’.$asc_desc[0].’ENDING_ORDER’) .'” width=”12″ height=”12″ /></a>’,[/PHP]
replace:
[PHP]echo mm_writeWithJS(‘ <input type=”hidden” name=”DescOrderBy” value=”‘.$asc_desc[0].'” /><a href=’javascript: document.order.DescOrderBy.value=”‘.$asc_desc[1].'”; document.order.submit()’><img src=”‘. $mosConfig_live_site.”/images/M_images/$icon” .'” border=”0″ alt=”‘. $VM_LANG->_(‘PHPSHOP_PARAMETER_SEARCH_’.$asc_desc[0].’ENDING_ORDER’) .'” title=”‘.$VM_LANG->_(‘PHPSHOP_PARAMETER_SEARCH_’.$asc_desc[0].’ENDING_ORDER’) .'” width=”12″ height=”12″ /></a>’,[/PHP]Good luck
1 user says Thank You to Saguaros for this useful post
May 24, 2010 at 7:43 pm #344569Thanks tienhc! That has sorted me out! Thanks for looking at this.:)
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by phildegruchy 14 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum