Post by eNgage » Wed Oct 08, 2008 1:18 am

- How to replace the Latest Products window with a picture ?

catalog/controller/home.php

I have removed the code in home.php, so my start page is empty.
But what is the html code/php to link a picture in the latest product window?

Another question: My logo/banner, how to make it clickable? a refer to my home page..


thanks for answers!!

Newbie

Posts

Joined
Wed Oct 08, 2008 1:12 am

Post by jty » Sun Oct 12, 2008 1:39 am

eNgage wrote: - How to replace the Latest Products window with a picture ?
Hello, just to clarify, do you want to remove the latest products and instead to put an image ?
Can you use the Home Page contribution to achieve your desired outcome ?
http://www.opencart.com/contribution/in ... tion_id/58

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by eNgage » Sun Oct 12, 2008 6:01 am

Hey mate,

Hello, just to clarify, do you want to remove the latest products and instead to put an image ?
- Correct

Can you use the Home Page contribution to achieve your desired outcome ?
http://www.opencart.com/contribution/in ... tion_id/58
- Don't think so, I just want to remove the list of the latest product and link a big home picture, with some text,
for an example a page like this: http://www.butterworms.co.uk/ hehe

Newbie

Posts

Joined
Wed Oct 08, 2008 1:12 am

Post by Qphoria » Sun Oct 12, 2008 7:26 am

Edit catalog/template/default/content/home.tpl

delete:

Code: Select all

<div class="heading"><?php echo $text_latest; ?></div> 
<?php foreach ($products as $product) { ?>
  <div class="products"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>"></a><br><b><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></b><br><?php echo $product['price']; ?></div>
<?php } ?>
Add your image and text with normal html

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by eNgage » Sun Oct 12, 2008 9:42 am

Okey, thx.

..How to replace the standard default logo as an click able link (link to the start page of the website)

Newbie

Posts

Joined
Wed Oct 08, 2008 1:12 am

Post by Qphoria » Sun Oct 12, 2008 10:22 am

Edit catalog/template/default/module/header.tpl

To make it clickable:

Change:

Code: Select all

<div class="a"></div>
To:

Code: Select all

<a href="http://www.mysite.com"><div class="a"></div></a>
To change the logo image:

Overwrite the file at catalog\template\default\image\logo.png with your logo
Last edited by Qphoria on Sun Oct 12, 2008 10:25 am, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jty » Sun Oct 12, 2008 10:48 am

eNgage wrote: - Don't think so, I just want to remove the list of the latest product and link a big home picture, with some text,
for an example a page like this: http://www.butterworms.co.uk/ hehe
The Home Page Contribution from Fido-X is a really neat way to achieve that outcome if you want to frequently change the home page. Much easier than doing it manually.
Qphoria wrote: Edit catalog/template/default/module/header.tpl

Code: Select all

<a href="http://www.mysite.com"><div class="a"></div></a>
Qphoria, mine works with just

Code: Select all

<a href=""><div class="a"></div></a>
Unless it's caching from before I made the change
To change the logo image:
Overwrite the file at catalog\template\default\image\logo.png with your logo
After going through the forums, this one sound like one for the FAQ

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by eNgage » Sun Oct 12, 2008 11:18 am

thanks guys, appreciate it

Newbie

Posts

Joined
Wed Oct 08, 2008 1:12 am

Post by Qphoria » Sun Oct 12, 2008 12:09 pm

To change the logo image:
Overwrite the file at catalog\template\default\image\logo.png with your logo
After going through the forums, this one sound like one for the FAQ
Done!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 39 guests