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
Style in matches not detected
Author Message
Reply with quote
Post Style in matches not detected 
I have tried to embed my style into the matches statement -> Found 8 items, showing 1 to 6. Last 2 Matches but have been very unsuccessful. Please advise... Crying or Very sad


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
I know you're trying hard.... Wink
What have you done to apply style to that area?


_________________
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  
Hi Scottcrew... Thanks for coming to my aid... as usual! Wink
We have gone through this in another thread but it seems to get really confusing, hence I started this thread!
I have added $warn_message .= "\n<tr>\n <td align=center class=\"display\"><FONT $sc_search_nav_font>\n"; in my agora_html_lib.pl file (all I got is error message). I have changed tried to change the css class from class to element to ID but it doesn't work Embarassed


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
What does your CSS file look like?

Can you post the URL to your store 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  
Hi,
The latest version of my style sheet source is this->
display { color: blue; font-size: 10px; font-family: Verdana; text-decoration: none }
.normal { color: #000; font-size: 11px; font-family: Verdana; text-decoration: none }

Have tried .display but it doesnt work Embarassed

My URL is http://www.nadioki.per.sg/store Very Happy


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
hell-o
your class shouldn't be causing the error. what does your error log in the store manager say?
also remove the following...
<FONT $sc_search_nav_font>
and the subsequent </font> tag from the table cell.
oh and if calling the "display" with class then "display" needs a dot in front of it in the css file...

.display { color: blue; font-size: 10px; font-family: Verdana; text-decoration: none }


regards,
dan

Reply with quote
Post  
Is the change applied to your store right now? I didn't see anything in the source code...


_________________
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  
Dan.. it doesn't work.... I've got the following error message:
Error loading library ./library/agora_html_lib.pl:
syntax error at ./library/agora_html_lib.pl line 15, near "if ($sc_shall_i_log_accesses eq "" syntax error at ./library/agora_html_lib.pl line 50, near "'') " syntax error at ./library/agora_html_lib.pl line 53, near "}" Compilation failed in require at (eval 9) line 1.

scottcrew, can't have that script running as the site will not be able to load. I have just loaded the changes from Dan in there.


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
I am seeing that you still have stuff in your header file that shouldn't be there....
In particular:
Code:

 <LINK REL=stylesheet HREF="http://www.nadioki.per.sg/store/style.css" TYPE="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<body leftmargin="0" topmargin="0">

For the proper placement of this info, please review the following threads:
http://www.agoraguide.com/faq/viewtopic.php?t=1156
http://www.agoraguide.com/faq/viewtopic.php?t=358

In a previous post you mentioned that you added the $warn_message. Did you actually add it or did you replace the original code. If you added it, where did you add it?
It just needs to be replaced...

Try using this:
Code:

$warn_message .= "\n<tr>\n <td align=center class=display><FONT $sc_search_nav_font>\n";


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  
hell-o
judging from the error log it looks like you messed up some curly braket(s) someplace. is this the only edit you've done to the html_lib.pl file? if so save a copy of what you have then upload a fresh copy. then begin making changes one by one and test for errors on each change. when you get to where you broke it then undo what you did and holler.
regards,
dan

Reply with quote
Post  
Hi Hi! I have tried both your methods and it works! Laughing
I think the problem lies with the html editor -> I did the whole process all over again using notepad instead of dreamweaver and it works.
Many thanks!


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
View user's profile Send private message
Reply with quote
Post  
Dreamweaver can cause problems by changing characters in a file...
I think that there was a thread about the proper way to set up Dreamweaver for use with AgoraCart....
Here it is....
http://www.agoraguide.com/faq/viewtopic.php?t=1569

Or you can just use a plain html editor or notepad....

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  
That's a piece of really useful information! Thanks scottcrew! Very Happy


_________________
*Believe me... I'm really trying hard! Rolling Eyes *
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