Changing Image Paths in a Drupal Subdirectory Installation

If you have a Drupal installation in a subdirectory and change it to another subdirectory the image paths are going to be incorrect, the path sees the initial subdirectory as the root folder.

You can get around this in 2 ways, one is to use .htaccess file to redirect the old directory to the new one but a preferred method would be to hardcode the new path back in to all the images. Rather than a painstaking troll though all the content a find and replace in the mysql is your best friend.

Tags:

Installing Git on a cPanel/WHM CentOS 5 Server

By default git a popular software code management software (SCM) is not installed on cPanel/WHM CentOS server, you may need to add in a new repository package manager which contains the compiled code and edit the /etc/yum.conf file to make it work.

Git being a primarily comand line driven application you need to connect to your server via shell access. First of all try and see if it is installed with yum.

Tags:

Installing drush for Drupal on cPanel/WHM Server or OS X Lion

Drush is a command line utility for administering Drupal websites, what you can do in the backend GUI you can do three times as fast on the command line. Version 5 of Drush cab administer Drupal versions 6, 7 and 8. The only prerequiste that you need for this is comamnd line access to your server.

Tags:

Install and configure Apache, MySQL, PHP and phpMyAdmin on OSX 10.8 Mountain Lion

With the new cat out of the bag, getting the AMP stack running is a little different on OS X Mountain Lion 10.8 Preview 3 than is its predecessor OS X 10.7 Lion, here is the lowdown on getting Apache, MySQL, PHP and phpMyadmin running on the new OS.

Apache/WebSharing

The first difference in the new OS is the dropping of the GUI option to turn on Web Sharing in the System Preferences, it may be gone but Apache is definitely installed in the lower level of the OS and ready to go.

Tags:

CSS Background Submit Button in a form in Internet Explorer is dull and Grey

Does your input submit form button beautifully styled with CSS to have a background image in Internet Explorer 6 - 9 look like this....

submit-form-button-ie

The default grey filter gradient courtsey of Internet Explorer, not a very pleasant sight.

Installing a GUI Text Editor in Drupal 7, TinyMCE and CKEditor Wysiwig

You are left high and dry with an initial install of Drupal 7 in terms of text editing.

You can add text and code to content text fields but there is no default GUI text editor which you do get with other CMS'es such as WordPress and Joomla. If the Drupal site is to be passed over to a client for content managing who has no experience with HTML or CSS then this is an absolute necessity. Possibly Drupal 8 will arrive with a default text editor as part of the core product. 

Tags:

Get Email Alerts of New Comments Awaiting Moderation Approval on Drupal

new email alerts for comment moderation in drupal For new comments made by users in Drupal by default the only way to approve or delete new comments for moderation in is to log on and check on to the site directly.

Tags:

Change the Drupal Administration Appearance and Menu

drupal-customise-menuDrupal 7 administration menu is quite a change from previous versions, in comes the administrative overlay which is like a partial transparent layer over the existing site.

Tags:

No DNS Zones In Server Admin OS X Server

If your DNS zones are not available in Server Admin but OK in /var/named it maybe due to a crash when a zone was last edited.

 - Locate the last Zone that was edited and rename it with a .bak this will be found in  /var/named (If you don't know what the zone was then you'll have to try this procedure with each one).

 - Refresh the view in Server Admin - if the zones are now visible then you have found the corrupt one  - delete the zone that was stuffed

Tags:

Pages