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

Creating a new theme

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-29-2013, 04:22 PM
 
Nora McDougall-Collins Nora McDougall-Collins is offline
 

Member
  
Join Date: May 2013
Posts: 24
 

Default Creating a new theme

I have built new and child themes in WordPress and Drupal. Now I need to customize a theme in X-cart. So, I thought I would try copying the files from a theme into a new folder to see if the Dashboard would pick it up. No joy. Where are the instructions for building a custom theme.
__________________
4.5.5
Nora McDougall-Collins
Montana Webmaster Team
Reply With Quote
  #2  
Old 05-29-2013, 04:52 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Creating a new theme

There is a tutorial here by Totaltec about creating custom themes for x-cart: http://forum.x-cart.com/showthread.php?t=62810

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
Nora McDougall-Collins (05-29-2013)
  #3  
Old 05-29-2013, 04:54 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: Creating a new theme

I would recommend you look at the new reBOOT template http://forum.x-cart.com/showthread.php?t=66570

It's a responsive template and easy to modify. I've been tweaking it since it came out and I'm about 95% there. I'm also customizing a responsive Wordpress template to use as my x-cart blog for when I go live with reBoot on 4.6.x and have it seamlessly integrated with my reBoot template design. Visitors won't be able to tell that they are switching between x-cart and Wordpress.
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote

The following user thanks elmirage001 for this useful post:
Nora McDougall-Collins (06-01-2013)
  #4  
Old 05-29-2013, 06:20 PM
 
Nora McDougall-Collins Nora McDougall-Collins is offline
 

Member
  
Join Date: May 2013
Posts: 24
 

Default Re: Creating a new theme

Thanks for the answers! I find it interesting that the X-cart help files have links that don't work.
"Please note that your manual pages don't work:
http://help.x-cart.com/index.php?title=X-Cart:Editing_Skin_Files
The links in this text don't go anywhere. You need to fix this:
(See the section Compiling templates and to restore any skin files that have been edited to their original state (See Restoring all files).

Please note that this is a lack of instructions on your part. We do not need to pay for support for simple instructions."
__________________
4.5.5
Nora McDougall-Collins
Montana Webmaster Team
Reply With Quote
  #5  
Old 05-29-2013, 06:26 PM
 
Nora McDougall-Collins Nora McDougall-Collins is offline
 

Member
  
Join Date: May 2013
Posts: 24
 

Default Re: Creating a new theme

gb2world, You are phenomenal!!! Great job on the video!!!
__________________
4.5.5
Nora McDougall-Collins
Montana Webmaster Team
Reply With Quote
  #6  
Old 05-29-2013, 06:41 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Creating a new theme

You need to thank Mike White (Totaltec) - be sure and drop him a note or at least add a "thanks" to his page.

Also, re: broken links - best to submit to the Issues Tracker - https://bugtracker.qtmsoft.com/ - QT does not officially correct problems raised in the forums, but they will track and respond to entry in the issues list

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
Nora McDougall-Collins (06-01-2013)
  #7  
Old 06-01-2013, 10:59 AM
 
Nora McDougall-Collins Nora McDougall-Collins is offline
 

Member
  
Join Date: May 2013
Posts: 24
 

Default Re: Creating a new theme

Thanks for the suggestion on the thanks!

I tried following the steps in the video, which are very clearly explained, and follow patterns that are common in WordPress and Drupal. But, I'm not getting the X-cart dashboard to notice the new theme. Near as I can tell

1. Create a folder with the theme name.
2. Make the changes in altskin.ini
3. Upload folder

I even waited over night in case X-cart batch processes. Can you think of any common errors? I checked that each item after the = has both quotes.

I did notice that there is a string of characters at the top of each altskin.ini that is unique for each new theme. I wonder where that string comes in.

elmirage001, I will be checking out your solution, as well - thanks!!! I see that it is a paid theme, which are generally good for developers to use.

Thanks!
__________________
4.5.5
Nora McDougall-Collins
Montana Webmaster Team
Reply With Quote
  #8  
Old 06-01-2013, 11:28 AM
 
Nora McDougall-Collins Nora McDougall-Collins is offline
 

Member
  
Join Date: May 2013
Posts: 24
 

Default Re: Creating a new theme

OK, now I see that the dashboard is not dynamically picking up the skin -> directories.

1. I backed up the fashion_mosaic_pink theme folder.
2. I opened altskin.ini in the original and changed the color in parenthesis to red
3. I uploaded the file.
4. The new name did not show in the theme dropdown list in the Dashboard.

Thinking to my Drupal experience, I hunted around for a way to clear a cache. I found it under Tools -> Maintenance. I think that additional explanations on that page would be helpful. I took a guess hoping that I wasn't going to break anything. Of course, regular database backups do help alleviate some of those fears!
__________________
4.5.5
Nora McDougall-Collins
Montana Webmaster Team
Reply With Quote

The following user thanks Nora McDougall-Collins for this useful post:
DBK Web Builder (04-25-2014)
  #9  
Old 06-01-2013, 11:49 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Creating a new theme

Try going to Tools -> Clear templates/X-Cart cache
You can also select the Force cache generation just for good measure.

As you are developing, it is good to understand and use the cleanup.php script: http://help.x-cart.com/index.php?title=X-Cart:Advanced_Tools

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
qualiteam (04-27-2014)
  #10  
Old 04-25-2014, 08:07 AM
 
DBK Web Builder DBK Web Builder is offline
 

Advanced Member
  
Join Date: Apr 2014
Location: NJ
Posts: 67
 

Default Re: Creating a new theme

I was going nuts - I created a new skin - it didn't work - i renamed an old skin - still didn't work
clear CACHE - who knew !

thanks

Donna
__________________
4.6.2 and 4.6.3
http://www.DBKWebBuilder.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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 not 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 02:47 AM.

   

 
X-Cart forums © 2001-2020