| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Dialog.tpl table in seperate TD with 100% width | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Can someone tell me how to set the dialog.tpl in it's own <TD width="100%> so the product listings table will show up at 100% width while everything above that will show up as normal (Categories, Special and help boxes on the left and the Your Cart and Authentication boxes on the right). Or maybe I should NOT be modifying the dialog.tpl file BUT some other file. HELP PLEASE!
I tried to modify the code in the subcategories.tpl file to: Code:
NOTICE NEW TABLE. If my code is wacky, PLEASE correct me. Thank you!
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() hi imimin,
Not sure how to answer this as I haven't the code available to me at the moment. Try giving the <table > a 100% width (or a specified width in pixels) - this should open up the TD of 100% with some space to breathe. Also I can see from that snippet of code that something may not also be right. Tables should follow the form with opening and closing tags, for example... <table> (open table) <tr> (open table row) <td> (open data item) </td> (close data item) </tr> (close table row) </table> (close table) You currently have </tr></td> the wrong way round at the end of your snippet (it should be </td></tr></table>) Also you have an open <p> (paragraph) tag, it should be closed with an ending </p> tag or itself amended to <p />. In some browsers they display differently if not properly formed. Remember to back up ;D Hope this helps. Regards, Doms
__________________
Doms kube v4.1.9 |
|||||||||
#3
|
|||||||
|
|||||||
![]() ***Can someone help me here? I am just trying to increase the width of the table at the bottom of my pages that shows my product listings, KEEPING the rest of the page at the same width.
I fixed my formatting of the new table to (subcategories.tpl): Code:
and had no change in the width of the table at the bottom of my pages. I also tried giving the TD the 100% width. Maybe I am modifying the the wrong file? ***Can someone help me here? I am just trying to increase the width of the table at the bottom of my pages that shows my product listings, KEEPING the rest of the page at the same width. Thank you!
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#4
|
|||||||
|
|||||||
![]() FOR THE RECORD:
Kind of answered my own question: To accomplish the task of increasing the width of the "products.tpl" table, the following commented out code from the "subcategories.tpl" file has to be moved to appropriate areas of a new table in the "home.tpl" file: Code:
As an example, move the above commented out code to "home.tpl" as follows: Code:
This will increase the width of the "products.tpl" file to 100% of the viewing area.
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Hi imimin,
but is this dialog really not 100% width? Do you want to show product list on all page?
__________________
Regards, Anthony Holub X-Cart Skins Store ![]() - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#6
|
|||||||
|
|||||||
![]() Yes, don't you for your categories?
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#7
|
|||||||
|
|||||||
![]() Maybe using the term DIALOG was not correct-I wanted to resize the width of the products listing at the bottom of each category page (as well as any other page that could potentially return products at the bottom of the page).
__________________
Demoing v4.4.2 for new site Licensed v4.0.19 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() I'm so sorry, but I cannot understand you. Can you send me something like screenshot or mockup? I'll try to help you necessarily.
__________________
Regards, Anthony Holub X-Cart Skins Store ![]() - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
|
|||
X-Cart forums © 2001-2020
|