| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Crisp White Skin in 5.3.* - Custom Modifications? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Quote:
![]() We did think about that after your initial very helpful post, but we couldn't understand how that would work, as the XC Crisp White Skin Module only uses getSkins() for the 'customer' area only... so we thought it would be limited as such... We don't have any knowledge of the logic rules involved, but we'll alter it and try it this way regardless. PHP Code:
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#12
|
|||||||
|
|||||||
![]() Quote:
![]() a) The dev store redeploys successfully after the latest changes to the CrispWhiteMain.php 'additional' file so any changes made within 'customer' area of the are Crisp White Skin are implemented successfully*** However... NO changes made with 'admin', 'common' or 'mail' are implemented at all... so this doesn't work. Or; b) The dev store redeploys successfully after the latest changes to the CrispWhiteMain.php 'additional' file. However... NO changes made with 'customer', 'admin', 'common' or 'mail' are implemented at all... so this also doesn't work either (even the base XC Crisp White Skin isn't loaded when this happens). Or; c) The The dev store does NOT redeploy successfully, due to a coding inconsistency / error within the latest version of the CrispWhiteMain.php 'additional' file and a save (deleting /var .rebuildStarted and /var/run etc) has to be applied to get back to square one. Yet... with the version that we were and now are again running with (see previous messages) everything is 100% functional*** So it must either be a coding glitch within the extra areas being 'added' into the CrispWhiteMain.php 'additional' file or, as we were concerned about initially, it just won't work this way and changes in 'admin', 'common' or 'mail' have to be called up via Main.php not the CrispWhiteMain.php 'additional' file? ***Apart from .less file(s) which are part of a separate question
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#13
|
|||||||
|
|||||||
![]() all you can do is CSS
__________________
xcartmods.co.uk |
|||||||
#14
|
|||||||
|
|||||||
![]() Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#15
|
|||||||
|
|||||||
![]() Quote:
![]()
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#16
|
|||||||||
|
|||||||||
![]() I think it will be easier to track the problem if you send me your modified files with a list of things that don't work so that I could check it on my local Crisp White installation.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#17
|
|||||||
|
|||||||
![]() Quote:
![]()
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#18
|
|||||||||
|
|||||||||
![]() I've tried this locally and it works for me.
I'm attaching a sample module that will "decorate" Crisp White theme with its own "skin" directories. It changes the left sidebar menu template in the backend (so a new "Custom header" title appears above it), plus it makes some sidebar blocks in the storefront yellow (check a category page to see it). I didn't try other "interfaces" (mail and common), but I believe it should be done exactly the same as I did for the "admin interface" (check the MainCrispWhite::getSkins() method). Also, I've found that when you adjust getSkins() method of CrispWhite, X-Cart 5 does not include the new skin directories into the archive with your module files when you create one. That's why instead of placing new skin files into skins/my_custom_theme/... I split these into multiple skins/customer/modules/... directories (check the structure of the attached archive). Does this work for you?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#19
|
|||||||
|
|||||||
![]() Quote:
![]() ![]()
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
|
#20
|
|||||||
|
|||||||
![]() A quick update: Whilst carrying out important normal non-IT work (!) having Christmas Celebrations etc we've managed to finish a modified crisp white skin evolution version store and this is now live. We also have a nice and tidy, fully functional standard skin / custom module powered, evolution version in reserve just in case
![]() ![]()
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
|
|||
X-Cart forums © 2001-2020
|