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
Table divisions on "more info" layout
Author Message
Reply with quote
Post Table divisions on "more info" layout 


View user's profile Send private message Send e-mail Visit poster's website
Reply with quote
Post  
well i'll give ya a quick pointer... when using the productPage files there is some HTML code that is generated in the agorascript-pre sections of the file.... for example the missing table tag is in that location.... i will use the productPage-4a as an example for ya..... at the top of the file is the following bit of code
Code:
<!--agorascript-pre
{
$ags_across = 4; # Number in a row
$ags_row_wd=int(100.0/$ags_across);
local ($myans)="";
if ($rowCount == (1+$minCount)) { #first one
  $ags_row_item=0;
  $ags_row_nmbr=0;
  $ags_tot_item=0;
  $myans .= '<tr><td colspan=3><table width="100%" border=1>,'."\n";
 }
$ags_row_item++;
$ags_tot_item++;
if ($ags_row_item > 1) { # last one
  if ($ags_row_item == $ags_across) {
    $ags_row_item=0; #reset counter
    $ags_row_nmbr++;
    }
  $myans .= '<td width="'.$ags_row_wd.'%" valign="top">';
 } else { #first one
  $myans .= '<tr><td width="'.$ags_row_wd.'%" valign="top">';
 }
$myans.=qq~<FORM METHOD = "post" ACTION = "%%scriptURL%%">
%%make_hidden_fields%%
<table width=100%>
~;
return $myans;
}
-->

on the 10th line of code
Code:
 $myans .= '<tr><td colspan=3><table width="100%" border=1>,'."\n";
is the start of the table for the product listing.... just do your adjustments there....

hopefully that helps ya out....

Best of Luck

Reply with quote
Post  
Thanks for the quick reply. I have already tweaked that table tag by changing the border to 0, and adding cellpadding and cellspacing values in order to get the normal product page to display like I want. If you'll click on my link, then select "Amplifiers", you'll see the layout I have. (I tweaked the 4a page, then renamed it productPage.inc) I tried bgcolor in that table tag you referenced, but it doesn't affect the search page that results when you click on "more info". (Also, removing my cellpadding and spacing values from that table tag does not affect it.) The cells are divided and I can't figure out why. I've been through the index.html, productPage, productPage-search2 and store_header inc files. Is it controlled elsewhere, or is it a PERL or CGI tweak?
I'm confused because someone posted somewhere that the productPage-search2.inc file controlled the page that results when you click on "more info", so I thought the answer would be there but I can't find it. This problem does not occur when you search with the search box. Type in "Mackie" to see what I mean. It looks like the product page when you select the "Amplifiers" category.

View user's profile Send private message Send e-mail Visit poster's website
Reply with quote
Post  
Eh, I figgered out a trick. The whole search2.inc is just a table row. I tried adding bgcolor to the tr tag, but that didn't work, so I inserted a table between the tr and closing tr tags with the background color I wanted and it worked.

View user's profile Send private message Send e-mail Visit poster's website
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