Friday, September 22, 2017
How to add CSS/Javascript version number in Magento 1
app/code/core(or local)/Mage/Page/Block/Html/Head.php
Change this:
$html .= $this->_prepareStaticAndSkinElements('
' . "\n",
empty($items['js_css']) ? array() : $items['js_css'],
empty($items['skin_css']) ? array() : $items['skin_css'],
$shouldMergeCss ? array(Mage::getDesign(), 'getMergedCssUrl') : null
);
To this:
$html .= $this->_prepareStaticAndSkinElements('
' . "\n",
empty($items['js_css']) ? array() : $items['js_css'],
empty($items['skin_css']) ? array() : $items['skin_css'],
$shouldMergeCss ? array(Mage::getDesign(), 'getMergedCssUrl') : null
);
Subscribe to:
Post Comments (Atom)
Restore xampp database from backup
steps: stop mysql xampp 1 - create some backup folder "data_1" 2 - from your current xampp/mysql/data folder move core folders an...
-
source: http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt I sus...
-
to fix it on localhost just use $oauth->disableSSLChecks();
-
Step 1: remove all history rm -rf .git Step 2: reconstruct the Git repo with only the current content git init git add . git commit ...
No comments:
Post a Comment