-
AuthorPosts
-
nefar Friend
nefar
- Join date:
- December 2007
- Posts:
- 434
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 78
- Thanked:
- 42 times in 1 posts
December 1, 2008 at 9:30 pm #135846I ran into a problem where the images for the checkout bar disappeared after upgrading to J1.58. I found two proposed fixes on the virtuemart forum. I thought I would post them here just in case anyone here runs into the same issue.
Fix 1: Open file
/components/com_virtuemart/themes/ja-mesolite/templates/checkout/checkout_bar.tpl.php
– around 30 or so find the original code:
echo ‘<table style=”background: url( ‘. VM_THEMEURL .’images/checkout/checkout’. $step_count.’_’.$current_step .’.png ) top right; background-repeat: no-repeat; height:115px;text-align:center;” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>replace with:
echo ‘<table style=”background: url(‘. VM_THEMEURL .’images/checkout/checkout’. $step_count.’_’.$current_step .’.png) top right; background-repeat: no-repeat; height:115px;text-align:center;” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>It’s hard to spot but all this fix did is remove the white space between the (‘.VM
Fix 2:
Open File:
/components/com_virtuemart/themes/mesolite/templates/checkout/checkout_bar.tpl.phpline 31 this way (surrounding URL with quotes):
Code:
echo ‘<table style=”background: url( ”. VM_THEMEURL .’images/checkout/checkout’. $step_count.’_’.$current_step .’.png’ ) top right; background-repeat: no-repeat; height:115px;text-align:center;” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>
You can find the original thread for this @ http://forum.virtuemart.net/index.php?topic=47987.0
3 users say Thank You to nefar for this useful post
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
December 3, 2008 at 7:32 am #281079Hi nefar !
I don’t see difference bettween the first and the second section code.tonyg Friendtonyg
- Join date:
- June 2008
- Posts:
- 197
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 18
- Thanked:
- 46 times in 27 posts
December 3, 2008 at 8:44 am #281089Hi Hainn84
The problem was caused by this space in the code ( ‘. VM_THEMEURL……………………………
You resolve it by closing the space (‘. VM_THEMEURL……………………………..Not easy to spot
1 user says Thank You to tonyg for this useful post
nefar Friendnefar
- Join date:
- December 2007
- Posts:
- 434
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 78
- Thanked:
- 42 times in 1 posts
December 3, 2008 at 6:50 pm #281168Yes, it is not easy to spot at all. I’m glad others catch these types of problems because I would never think to look for a spacing issue like that.
1 user says Thank You to nefar for this useful post
December 4, 2008 at 10:54 pm #281322Hi gang .. this fix worked for me … just a note 🙂 …. if you are using the JA Mesolite template
its
components/com_virtuemart/themes/ja-mesolite/templates/checkout/checkout_bar.tpl.php
December 5, 2008 at 8:35 pm #281485Hi
This fix doesn’t appear to have worked for me-just looked on the joomla site and found this thread –
http://forum.joomla.org/viewtopic.php?f=430&p=1484676When I select the image source for where the checkout image should be displayed I get this message-
‘Not FoundThe requested URL /components/com_virtuemart/themes/ja-mesolite/images/checkout/checkout4_.png was not found on this server.’
The image checkout4_.png should have a 1,2,3 or 4 after it??
Any ideas?
Thanks
Martinnefar Friendnefar
- Join date:
- December 2007
- Posts:
- 434
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 78
- Thanked:
- 42 times in 1 posts
December 5, 2008 at 10:42 pm #281497<em>@mlsuf 93730 wrote:</em><blockquote>Hi
This fix doesn’t appear to have worked for me-just looked on the joomla site and found this thread –
http://forum.joomla.org/viewtopic.php?f=430&p=1484676When I select the image source for where the checkout image should be displayed I get this message-
‘Not FoundThe requested URL /components/com_virtuemart/themes/ja-mesolite/images/checkout/checkout4_.png was not found on this server.’
The image checkout4_.png should have a 1,2,3 or 4 after it??
Any ideas?
Thanks
Martin</blockquote>Well the problem that thread talks about is not about the problem that relates to the fix I posted. So I would not expect it to work for your issue. It looks like that thread is fairly active though so I would keep an eye on it and see if someone posts a fix. You might try the virtuemart forums themselves too someone may have posted a fix there.
-
AuthorPosts
This topic contains 7 replies, has 5 voices, and was last updated by nefar 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum