- 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!!
Hello, just to clarify, do you want to remove the latest products and instead to put an image ?eNgage wrote: - How to replace the Latest Products window with a picture ?
Can you use the Home Page contribution to achieve your desired outcome ?
http://www.opencart.com/contribution/in ... tion_id/58
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
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
Edit catalog/template/default/content/home.tpl
delete:
Add your image and text with normal html
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 } ?>
Edit catalog/template/default/module/header.tpl
To make it clickable:
Change:
To:
To change the logo image:
Overwrite the file at catalog\template\default\image\logo.png with your logo
To make it clickable:
Change:
Code: Select all
<div class="a"></div>
Code: Select all
<a href="http://www.mysite.com"><div class="a"></div></a>
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.
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.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
Qphoria, mine works with justQphoria wrote: Edit catalog/template/default/module/header.tplCode: Select all
<a href="http://www.mysite.com"><div class="a"></div></a>
Code: Select all
<a href=""><div class="a"></div></a>
After going through the forums, this one sound like one for the FAQTo change the logo image:
Overwrite the file at catalog\template\default\image\logo.png with your logo
Who is online
Users browsing this forum: No registered users and 39 guests