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

Creating a new skin

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-12-2014, 07:56 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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?
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 08-12-2014, 08:37 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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 :/
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 08-13-2014, 05:01 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

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

Default 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.
__________________
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
  #4  
Old 08-13-2014, 01:13 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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?
__________________
xcart 5.1.2
Reply With Quote
  #5  
Old 08-13-2014, 02:20 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

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

Default 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...
__________________
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
  #6  
Old 08-14-2014, 05:51 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Creating a new skin

Deplyed the store to hosted server. redeploy took under 2 minutes. guess it doesn't like my computer.
__________________
xcart 5.1.2
Reply With Quote
  #7  
Old 08-14-2014, 07:54 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Creating a new skin

<list name="layout.header.bar" />

where do I find these lists?
__________________
xcart 5.1.2
Reply With Quote
  #8  
Old 08-15-2014, 04:56 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

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

Default 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
__________________
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 08-16-2014, 09:19 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Creating a new skin

how do you add to a list? x5 is more confusing that ever from a skin customization stand point.
__________________
xcart 5.1.2
Reply With Quote
  #10  
Old 08-16-2014, 09:21 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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?
__________________
xcart 5.1.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:41 PM.

   

 
X-Cart forums © 2001-2020