Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

I don't mean to sound stupid...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-30-2005, 07:23 AM
 
SkullHead SkullHead is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 30
 

Default I don't mean to sound stupid...

but! I've read through some posts in here like this one http://forum.x-cart.com/viewtopic.php?t=8138 and I'm just missing something. I got an SSL from Geotrust. They sent me an email saying to paste this:

Code:
Install QuickSSL Premium To install the QuickSSL Premium Smart Icon seal, simply add the following lines to each web page on which you want the QuickSSL Premium seal to appear:

Code:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="//smarticon.geotrust.com/si.js"></SCRIPT>


I'm about a week old to PHP,infact bought the software on the 22nd of this month, and aren't sure what to do. I pasted it into the cart page but got an error. I've read just about everything but like I said"I'm missing something" I know when I go to the website I'm building for my wife and login and go thru the checkout process like I'm buying something the cart.php is secure
Code:
https://riverviewflorist.net/xcart/cart.php?paymentid=1&mode=checkout&xid=6f933dd32a8c8c85a9ae591498120071


I'm just not sure where to put the script that retreives the Geotrust logo. I'd appreciate if someone could point me in the right direction as to where to insert the Geotrust script or what template/s to edit and how. The site is "www.riverviewflorist.net" if anyone wants to go look. I also get a security alert popup when I go from http://riverviewflorist.net/xcart/cart.php?mode=checkout

to https://riverviewflorist.net/xcart/cart.php?paymentid=1&mode=checkout&xid=6f933dd32a8 c8c85a9ae591498120071. But only after I log out and back in. Infact if you click the link above you'll see it. Like I said, I've only been at it 8 days and have tried figuring most of it out myself along with reading here and google.

I created a bogus account if someone could stop in there. the USER is "test" the PASS is "test1" this way no one has to go through the hassle of registering. Maybe why your there you could critic my work. Try and remember it's a flowershop site and I still have about 700 more flowewr pics to upload. So it's not complete yet. Thanks in advance.
__________________
4.0.17
PHP 4.4.7
Apache
MySQL server 5.0.51a-log
MySQL client 4.1.11
Web server Apache
Operation system Linux
Perl 5.008008
Reply With Quote
  #2  
Old 04-30-2005, 07:30 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

You might want to add the code to your home.tpl file. This way the logo will show on all pages.

Open /xcart/skin1/home.tpl and look for the following chunk of code:
Code:
{ include file="poweredby.tpl" }

After that add you code right below it.

MAKE SURE to add the code as I have it below or you will get errors:
Code:
{literal} <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="//smarticon.geotrust.com/si.js"></SCRIPT> {/literal}

Whenever you add javascript code to tpl files you will need to "wrap" te code in {literal} javascript code here {/literal} or you get errors.

HTH
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #3  
Old 04-30-2005, 07:33 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

On the issue with the security alert:

Open /xcart/config.php and change:
Code:
$xcart_https_host ="riverviewflorist.net";

To:
Code:
$xcart_https_host ="www.riverviewflorist.net";

Notice I just added the WWW.
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #4  
Old 04-30-2005, 11:10 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Post moved. Skullhead, please be aware of where you post. As the name implies, the Completed Custom Mods forum is for completed custom mods only, not requests. Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-30-2005, 01:02 PM
 
SkullHead SkullHead is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 30
 

Default

Thanks Emerson

That was easy as hell and explained so even I could inderstand it! Both instructions were.

I took notes into a word doc for later refference. I think I'll scour this board and do some copy and pasting to avoid always having to search through the forum for helpful info.

Now I need to figure out how to get it centered at the bottom of the page. Which I think I can figure that one out.

I appreciated your help Bro! Thanks!

Now all I have to do is get all the content and about 50 pics per catagory loaded into "All" 12 remaining pages and it'll be ready.
__________________
4.0.17
PHP 4.4.7
Apache
MySQL server 5.0.51a-log
MySQL client 4.1.11
Web server Apache
Operation system Linux
Perl 5.008008
Reply With Quote
  #6  
Old 04-30-2005, 01:50 PM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

No problem, glad I could help

Quote:
Now I need to figure out how to get it centered at the bottom of the page. Which I think I can figure that one out.

^ You might want to put the code inside of skin1/bottom.tpl then
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #7  
Old 04-30-2005, 04:41 PM
 
SkullHead SkullHead is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 30
 

Default

Quote:
Originally Posted by balinor
Post moved. Skullhead, please be aware of where you post. As the name implies, the Completed Custom Mods forum is for completed custom mods only, not requests. Thanks!

Will do!

Darn it Emerson! Now I won't have nothing to try and figure out for the next two days!
__________________
4.0.17
PHP 4.4.7
Apache
MySQL server 5.0.51a-log
MySQL client 4.1.11
Web server Apache
Operation system Linux
Perl 5.008008
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:52 AM.

   

 
X-Cart forums © 2001-2020