Take the 2-minute tour ×
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

When you're setting up a widget instance, Magento asks you to select a Design Package/Theme. This includes the base/default package.

enter image description here

Why is this here? Can is be used for anything? My initial assumption would be this is here to add a widget to all themes — but that doesn't appear to work. Am I incorrect in this and just doing something wrong?

My next assumption is the widget UI was designed to "display all themes", but didn't take into account the special behavior of the base design package.

Can this base/default entry be used for anything in a Widget Instance? Or is it a vestigial feature, present only to confuse us?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

It looks like it's there without any working functionality for it. Only if your storeview is actually using that package/theme combination, but not as a default for all themes as you suggest.

In Mage_Core_Model_Resource_Layout you can find the method fetchUpdatesByHandle, which fetches all widget generated layout updates from the database. That query will only fetch the records for the current package, theme and some other params like store_id.

So no it can't be used as a 'for anything' setting. Otherwise there had to be a fallback mechanism in the query to also always include the widgets based on base/default.

share|improve this answer
    
+1 — I saw the same thing, but it seems weird that it's stayed in the list for so long. That always makes me wonder if I'm missing something obvious. –  Alan Storm Mar 3 at 19:05
    
Haven't we all had that feeling when working w/ Magento ;) –  Tim Hofman Mar 3 at 19:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.