The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Setting table width in cart display
Author Message
Reply with quote
Post Setting table width in cart display 
The Store Layout Manager lets you set some attributes of the Cart Contents Table, but not the table width. I want the table of the cart contents to be the same width as my header and footer. I assume I can set the table width somewhere within library/agora.setup.db but I can't figure out where that line of code is!

Thanks
Kevin

View user's profile Send private message
Reply with quote
Post  
looking in the wrong file. it's the agora_order_lib.pl file. look for table structures; table tags in particular. you can add some text to the table tag(s) one at a time then browse through the pages the sub routines refer to in your store. check the browser's source of the page to see if the text shows up. for example if you find a sub called cart_display and there is a table tag then add hi to the tag contents...

<table [possibly some attributes here] hi>

the "hi" will not break the script nor the table structure and will display in the source of the rendered page and not displayed in the rendered page. this will tell you whether or not this particular table tag is indeed the one that controls the overall width of the display.
d

Reply with quote
Post  
Quote:
Moderator edited post to remove cart_id: Please do not post the cart ID in the store URL.

I too am having a problem trying to widen the table on the view cart page via the agora_order_lib.pl file.
See here http://www.northweststuff.com/store/agora.cgi?dc=1
I have scoured the code on the lib file and tried to modify the table tags I found at lines 586, 649 and 717 but can not widen the table. Do you have any more suggestions?
Rebecca
WineryWebMaster

View user's profile Send private message
Reply with quote
Post  
Rebecca,
You've got some info in your header file that needs to be removed.
Namely:
Code:
<body text=#000000 Link=#ffffff vlink=#cdb5cd" bgcolor="#cdb5cd">

AND
Code:
<style type="text/css"><!--
a:link {
   color: #FFFFFF;
}
a:visited {
   color: #FFFFFF;
}
-->
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>

<body>

AND
Code:
</body>

For proper placement of the body tag info, that get's set up in the manager -> Store Layout
For the CSS, review the info in the following thread:
http://www.agoraguide.com/faq/viewtopic.php?t=1156
---------------------------------------

The major problem with your table width lies in your header file...
The 1st table is set at a width of 500
Then the next opening tale tag the width is 100
the 1st td tag of that table is set to 145, which is wider that the table's set width.
Then the next td tag is set to 500

Your product page is set to have a 770 width
These table widths are NOT adding up properly.
All of your table widths need to add up the the very 1st table on the page.
You have to rethink your web design and get your html set up properly, instead of trying to go in and change things in core files.
For working with headers and footers, check out this thread:
http://www.agoraguide.com/faq/viewtopic.php?t=1310

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Thank you! I only get to work on this every few days or two, so that when I go back I have to rethink things. I will change the code to reflect your advice.
Rebecca
Winery WebMaster

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum