>> Hello Michael;
Hello Shawn,
>>I have been working with freetrade for about 3 months now
It sure seems longer
>> and am having
>>a great deal of luck getting it working. When i do have a question I look
>>through all the code first and then through the mailing list archive,
>>only as a last result do I ask for help.
There is only one file you have to look in: modules/screens/department
>>I don't know what you mean when you say "You were just given help on how
to
>>prevent an empty shopping cart from showing up."
>From one of your messages (and Leon kindly answered):
>>> Also I do not like the blank "your cart is empty" screen, or the
>>> blank"your
>>> logged in" screen, where is the code I can change to change where the
>>> customer goes in these situations. I would like them to go to the home
>>> (welcome) page when logged in.
>>> Any thoughts?
>>Yours is the first response I have recieved about this query
because people are tired of inane questions.
>>and not very helpful I might add. The status
>>bar display nothing about what page or screen you are on.
The status bar displays what URL an HREF specifies. This equates to the
screen you are going to call. If you place your cursor over the department
link, you will see something like www.asdf.com?SCREEN=department&sid=1234
guess which file you should probably check first?
>>And the source shows nothing about the missing and/or blank screen.
>>I have spent a number of hours looking for the answer to this problem
>>with no luck.
There is no way you spent hours looking for this. The department file is 100
lines..
I'll give you some help. Check out this while loop. While there are records
to process (in your result set) it will print them out to the screen. So,
you've got to put another test in there for the situations when there are no
records in the result set. How do you do this? www.php.net Very, very
helpful site. THE site. Start poking around. Check out
http://www.php.net/manual/
while($DatabaseRow = mysql_fetch_object($DatabaseResult))
{
print("<A HREF=\"".ScreenURL("item")."&item=$DatabaseRow->ID\">");
if(($DatabaseRow->Thumbnail) AND
file_exists(ITEM_IMAGES_DIR . "/" . $DatabaseRow->Thumbnail))
{
$Thumbnail_Graphic_size = getimagesize(ITEM_IMAGES_DIR . "/" .
$DatabaseRow->Thumbnail);
print("<IMG SRC=\"" . ITEM_IMAGES_DIR . "/" .
$DatabaseRow->Thumbnail .
"\"");
print(" $Thumbnail_Graphic_size[3] BORDER=\"0\"
ALIGN=\"left\">\n");
}
print("<B>$DatabaseRow->Name</B>");
print("</A>");
print("<BR CLEAR=\"all\">\n");
print("<BR>\n");
}
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]