Find attribute_id
SELECT * FROM eav_attribute where attribute_code = 'is_anchor'
Update all of them with anchor_id from above (usually is ID 51)
UPDATE `catalog_category_entity_int` set value = 1 where attribute_id = 51
# Tell system when Xcode utilities live: | |
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer | |
# Set "opendiff" as the default mergetool globally: | |
git config --global merge.tool opendiff |
##Given Apache 2 and MySQL are already installed.
#Update MacPorts sudo port selfupdate;sudo port -u upgrade outdated
#Install PHP 5.4.* sudo port install php54 php54-apache2handler ##Activate Apache Module cd /opt/local/apache2/modules
/* Friendly timezone abbreviations in client-side JavaScript | |
`tzAbbr()` or `tzAbbr(new Date(79,5,24))` | |
=> "EDT", "CST", "GMT", etc.! | |
There's no 100% reliable way to get friendly timezone names in all | |
browsers using JS alone, but this tiny function scours a | |
stringified date as best it can and returns `null` in the few cases | |
where no friendly timezone name is found (so far, just Opera). |