Including Magento's “prototype/windows/themes/magento.css” Across Versions

HOME ยป Web Design

I've got an Magento admin console extension that enables a model window across the entire Magento admin console. In Magento 1.7, I can include the factory default CSS file with the following


However, in Magento 1.6, this file isn't in the skin folder, it's in the 'js_css' folder, and I need to use this

$layout->getBlock('head')->addItem('js_css', 'prototype/windows/themes/magento.css')

Is there an elegant, straight forward way for me to ensure this file is properly included across all versi

Related to : Including Magento's “prototype/windows/themes/magento.css” Across Versions
Magento 1.4.1 issues adding custom option file to cart in Magento “Some of the products below do not have all the required options…&rdquo
Web Design

When uploading a file on a product page using Magento's custom options, the following error appears on the cart page:

"Some of the products below do not have all the required options. Please remove them and add again with all the required options."

(Yes, the various files types allowed have been specified in custom options)

Running Magento 1.4.1. Server is php 5.2.0-8+etch16 running mysql 5.0.32

The install's been running for years without fault. The only alteration I've made recently is to fix the error "Could not determine temp directory, please specify a cache_dir manually" which involved editing lib/Zend/C

Magento, get “new” or “edit” during product creation or edition
Web Design

In Magento, while I'm creating or editing a product, I need to know if this product is a new product or an edited one.

I found a part or the URL with "new" or "edit", but I didn't found anything online to help me catching this.

Can you help me ?

Thank you very much !


Okay I found something :
I'm trying to get ActionName of the controller, but I'm on the Block who runs the Custom Options Tab while creating or editing a product. So when I get ActionName, I get "options", it's the child, I need the ActionName above (it might be a parent ?).
Any help is welcome to do that, t

Magento How do i add “Home” link accross magento multi store site that shares same theme
Web Design

I have a magento website with multi store and i have been able to add the home link on the default store. the whole site along with its multi stores shares the same theme but in the theme i edited template/page/navigation/top.php with the code

$_anyActive = false;
foreach ($this->getStoreCategories() as $_category)
$_anyActive = $_anyActive || $this->isCategoryActive($_category);
<li class="home <?php echo !$_anyActive ? 'active' : ' ?>">
<a href="<?php echo $this->getUrl(')?>"><span><?php echo $this->__('Home') ?&g
MAGENTO: Method “quoteCollectTotalsBefore” is not defined in “Mage_Tax_Model_Observer”
Web Design

after upgrading magento 1.4.1 to 1.6.2 some incompatibility issues occured. After resolving a few some remaind obviously. at this point i am trying to resolve an issue which occurs when I try to put a product in my basket. When I hit the add to cart button, the follow message shows:

Method "quoteCollectTotalsBefore" is not defined in "Mage_Tax_Model_Observer"

How to call portions of Magento into an external CMS, such as “item's in cart” or a “login form” in 1.4
Web Design

I know this is a question that has been discussed over and over, but I seem to be having trouble still.

Can anyone point me to the right direction, where I can learn to pull items from Magento, and display them in my EE pages?

I'll need to access magento from outside it's folder. Currently, EE is installed to the root, and Magento is installed in a sub. It's for a clothing store and I'd like to preserve the layout we currently have, and build upon it rather than abandon it for Magento's built in 'cms'.

Thanks guys, sorry if this has been asked before!

How to make the “Telephone” field of magento “not required” only for a particular theme?
Web Design

How to make the "Telephone" field of magento "not required" only for mobile version?

I tried changing "is_required" column of "Telephone" row in "eav_attribute" table. But it changes telephone not required for both desktop and mobile version.


if (!Zend_Validate::is($this->getTelephone(), 'NotEmpty')) {
$errors[] = $helper->__('Please enter telephone.');

in magento/app/code/core/Mage/Customer/Model/Address/Abstract.php also did the same!

Is there any other way to make this work for a particular theme?

What are the possible tags inside the “global” tag in Magento “config.xml” file?
Web Design

Can some professional experienced Magento developer tell me how to accomplish the following in Magento?

I want to know what are the possible tags that can fit in the "global" tag of the "config.xml" page of every module's etc folder?

I have tried searching for this answer at many places in Internet but in vain.

Please provide the full details along with it for Magento version >=, because I want at least the users accessing this website find it useful enough, instead of scratching their heads.

I really want a detailed explanation, because every newbie like me gets totally confused at this point. From wh

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © All Rights Reserved .