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
Company Info in store header.inc?
Author Message
Reply with quote
Post Company Info in store header.inc? 
Can anyone tell me whether the contents under the "company information" (which can also be found in the default agora welcome page) is in the store_header.inc file?
I have tried to edit that portion but cant seems to find it! Rolling Eyes


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
What are you wanting to change? The links or the actual files?
These are dynamic links created by code in the store_header.inc files.

The actual files called by the links are found in the 'html' directory of the store.
They are named like the link names.
IE: the "About Us" link is handled by the "About_Us.htm" file.

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  
I will like to change the font style of the text links under the company info.
Can you advise me on where is the links located in the store_header? I have went through the source and a slight change here and there caused the whole source to become corrupted. Embarassed


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
You can change the following from:
Code:

 &cartlinks;
  print "<font face=Arial size=2>";


To something like this:
Code:

 &cartlinks;
  print "<font face=\"comic sans ms\" size=3>";


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  
is it possible to change it to the link to my style sheet? If not, can I take away the whole chunk and hardcode the links in?


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
Yes, you can delete the chunk of code and hard code the links...
I actually think that might be the easier route, since the cartlink control code is in the core files....


_________________
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  
Along the same lines, I tried to hard code in new links to static pages for my site, but every time I went to one of my product pages, it pushed the entire products table way down the page. I tried simply removing the entire cartlinks code and that didn't work. I tried just removing the print cartlinks line, and that didn't work. Each time I removed the dynamic cartlinks generating code, it threw off the positioning of my products.

Any ideas/clues? Or do you need more info?

View user's profile Send private message
Reply with quote
Post  
Need a URL so we can see what is happening...


_________________
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  
http://www.pipershaven.com/Cigars.htm

The problem is happening when I try to change the "Company Info:" area. Currently the content for that is being dynamically generated and everything is placed correctly, I was trying to hardcode the links or simply remove them and that's when the placement problems started.

View user's profile Send private message
Reply with quote
Post  
The links are built based on the files in the 'html' directory of the store.
IE: The About_Us.htm file creates the About Us link.

To hard code your links, yoiu will need to entirely remove the following from the store headers:
Code:

<!--agorascript-pre
&capture_STDOUT;
&cartlinks;
  print "<font face=\"Arial\" size=\"2\">";
$cartlinks =~ s/<br>/<br>&nbsp;&nbsp;/ig;
# take make links underlined
$cartlinks =~ s/style=\"text-decoration: none\"//ig;
# to layout horizontally with 3 spaces
# $cartlinks =~ s/<br>/&nbsp;&nbsp;&nbsp;/ig;
# to layout horizontally with | dividers spaces
# $cartlinks =~ s/<br>/&nbsp;&nbsp;|&nbsp;&nbsp;/ig;
print "&nbsp;&nbsp;";
print $cartlinks;
  print "</font>";
&uncapture_STDOUT;  -->


Then just put in its place the links you want, something like:
Code:

<br><br>&nbsp;&nbsp;<a href="http://www.domain.com/mypage.html">My Page</a>


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  
I'll give that a try and see how it turns out. Thanks for the help.

View user's profile Send private message
Reply with quote
Post  
Nope. Sad Still not working as intended. I've left the page in the edited state so you can see what it's doing. I am thinking I may just have to bite the bullet and simply remove the links on the sidebar completely and not have any there.

View user's profile Send private message
Reply with quote
Post  
Looks like it is working....
However, the problem I am seeing is that whatever you used to edit the file auto-completed some stuff and messed up the layout.
You need to remove the following stuff from the store header file:
Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!--BEGIN HEADER TABLE-->
  <title>Piper's Haven Online</title>
</head>
<body>

AND
Code:

      </td>
    </tr>
  </tbody>
</table>
</body>
</html>


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  
Great! That seemed to fix it. Didn't realize that Mozilla's editor was automatically trying to convert/save it as an HTML file. Used wordpad and did as you suggested and it's working fine.

Thanks for the 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