To disable a static block globally, go to CMS > Static Blocks > Select One > set Status = Disabled > Save To control the disable of static blocks on various pages, to go CMS > Widgets > Select One > Reference 'Layout Updates' section To remove a specific block for a specific page, go to CMS > Pages > Manage Content > Select One > Click the currently published Revision number on the initial page > Click the Design tab on the left > In the Layout XML section paste in the appropriate block of code dependent on the block you want to remove, for example to
By default, Magento does not automatically add on trailing url's to the end of every URL. In a database-driven cms system, you will be penalized for this by having two urls' with duplicate content: http://yourinstall.com/home http://yourinstall.com/home/ In the case above, each of these url's will lead to the same content, causing search engines to spider both pages, and in turn penalizing your website for having duplicate content. You can either create a 404 error for one of the pages, or redirect everything to a standard url.
Magento had a great command line tool built into it's software build called 'pear' that was located in the root folder of Magento installations. Well... it's still there, it has just been renamed 'mage' and comes with different commands to update modules, the core, etc.
Your first step in using 'mage' is to set the proper permissions to make it executable by the executing user. This can be done with chmod from the root of your Magento install:
chmod 550 mage
Then, to run it, just type ./mage in shell. You will be presented with a list of arguments to pass to it:
Having developed Drupal modules for over a year now, and now finally getting one published (Simplify!), I have a pretty good grasp of the steps you need to take to create a module, run it through a code review, submit an application for a drupal.org CVS account, and get your very own project page at drupal.org. I’ll try to take you through the main aspects that you need to have good understanding.
Well, if you aren’t privileged enough to host with my hosting company, Insider Host (shameless plug), then you may stumble upon a shared web host that doesn’t have Subversion installed (shame on them! unless they are using Git…). That doesn’t mean you can’t install SVN if you have SSH/shell access.
After creating and configuring a new LAMP stack, there are times where the php mail() function will not work. This could cause a lot of headaches, but there are really only a few things to check to save yourself from a bunch of waterworks and lost time.
Webmin not autostarting on boot? Sometime over the last year or so, for some reason Webmin stopped starting after a reboot. I’ve always done a manual restart with a:
command, so I figured added it to
would fix it. But it didn’t.
Apparently, Webmin has a separate startup script of:
So, to fix the boot startup issue, just add that snippet to your
file, and it will correct the problem!
We are all eagerly awaiting the release of ChromeOS in November. But why wait? You can easily hack Ubuntu 10.04 into a minified (yes, it’s actually a stripped down further) version of ChromeOS. Sure, it won’t have all of the built-in security and other features that may be absolutely necessary for a production-level install, but it will give you sub-5 second boot times, while automatically logging you in and presenting you with the fabulous Chrome window directly after boot.