Latest Forum Posts
Home arrow Forum
Design Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Child List Table Align

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1612
Kitson (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Child List Table Align 3 Years, 10 Months ago  
Can anybody point me in the right direction to change the alignment of the child list table?

My child list table is right aligned which is fine in firefox, safari however in explorer this caused problems.

I have tried editing the CSS with no joy and also the shop.product_details.php and ps_product_attribute.php

Can anyone help me align the child list to the left?

Link:

http://jcbdiamond.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=357&category_id=52&manufacturer_id=0&option=com_virtuemart&Itemid=11

Many Thanks

Antony
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1613
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Child List Table Align 3 Years, 10 Months ago  
I hate to tell you this but the table is aligned left!!

I just checked your source and it is still aligned left, it s the way that IE7 handles divs and colspans.

Code: :

 <table width=100align="left"><tr><th>Description</th>



That's the line of source from your site that starts the heading line of the table!

and this is the code before that from your site.

Code: :

 <tr style="font-style:;">       <td rowspan="1" colspan="2"><hr />Application - For heavily reinforced hard aggregate concrete such as flintquartzitic aggregatesgranite and granite basaltriver gravel and reinforced concretes.<br/></td>     </tr>     <tr>       <td><br /></td>       <td colspan="2"><br /><form action="http://jcbdiamond.com/index.php" method="post" name="addtocart" id="addtocart">



and this is the line of code from ps_product_attribute.php that starts the output of the table

line 493

Code: :

 $html .= "<table width=100% align=\"left\">";



I would look to editing your flypage. Perhaps using a left aligned div to encompass the {addtocart} tag because as you can see it is aligned left!!
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1624
Kitson (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Child List Table Align 3 Years, 10 Months ago  
Hi Mark Thanls for the info, I thought I had tried everything possible with the PHP.

I will look into editing my flypage again, Do you think it would be worth converting my flypage to a table less CSS design?

Thanks again for your help.

Antony
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1808
antivir (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Child List Table Align 3 Years, 8 Months ago  
There is a bug with align in IE 6 (guess it's IE bug). No matter aling - right or left.
line 332
$td_width = "30%";
This line is for show product sku and that 30% are implemented for dropdown advanced attributes.
Tag "td" in line 767:
$html .= "<td align="right" valign="middle">";
has 30% too.
And (!!!) that 30% is implementing for add to cart button.
Please, look at first picture for IE (you can see that advanced attributes and add to cart button are inside 30%).
The second pic is for Firefox.


Mark, can you help with this?
 
 
Last Edit: 2008/06/13 20:47 By antivir.
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1809
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Child List Table Align 3 Years, 8 Months ago  
Unfortunately, no!

I no longer run IE6 and in fact, can not run IE6
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1811
antivir (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Child List Table Align 3 Years, 8 Months ago  
But clients of your site may use IE 6. This bug is in Opera too.
 
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1812
macallf (Admin)
Administrator
Admin
Posts: 655
graph
User Online Now Click here to see the profile of this user
Re:Child List Table Align 3 Years, 8 Months ago  
Well, this is a free opensource mod! Feel free to alter it.

Clients!! If they paid for it I could understand this statement, but no one is charged!

I can not run IE6 on Vista (You can with file editing and messing with settings but even then it is not stable, so I wont!) and opera is based on IE6.

The problem is those browsers do not recognise

<td colspan='0' align='right'>

Which basically says if there are columns ignore it and make 1 column and align right!

I'm not going to rewrite the routine!

I do not have the time, sorry but matter closed.
 
 
Mark
  The administrator has disabled public write access.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 653

Warning: array_walk() [function.array-walk]: The argument should be an array in /home/markfco/public_html/design/components/com_fireboard/class.fireboard.php on line 656
#1814
antivir (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Child List Table Align 3 Years, 8 Months ago  
No, Opera (http://www.opera.com/?home) has own engine (Presto).
I modified code for correct aling. May be it will be usefull for someone.
//Output Advanced Attributes
old
$html .= "</tr><tr><td><table align="right" width="100%"><tr align="right" bgcolor="$bgcolor">";
new
$html .= "</tr><tr><td colspan="4"><table align="right" width="100%"><tr align="right" bgcolor="$bgcolor">";
//Add button for Add to Cart
old
$html .= "<tr><td colspan='0'><input type="submit" style="text-align:center;background-position:bottom left;width:160px;height:35px;cursorointer;border:none;font-weight:bold;font-family:inherit;background: url('". IMAGEURL ."ps_image/".PSHOP_ADD_TO_CART_STYLE ."') no-repeat left center transparent;vertical-align: middle;overflow:hidden;" value=""
new
$html .= "<tr><td colspan='4'><input type="submit" style="text-align:center;background-position:bottom left;width:160px;height:35px;cursorointer;border:none;font-weight:bold;font-family:inherit;background: url('". IMAGEURL ."ps_image/".PSHOP_ADD_TO_CART_STYLE ."') no-repeat left center transparent;vertical-align: middle;overflow:hidden;" value=""
//get the item price
width=20%

$html .= "<td width="20%"align='left'>";

//output advances attributes
old
html .= "</tr><tr><td colspan="4"><table width="100%"><tr bgcolor="$bgcolor">";
if($check_advanced != "")
$html .= $check_advanced;
if($check_custom != "")
$html .= $check_custom;
if($check_advanced != "" || $check_custom != "")
$html .= "</tr></table></td>";

new
$html .= "</tr><tr>";
if($check_advanced != "")
$html .= $check_advanced;
if($check_custom != "")
$html .= $check_custom;
if($check_advanced != "" || $check_custom != "")
$html .= "";

list_advanced_attribute function
old
$html .= "<td align="right" valign="middle">";
new
$html .= "<td align="right" valign="middle" colspan="4">";
Thanks for your mod and your posting.
 
 
Last Edit: 2008/06/14 17:41 By antivir.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop