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

Adding secure site seal to bottom right of all pages

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-14-2014, 10:31 AM
 
JiffyPark JiffyPark is offline
 

Member
  
Join Date: Mar 2013
Posts: 20
 

Default Adding secure site seal to bottom right of all pages

I'm in the process of setting up a new X-cart 5 site and just got a Comodo SSL certificate through my web host. I'd like to display the secure logo at the bottom right of all my pages and would like some insight as to go about doing that. I founds a thread talking about doing this in previous versions of X-cart but it didn't seem to fit with XC 5 use.
__________________
XC 5.1.9
Reply With Quote
  #2  
Old 12-14-2014, 02:27 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Adding secure site seal to bottom right of all pages

Yes, it would be totally different in XC5. I would start by building a module/skin. Here is my tutorial on that subject: http://xcartguru.com/tutorials/x-cart-5-tutorials/building-a-custom-skin-in-x-cart-5/

Once you have your custom skin it is a simple matter of overriding the template.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 12-16-2014, 06:07 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Adding secure site seal to bottom right of all pages

Hi JiffyPark!

I have already explained how you can achieve the same result for X-Cart 5.0 here:
http://forum.x-cart.com/showpost.php?p=370131&postcount=10

The instruction is pretty similar for X-Cart 5.1, but you will have to edit Main.php file of the module and set getMajorVersion to return '5.1' instead of '5.0'.

If I sound complicated to you, please let me know and I will try to help.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #4  
Old 12-16-2014, 09:50 AM
 
JiffyPark JiffyPark is offline
 

Member
  
Join Date: Mar 2013
Posts: 20
 

Default Re: Adding secure site seal to bottom right of all pages

I opened the tar file and edited the main.php file to 5.1 and then re-archived. When I try to upload and install it through the "Installed Modules" page I get the following error. Any ideas what the problem is?

Code:
Error:unable to add module entry to the installation list: "/home/jiffypark/tooldepot.net/var/tmp/Tony-SslSeal-v5_0_0.tar"
__________________
XC 5.1.9
Reply With Quote
  #5  
Old 12-16-2014, 12:48 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding secure site seal to bottom right of all pages

You probably need to rename the file - ...-v5_1_0.tar
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 12-16-2014, 01:58 PM
 
JiffyPark JiffyPark is offline
 

Member
  
Join Date: Mar 2013
Posts: 20
 

Default Re: Adding secure site seal to bottom right of all pages

Quote:
Originally Posted by cflsystems
You probably need to rename the file - ...-v5_1_0.tar

Thanks for the info but I just tried it and that didn't work either. If I leave it alone i get the error about the version being wrong but as soon as I change the version in main.php and install the module it gives me the "unable to add module..." error.
__________________
XC 5.1.9
Reply With Quote
  #7  
Old 12-16-2014, 02:04 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding secure site seal to bottom right of all pages

The tar file itself has some "cached" files which contain the version in there as well. You need to change it everywhere it appears.

As an alternative you can just untar on your local machine and upload only the module files to the store. Then change the Main.php file and run the store ache rebuilt. That should work.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #8  
Old 12-16-2014, 03:03 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Adding secure site seal to bottom right of all pages

You can't open an xcart 5 tar file and change it, then simply tar it up and re-install. The tar file is packed specially by X-Cart itself. Make the changes you want in an local copy of XC, rebuild the cache, the pack the module via XC's interface. Make sure to turn developer mode on in etc/config.php
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #9  
Old 12-16-2014, 03:18 PM
 
JiffyPark JiffyPark is offline
 

Member
  
Join Date: Mar 2013
Posts: 20
 

Default Re: Adding secure site seal to bottom right of all pages

Ah crud... well you lost on that last one my friend. Not sure how to do most of those steps. I think I might have to move this to the back burner and label it as a "someday" project. I appreciate everyone's help on this.
__________________
XC 5.1.9
Reply With Quote
  #10  
Old 12-16-2014, 03:23 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding secure site seal to bottom right of all pages

You don't have to do all this. The tar package has "classes" and "skin" directories. These are what you need to copy to root of cart. Modify the version. Then just rebuilt cache. The cart will pick up the new module and install it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
totaltec (12-17-2014)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 12:30 PM.

   

 
X-Cart forums © 2001-2020