Skip to content

mpalasis/Palasis_Inheritwidgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Palasis_Inheritwidgets

This makes themes inherit widgets from their parents

for Magento 1.9x

Original post of the issue on Stackexchange (by me): Inherit Widgets from Theme Parent

The purpose of this module is to allow child themes to inherit widgets from their parents.

Widget sort order accross multple themes is not obeyed.

For sorting to be obeyed, put widgets in only one of the parent themes and nowhere else.

example

(package/theme names don't matter)

rwd / default
\_ rwd / palasis <-- all widgets live here
   \_ rwd / palasis-green
   \_ rwd / palasis-*othercolors*...
   \_ rwd / palasis-xmas
   \_ rwd / palasis-summer

all child themes must specify their parentage in theme.xml

eg. for rwd/palasis-green put xml file at: design/frontend/rwd/palasis-green/etc/theme.xml

<?xml version="1.0"?>
<theme>
    <parent>rwd/palasis</parent>
</theme>

Installation

Just drag and drop app into your Magento root.

About

Magento 1.9x This makes themes inherit widgets from their parents

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages