Post by OC2PS » Tue May 01, 2012 10:36 am

WordPress has a cool feature. It's called child themes http://codex.wordpress.org/Child_Themes

Essentially, when people download/buy themes, they want to make certain changes to make their site unique. However, any customizations are always in the danger of being wiped out with updates. That's where child themes come in. Insead of editing the theme files, one can make create a child theme. Mostly this means creating a css file with styling that should override the theme's default styling. The customization made in this way via child themes carry over to the next versions after theme updates.

A similar concept is utilized for this vQmod, which has been created with the very simple purpose of creating the ability to customize the default theme with CSS such that such customizations carry over to the next versions after update.

You will need some knowledge of CSS http://www.w3schools.com/css/
And you'll find Firefox plugin Firebug handy https://addons.mozilla.org/en-US/firefox/addon/firebug/

Tested on 1.5.2.1, 1.5.3 and 1.5.3.1

Module download page: http://www.opencart.com/index.php?route ... on_id=6241

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by OC2PS » Tue Jun 05, 2012 12:59 pm

Also, you'll find that many extensions in the OpenCart extension repository are written for the Default theme.

If, instead of writing a custom theme from scratch, you use @tik Simple Child Theme to customize the Default theme to look the way you want it to look, then most, if not all, of these extensions for Default theme will easily apply to your child theme, without requiring any customization or tweaking.

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by evantage » Sat Aug 18, 2012 1:58 am

Hi There,

Great module and thanks for the contribution.

I followed the instructions and uploaded to the root of the store, i can see the child theme folder next to my default theme, however any changes I'm applying to the child theme css not taking effect, also used !important as i thought i will need maybe to force the original css. I also did a second upload and changed permissions but still i cant see any changes taking effect..

Any ideas what could be the problem here? is there any way to set/link the child theme manually ? I'm just not familiar with open cart and not sure where should i link it, in wordpress usually i use the header where about here?

will appreciate any help in this matter..

Cheers..
A.

Newbie

Posts

Joined
Sat Aug 18, 2012 1:39 am

Post by OC2PS » Sat Aug 18, 2012 1:09 pm

Do you have vQmod installed?

As the documentation says
Requirements
============
1. This is a vQmod for Opencart. Hence you need Opencart (tested on 1.5.2.1, 1.5.3 and 1.5.3.1) and vQmod (tested on 2.1.6) preinstalled. Opencart is available at http://www.opencart.com/index.php?route ... d/download and vQmod is available at http://code.google.com/p/vqmod/downloads/list

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by evantage » Tue Aug 21, 2012 3:03 am

Hey,

Alright now i see, sorry I'm not familiar with vQmod and thank you for bringing this into my attention, i will proceed with the installation, and hopefully make the child theme work this time..

Thanks a million for your help ;-)
A.

Newbie

Posts

Joined
Sat Aug 18, 2012 1:39 am

Post by c0nn0r » Wed Oct 09, 2013 12:44 am

Great extension. Thank you very much. It works very well for me when editing css files, but when I edit template files, I do not see any changes. Does this extension only support stylesheet changes?

Newbie

Posts

Joined
Fri Oct 04, 2013 12:20 am

Post by OC2PS » Wed Oct 09, 2013 12:54 am

c0nn0r wrote:Does this extension only support stylesheet changes?
Basically, Yes.

The idea is that you can create vqmods with any template changes that you want. However, vqmod does not offer a way to modify css files (vqmod can only modify tpl or php). So this extension essentially provides a way to make Default theme look way different.

OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary
Who is online

Users browsing this forum: No registered users and 12 guests