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
Fluid product page?
Author Message
Reply with quote
Post Fluid product page? 
Currently I have the header and footer locked down with a table width based on pixel, not percent. But...I can't get the product page to sit still as well. It is based on 100% and flows with the browser window. How can I lock it down like the header and footer?

View user's profile Send private message
Reply with quote
Post RE: Fluid product page? 
hell-o
got a link? need to see the structure.
regards,
dan

Reply with quote
Post link 
http://www.californiastatesociety.org/store/agora.cgi?cart_id=2283493.4160*hn4S_8&product=Membership

View user's profile Send private message
Reply with quote
Post  
hell-o
lets clean this up before we attempt to troubleshoot the table structure. go here and read up a little on how to administer the contents that belong in the head tag and the body tag for the dynamically generated pages...:

http://www.agoraguide.com/faq/viewtopic.php?t=358

once the css and the js that belongs in the head tag is there then remove the redundant html body and head tags and the css and js from the header.inc (just the stuff that belongs in the head tag, ofcourse).

the store header doesn't need the <html><title><head><body> tags. include everything you need directly following but not including the body tag for the store_header.inc file.

the store footer.inc file doesn't need the </body></html>. however, and i haven't investigated this yet, but i have noticed that the viewcart page is lacking the </body></html> tags in at least some stores (4.0k-b). so if your store footer.inc doesn't contain the end body and end html tags and your viewcart page is missing them then go ahead and add the tags to the footer.inc. the worse that can happen is double set of tags for the productpages which wont hurt anything but you must have them in place for the viewcart page.

regards,
dan

Reply with quote
Post  
Dan wrote:
i have noticed that the viewcart page is lacking the </body></html> tags in at least some stores (4.0k-b).
Dan.. just a little FYI.... The next verison (still in progress) of the cart has resolve this.... the cart generated HTML has been cleaned up and every page is validated by the W3C Validator for html 4.01 standard.... but yes that was a misterious bug in the 4k-b verison.... sometimes it's there sometimes it's not...... either way it's been sqwished!!!!

Reply with quote
Post  
hell-o
whoohoo! tanks
regards,
dan

Reply with quote
Post Hey Dan! 
Dan: I have all the pages locked except for the actual cart that remains fluid. Any ideas?

Thanks.

View user's profile Send private message
Reply with quote
Post  
hell-o
well, you still have some stuff out of place. however this is not the cause of the wide spread havoc LOL.
look at the footer:

</table>
</td>
</tr>
</table>

</TABLE></CENTER>

</table>
</BODY>
</HTML>

there are a bunch of </td> and </tr> tags missing. when this happens it usually means that one or more </table> isn't necessary. look over your table structure and see if you can find the errors. if you haven't touched the ppinc then there's no need looking there. the errors will be in the header and footer.

regards,
dan

Reply with quote
Post  
Dan-which footer?

View user's profile Send private message
Reply with quote
Post  
hell-o
store/html/html-templates/store_header.inc and the store_footer.inc

take these two files and paste the contents into a plain text file (notepad). you can paste them into and html editor but this can get crazy depending on the editor.
once the header contents are on the top and the footer contents are on the bottom then begin isolating the table tags (<table>). obviously for every one opened one must be closed. when nesting be sure the table(s) are closed in the appropriate place. once you have the table tags blanaced (must be an even and equal number for each, then make sure the td and tr tags are opened and closed properly (an equal number for opening and closing tags as well as the sum of the tags must be even and equal). when you find out where the errors are and correct them make new header and footer. name appropriately it's case sensitive. back up your old header and footer then upload ftp in ascii. now take a look. it may be necessary to nest the ppinc but we'll deal with that when the tables are balanced.

or, if you know your editor well then paste into a blank html file and run syntax checking. watch out for older or less complex editors. they don't always understand nested tables.

regards,
dan

Reply with quote
Post  
Dan-Thanks. You are the man. Not long after the last post I found the offending table. So, in theory, the Header and footer are "one" page, split in two. Is that a good way to look at this? Thanks for all your help!

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