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
Editing the "Home' Link
Author Message
Reply with quote
Post Editing the "Home' Link 
How do I point the "Home" hyperlink under the Company Info heading on the main page to a different place. I have a webpage pointing to the cart, but want to be able to use the Home button to return to the website as well as just clicking the back button.

Thanks in advance for any help. :D

View user's profile Send private message
Reply with quote
Post RE: Editing the "Home' Link 
hell-o
there are two ways to do this.
1- remove the script and hard code the links and name them what you want.
2- leave the script. just before the script add the link to your home page and name it "Home". then go to the agora.cgi file and open it in notepad. scroll down to the second to the last sub and see this line:

$cartlinks = "<a href=\"$sc_store_url?cart_id=$cart_id\" style=\"text-decoration: none\">Home</a>\n";

change it to this:

$cartlinks = "<a href=\"$sc_store_url?cart_id=$cart_id\" style=\"text-decoration: none\">Store Front</a>\n";

in otherwords just change it from Home to Store Front. nothing else.
besure to download and upload this file via ftp in ascii. or, you can edit with your ftp client . but besure you're in ascii when you do.

regards,
dan

Reply with quote
Post  
Dan,

Thanks for the help. I am a bit crosseyed from working on this cart now, so I will try what you mentioned tomorrow or Monday. Again Thanks !! :D

View user's profile Send private message
Reply with quote
Post  
the other option:

create an html page that forwards toteh page you want as the "home" page. name it sumtin like: Main_Site_Home.html

then place in the html directory... it will automatically be in the menu next time cart is visited

ME


_________________
Vote Mister Ed for Prez 2012, for a REAL change.

Need Low Cost Startup Option? Try NiftyPay's Pay to Play
http://www.NiftyPay.com
View user's profile Send private message Visit poster's website
Reply with quote
Post  
ok three ;-)
dan

Reply with quote
Post  
erm yeah i was wanting to change the home link to to my home page url so i edited the link and made sure i uploaded it into ascii but as soon as i did that the page turned into a INTERNAL SERVER ERROR
Please Help

View user's profile Send private message
Reply with quote
Post RE: home page link 
hell-o
you must remove the entire script and replace with a plain html link.

cart_footer.inc

<INPUT TYPE="IMAGE" NAME="continue_shopping_button" VALUE="Continue Shopping" SRC="%%URLofImages%%/continue_shopping.gif" BORDER="0">

<a href="http://www.domain.com"><image src="agora.cgi?picserve=continue_shopping.gif"></a>

something to that effect.
regards,
dan

Reply with quote
Post  
well I was in the agora.cgi and I changed line 1604 from this

Code:
  $cartlinks = "<a href=\"$sc_store_url?cart_id=$cart_id\" style=\"text-decoration: none\">Home</a>\n";
 


to this

Code:
   $cartlinks = "<a href=\"http://www.fieldsofgold.co.uk\" style=\"text-decoration: none\">Home</a>\n";


error apeared so I put it back to its original and now there is a internal server error.
I used Cpanel to instal agora cart if that helps

View user's profile Send private message
Reply with quote
Post RE: home page link 
hell-o
at a glance the script looks ok. however, if you're downloading and uploading any pl, cgi, lib or any other plain text files with "unusual" extensions with cpanel then you will corrupt them. cpanel doesn't know these are plain text and uploads them in binary by default.
so, use ftp only to upload and download your store files. all store files except images xfer in ascii. images in binary.
try ftp and if you still have errors post back.
regards,
dan

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