drupal

Drupal 7 is around the corner

Well, it's almost here. The Drupal 7 RC 3 (release candidate) is out. And, from all indications, the actual release of Drupal 7 will happen in the first week on January.

Unlike the previous versions of Drupal releases, most of the popular module developers have promised to have their work ready on the first day of release.

Drupal 7.0 beta




Finally the first Beta of Drupal 7.0 is out;
http://drupal.org/drupal-7.0-beta1

Although there are still a few Critical Issues to be resolved, the main problem to overcome before going Beta was the "upgrading path". Apparently, you can now upgrade a D6 to D7 ;-)

I had been playing the Alpha's, but now I can actually do something with the software, and be able to upgrade the code to the next Beta versions, or the actual release version.

Thanks so much for all the efforts of the contributors to D.O

Installing "wget" on OSX

The Apple OS X 10.5 comes with "curl", but most people prefer using wget when using Terminal. Here is an easy way to build and install wget;

Requirements:

  • First things first ;-) - Download and Install Apple's Xcode Developer Tools

Downloads:

Installation:

  • Unzip / Extract the download in to a directory
    (could be on the desktop)

Install Drush for Drupal

Drush is an amazing tool. It is a command line shell and scripting interface for Drupal.

If you have truble installing it on your development workstation (OSX), then follow these simple steps to get going:

  • Down Load the code to your desktop; drush.tar.gz
  • Go to the Terminal
  • cd ~/Desktop
  • tar -zxf drush.tar.gz (extract the tar file)
  • sudo mv drush /usr/local/lib/ (move it to /usr/local/lib)
  • sudo chmod u+x /usr/local/lib/drush/drush (make it executable)
  • sudo ln -s /usr/local/lib/drush/drush /usr/bin/drush (put it in /usr/bin/ so that you can run it from anywhere)
  • Go to your finder and make sure the correct directories are created.

UPDATE:

Some people may have a problem creating the /usr/local/lib to put the DRUSH in.

Here is a simpler solution:

Twitter Integration

Integrated Twitter with TechDust Blog.

http://drupal.org/project/twitter

Recommended: Book - Front End Drupal

In Front End Drupal: Designing, Theming, Scripting, two expert Drupal developers cover everything you need to know to create great visual designs and state-of-the-art interactivity with Drupal’s behaviors, themes, and templates.

How to include an additional CSS file

Here is an article on adding additional CSS files to your theme. This may come handy if you prefer to have separate CSS files to manage your project more efficiently.

Drupla.org: How to Call Additional CSS Files

Or you could use @import "rule" within your CSS file to access the secondary CSS file.

w3.org: The @import rule

==============

The '@import' rule allows users to import style rules from other style sheets. Any @import rules must precede all other rules (except the @charset rule, if present). The '@import' keyword must be followed by the URI of the style sheet to include. A string is also allowed; it will be interpreted as if it had url(...) around it.

Example(s):

The following lines are equivalent in meaning and illustrate both '@import' syntaxes (one with "url()" and one with a bare string):

@import "mystyle.css";
@import url("mystyle.css");

So that user agents can avoid retrieving resources for unsupported media types, authors may specify media-dependent @import rules. These conditional imports specify comma-separated media types after the URI.

Example(s):

The following rules illustrate how @import rules can be made media-dependent:

@import url("fineprint.css") print;
@import url("bluish.css") projection, tv;

In the absence of any media types, the import is unconditional. Specifying 'all' for the medium has the same effect.

Editing your mac's Hosts file

If you can not edit your hosts file located in "private/etc" directory, it's because;

The whole directory has "admin" permissions, and your text editor maybe running with your current user permissions. You can either move the Hosts file to desktop and edit it, and put it back, or use Terminal and edit the file.

Open Terminal.

Type cd /etc

Type sudo nano hosts

Type your password

Edit File

Hit Ctrl + O to save

Hit Ctrl + X to quit

PHP Memory Limit

If you're utilizing memory intensive modules which requires the php to access more memory than standard installations, change the value in the php.ini file (some hosts require system administrators to make this change).

For your local MAMP setup edit this file:
/Applications/MAMP/conf/php5/php.ini

Look for the following line and change accordingly...

memory_limit = 96M ; Maximum amount of memory a script may consume (8MB)

For Drupal installation you may change...

You may edit the root .htaccess:

Syndicate content