X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Creating a new skin (https://forum.x-cart.com/showthread.php?t=69801)

ARW VISIONS 08-12-2014 07:56 PM

Creating a new skin
 
So do I have to create a new module to make a new skin?
Does the module file need to be named Main.php note the capital 'M'.

I also just enable the custom skin module, and sat through 10 minutes of building the cache. How often does this happen?

ARW VISIONS 08-12-2014 08:37 PM

Re: Creating a new skin
 
Sigh... I created a module, but I entered the version incorrectly. Now I have to redeploy the store for my simple version correction to be recognized? waiting another 15 minutes.

This seems counter productive :/

totaltec 08-13-2014 05:01 AM

Re: Creating a new skin
 
Is it taking 15 minutes to redeploy/ rebuild cache? That is way too long. On my local machine it takes about 3 minutes, on a nice dedicated server from EWD it seems like it is about half that.

The rebuilding cache process is extremely annoying. When I first started working with XC5 it almost made me give up. But either I have learned to avoid it more, by working in the var/run directory while testing, or I have simply gotten used to it. :-)

Any major code change or module installation/enabling, you have to rebuild. Template changes can be uncached if you set developer mode On in etc/config.php, that helps a lot.

ARW VISIONS 08-13-2014 01:13 PM

Re: Creating a new skin
 
Errr, yes it takes forever. Every time a change a setting I have to wait. Not a good decision. Is your local environment windows or *nix based?

totaltec 08-13-2014 02:20 PM

Re: Creating a new skin
 
Windows. Running XAMPP on Win 7. Working in 5.1.3 at the moment, just because I started the project on that version. Rebuild cache takes 2 minutes 30 seconds, just timed it.

If you are working in Windows, you might need to speed up your localhost: http://stackoverflow.com/a/14635402 There are several suggestions on that thread, the one I linked to worked for me. If you are working on a Mac, then I am clueless...

ARW VISIONS 08-14-2014 05:51 PM

Re: Creating a new skin
 
Deplyed the store to hosted server. redeploy took under 2 minutes. guess it doesn't like my computer.

ARW VISIONS 08-14-2014 07:54 PM

Re: Creating a new skin
 
<list name="layout.header.bar" />

where do I find these lists?

totaltec 08-15-2014 04:56 AM

Re: Creating a new skin
 
Quote:

Originally Posted by ARW VISIONS
<list name="layout.header.bar" />

where do I find these lists?

They are built dynamically you might say, each module or template that needs to add to a list does so.

I don't know where the lists are initially defined, I'm not sure they are. If you need to find out what list you need to add to, use the webmaster kit module. http://www.x-cart.com/extensions/addons/webmaster-kit.html

ARW VISIONS 08-16-2014 09:19 AM

Re: Creating a new skin
 
how do you add to a list? x5 is more confusing that ever from a skin customization stand point.

ARW VISIONS 08-16-2014 09:21 AM

Re: Creating a new skin
 
went to get the webmaster mod, but I don't have an SSL on my local machine. not ever going to. so guess getting anything from the marketplace is out of the question?


All times are GMT -8. The time now is 01:04 PM.

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