![]() |
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? |
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 :/ |
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. |
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?
|
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... |
Re: Creating a new skin
Deplyed the store to hosted server. redeploy took under 2 minutes. guess it doesn't like my computer.
|
Re: Creating a new skin
<list name="layout.header.bar" />
where do I find these lists? |
Re: Creating a new skin
Quote:
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 |
Re: Creating a new skin
how do you add to a list? x5 is more confusing that ever from a skin customization stand point.
|
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?
|
Re: Creating a new skin
Quote:
http://kb.x-cart.com/display/XDD/Creating+self-signed+SSL+certificate |
Re: Creating a new skin
just activated the webmaster module and I get this. header layout was perfect before I had to wait 5 minutes to re-deploy the store and get my layout garbled up.
http://www.2techchicks.com/xc514/ why would I get double headers? |
Re: Creating a new skin
Quote:
|
Re: Creating a new skin
lol... don't know if I figured it our per say. Every time I active a module I get double a double header. Only way I have found n to get rid of it is, delete my custom skin > re-deploy > re upload skin > re-deploy.. it's an absolute joy :)
|
Re: Creating a new skin
which file controls the products grid, formally products_t.tpl. I'd like to add our price and market price to the price line.
|
Re: Creating a new skin
http://www.2techchicks.com/xc514/
There we go, all kinds of goobally goop. All I did was active the market place module... and presto.... CRAP! |
Re: Creating a new skin
I guess you copied a template file with the @ListChild directive into your custom skin directory, so the template is now being inserted into the same list two times (because of @ListChild in the original template, and in your custom one).
Try to remove the @ListChild from the template in your custom skin. Does this help? |
All times are GMT -8. The time now is 04:26 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.