Post by elmo » Thu Jan 07, 2010 1:27 pm

HI There:
I am using OC 1.3.4 & was wondering if any can help me with postitoning images in the left or right sidebars
currently I have 3 images in the right sidebar, but they are at the bottom of the page, so basiclaay I want to be able to put teh at say the top of the right sidebar before the shopping cart,
http://ultrascope4u.com/oc134dev/

Thanks in advance
Regards
Elornd
www.directit.co.nz

New member

Posts

Joined
Mon Mar 16, 2009 11:00 am

Post by Xsecrets » Thu Jan 07, 2010 1:35 pm

did you try putting them before the foreach loop in the column_right.tpl rather than after it?

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by elmo » Fri Jan 08, 2010 9:25 am

Hi there:
Sorry but yuo will need to excuse my complete stupidity & lack of knowalage I have looked at the column_right.tpl
but this is all that comes up
<div id="column_right">
<?php foreach ($modules as $module) { ?>
<?php echo ${$module['code']}; ?>
<?php } ?>
</div>
this is the default template for 1.3.4

Regards in adavnce
Elrond

New member

Posts

Joined
Mon Mar 16, 2009 11:00 am

Post by Xsecrets » Fri Jan 08, 2010 10:06 am

ok so where and how did you add the images if not in that file?

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by elmo » Fri Jan 08, 2010 11:04 am

HI There:
here is what I have done along witht the weblink
<div id="column_right">
<?php foreach ($modules as $module) { ?>
<?php echo ${$module['code']}; ?>
<?php } ?>
<img border="0" src="http://www.directit.co.nz/images/paymat ... _88x31.gif" width="88" height="31">
<img border="0" src="http://www.directit.co.nz/images/logo.png" width="133" height="31">
<img border="0" src="http://www.directit.co.nz/images/joomlalogo.png" width="133" height="31">
</div>

http://www.ultrascope4u.com/oc134dev/ca ... _right.tpl

Thanks in advance
Elrond

New member

Posts

Joined
Mon Mar 16, 2009 11:00 am

Post by Xsecrets » Fri Jan 08, 2010 11:09 am

Code: Select all

<div id="column_right">
<img border="0" src="http://www.directit.co.nz/images/paymateexpmastervisa_88x31.gif" width="88" height="31">
<img border="0" src="http://www.directit.co.nz/images/logo.png" width="133" height="31">
<img border="0" src="http://www.directit.co.nz/images/joomlalogo.png" width="133" height="31">
<?php foreach ($modules as $module) { ?>
<?php echo ${$module['code']}; ?>
<?php } ?>
</div>
like I said put them above the foreach loop.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by elmo » Fri Jan 08, 2010 11:15 am

HI There:
Thanks so much as I said I am pretty stupid when it comes to playing with things like this

New member

Posts

Joined
Mon Mar 16, 2009 11:00 am

Post by huhitschris » Sat Jan 09, 2010 9:53 am

Don't forget to close your image tags! :)

PM me for custom OpenCart template design and development.


New member

Posts

Joined
Wed Aug 19, 2009 3:12 pm

Post by saccarrep » Fri Jan 29, 2010 11:42 am

How about putting your images into a module so you don't have to modify the template code. Try using this module
http://www.opencart.com/index.php?route ... ion_id=396

Cheers ;)

Before you judge a book by its cover, you've got to flip through the pages

Image


User avatar
New member

Posts

Joined
Thu Jan 28, 2010 5:59 pm

Post by JDG » Thu Feb 18, 2010 6:11 pm

saccarrep wrote:How about putting your images into a module so you don't have to modify the template code. Try using this module
http://www.opencart.com/index.php?route ... ion_id=396

Cheers ;)
Does this module work with 1.34?

Thanks.

JDG
Newbie

Posts

Joined
Tue Feb 02, 2010 12:29 am

Post by saccarrep » Sun Feb 21, 2010 7:51 pm

JDG wrote:
Does this module work with 1.34?
I'm afraid not, but maybe i'll try to make it for 1.3.4

Before you judge a book by its cover, you've got to flip through the pages

Image


User avatar
New member

Posts

Joined
Thu Jan 28, 2010 5:59 pm
Who is online

Users browsing this forum: No registered users and 3 guests