| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Change Detailed Image Background Color? How? Please | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Change Detailed Image Background Color? How? Please
Hello Group
I did not want to tag on staggerd image section. What I wanted to know is how to make that page black instead of white? The page is: File: /modules/Detailed_Product_Images/product_images.tpl it starts out with: {* $Id: product_images.tpl,v 1.10 2003/08/11 10:45:10 svowl Exp $ *} {if $images ne ""} {capture name=dialog} <div align=center> {section name=image loop=$images} My guess is that we must be in a table. However, where is the start of this table so I can set the background to black? I added some text above <div align=center> and it shows up above the image so I know I have part of the page. I do not know where the previous section ends. That is where I think the background color may be changed?
__________________
Staying To The Right But Left of Rush X-cart Current version: 4.4.2 X-cart Current version: 4.4.1 X-cart Version 4.0.14 X-cart Version 4.1.6 Litecomm Version: 2.2.35 Operating System Linux PHP Version 5.2.14 Apache/2.2.16 (Unix) MySQL client version: 5.091 |
|||||||||
#2
|
|||||||||
|
|||||||||
look in customer/main/product.tpl
Tpl files aren't always pages. A page in X-cart is usually made up of several template files. Try using Webmaster mode to see a grahical "tree" type representation of which templates are embedded in which. |
|||||||||
#3
|
|||||||||
|
|||||||||
Hello adpboss
I used webmaster mode to find the page. I also deleted the page to make sure I had the coorect one. It is the correct page. I could not find it following the tree. It must be there? Maybe someone who has found it can give us the good word.
__________________
Staying To The Right But Left of Rush X-cart Current version: 4.4.2 X-cart Current version: 4.4.1 X-cart Version 4.0.14 X-cart Version 4.1.6 Litecomm Version: 2.2.35 Operating System Linux PHP Version 5.2.14 Apache/2.2.16 (Unix) MySQL client version: 5.091 |
|||||||||
#4
|
|||||||||
|
|||||||||
if your looking to just make the detailed images box have a black background do this for v3.5.x
Code:
all middle sections have the dialog.tpl file wrapped around them so adjusting that file will adjust all of them
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||||
|
|||||||||
Hello
That did not do the trick. But it sure change things. It put everything out of whack. It put part of the detail section in black but not the whole thing. There has to be a table somewhere or maybe it is a row.
__________________
Staying To The Right But Left of Rush X-cart Current version: 4.4.2 X-cart Current version: 4.4.1 X-cart Version 4.0.14 X-cart Version 4.1.6 Litecomm Version: 2.2.35 Operating System Linux PHP Version 5.2.14 Apache/2.2.16 (Unix) MySQL client version: 5.091 |
|||||||||
#6
|
|||||||||
|
|||||||||
I think I understand now.
If you haven't modded your product page very much, detailed images appear at the bottom of the Product Detailed Page. That area is NOT in a table. The table ends where the Product form ends. Code:
You would have to enclose Code:
in a table to be able to manipulate the background for that area only. If you go to Webmaster mode, browse to the front end and go to a product detail page, it will show you that the product_images.tpl is called from customer/main/product.tpl. Once you have that it is easy to browse through product.tpl to see where the detailed images section is and whether or not it is in a table. I hope this helps you , even a little. |
|||||||||
#7
|
|||||||||
|
|||||||||
Hello All Great Ones
As my signature suggest I am quit ignorant with xcart. In all the <tr> I tried putting <tr bgcolor="#000000"> in the following file: File: /customer/main/product.tpl I do not think the detailed image section is there. It did change the detail section but not where the detail image is When I have the detail image showing below the order description I want the backgorund of the detailed image to be black. At this site it is a 100% non modified site. So, how do you get the detailed image section that is now white to a black bacground? There is a section that is embedded with something else. All I need to do is find it!!!!!!!!!!!!!! Below is a URL of the detaied image background I would like to have black http://www.amaurydiaz.com/artwork/customer/product.php?productid=16133&cat=248&page=1
__________________
Staying To The Right But Left of Rush X-cart Current version: 4.4.2 X-cart Current version: 4.4.1 X-cart Version 4.0.14 X-cart Version 4.1.6 Litecomm Version: 2.2.35 Operating System Linux PHP Version 5.2.14 Apache/2.2.16 (Unix) MySQL client version: 5.091 |
|||||||||
#8
|
|||||||||
|
|||||||||
Please post the code of your product.tpl file here between <code> tags.
We'll look it over for you. |
|||||||||
#9
|
|||||||||
|
|||||||||
Hello adpboss & Group
This is 100% original Code:
It is like looking for a needle in a hay stack if you do not know where that section is comming from. I thank you very much for looking at this and taken your time to help me out.
__________________
Staying To The Right But Left of Rush X-cart Current version: 4.4.2 X-cart Current version: 4.4.1 X-cart Version 4.0.14 X-cart Version 4.1.6 Litecomm Version: 2.2.35 Operating System Linux PHP Version 5.2.14 Apache/2.2.16 (Unix) MySQL client version: 5.091 |
|||||||||
#10
|
|||||||||
|
|||||||||
Caucus,
It is coming from exactly where I should you. Towards the end of the product.tpl, it says include product_images.tpl. So you either need to make the change in product.tpl, or product_images.tpl. One file calls the other. That is how they are displayed. Can you post your product_images.tpl here as well please? |
|||||||||
|
|||
X-Cart forums © 2001-2020
|