X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart Ability Template v4.4.x (https://forum.x-cart.com/showthread.php?t=61776)

jmccunep 04-28-2015 11:59 AM

Re: X-Cart Ability Template v4.4.x
 
For the latest x-cart security vulnerability patch, issued today, can the patch files and SQL be applied as is? Or with the Ability template were some of the files that have to be patched modified so one must therefore use the (tedious!) manual DIFF file patch process?

The patch in question (for xcart 4.4.5 version) is:
security-patch-2015-04-28_4.4.5.zip

There are mostly PHP files in this patch, and a couple of TPL files.

[I understand a file compare tool can be used to help answer this question. While I understand the comparison concept, it's not clear how to use it in this context.]

THANKS!

kevbentz 04-28-2015 12:19 PM

Re: X-Cart Ability Template v4.4.x
 
Quote:

Originally Posted by jmccunep
For the latest x-cart security vulnerability patch, issued today, can the patch files and SQL be applied as is? Or with the Ability template were some of the files that have to be patched modified so one must therefore use the (tedious!) manual DIFF file patch process?

The patch in question (for xcart 4.4.5 version) is:
security-patch-2015-04-28_4.4.5.zip

There are mostly PHP files in this patch, and a couple of TPL files.

[I understand a file compare tool can be used to help answer this question. While I understand the comparison concept, it's not clear how to use it in this context.]

THANKS!


None of the files in the update are part of the ability template, only the common skin files. If you haven't modified any of the other affected files, you can apply it as-is.

nauticalstyle 06-12-2016 05:34 PM

Re: X-Cart Ability Template v4.4.x
 
How can I change the position of the Search Box in the header of the Ability custom template?

Here is what I believe happens so far:
  • Page layout appears to be controlled by ..\skin\ability\custom\common.tpl, which calls on common CSS (..\skin\ability\custom\css\common.css) and JS (..\skin\ability\custom\js\common.js) script.
  • common.tpl also includes ..\skin\ability\custom\custom_styles.tpl and links to the 960 Grid system (..\skin\ability\custom\css\grid\grid.css)
  • The appearance of the search box is controlled by CSS code (..\skin\ability\custom\css\common.css). Four sizes are defined small, medium, large and xlarge;
  • The size is set through the Admin Interface Settings menu (Settings>Ability Template options>Header Options>Header search box size;
  • The size parameter is passed as a variable ($config.Ability_Template.abi_header_search_size) to Smarty template code ..\skin\ability\custom\header\content\header_searc h.tpl
  • The compiled (php) template code is created in ..\var\templates_c\...


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.