Archive for the ‘Drupal’ Category

My blog to where ? Drupal or Wordpress?

Thursday, January 31st, 2008

I don’t see any issue of using Wordpress for my blog, but I feel like drupal is going to be better.

“Planning to move to drupal” is it a wise decision ?

Your comments…

Almoslim.net is planning release a new look using Drupal!!

Monday, November 12th, 2007

Almoslim.net is an islamic website, and the website is contributing with so many good islam contents, especially in raising families.
A day in the last months, I evaluated their current content management software, unfortunately, they software so so old running using CFM, and only one developer knows how to do development on top of their proprietary softwares.
After the demonstration of how good is drupal, and how hard is to maintain the current old software, they decided to move to Drupal as the backend engine.

Recently, I start to see more of Arabic good content website release using Drupal. even the website are not that complicated but believe me, that’s only 2% of what you can utilize using drupal.
some of those websites:

Adobe Launches Drupal App on Flex.org

Wednesday, September 26th, 2007

Another company trusted drupal as a backend system for a show case. Flex is a development flash application platform (IDE),

The backend of the application uses Drupal, along with the Services, AMFPHP, Vote up / down and CCK modules. The front end of the application is written in Adobe Flex, with custom components written in Flash

http://flex.org/showcase_app

Drupal got Webware 100 Award Winner

Friday, July 6th, 2007

As I’m interested in Drupal CMS, CNET announced their webware award, and as I believe in Drupal, they reserved their seat in the award, read the rest here

Drupal 5 Released!

Tuesday, January 16th, 2007

Yesterday , Drupal version 5 has been release. it sounds promising release. however if you have run over some development on version 4 you might get angry since your development wont be any longer valid and you need to make it compliant with 5.

Actually I didn’t do too much development on 4.7 , but I have some simple modules and I have to look for straight steps to use them to convert but unfortunately I couldn’t find anything yet, what I find only this too much talk about the changes :( which is not easy go through. So I might write my own steps and post them here to so you benefit from them.

The most preferred Drupal’s modules to me.

Tuesday, January 16th, 2007

As I started using Drupal to built content websites, I paid attention to some contributed modules which are very useful and very intelligent and here I’m listing some of those modules so it will save time of anyone who would like to start using Drupal:

  • CCK: Use it if you would like to create a new node type with extra fields more than just a title and body, a very important module, if you start using this module 85% of your development for your website will be dropped.
  • Contemplate: Most likely it came because of CCK, after you create a new content type using CCK, you will need to implement a view template for it ( since you have extra fields more than just a title and body) , so it will allow you to display the content as you wish.
  • CCK Field Permission: Oh, this is a very smart module :) , if you want this field of this type of content not to be seen by any role of users , you will be able to do it using this module. Example: a module called telephone directory, you would like to display all fields to everybody except the email and only registered people can see the email. so what you need in this case is to use this module.
  • Aggregator: It’s by default shipped with Drupal 5!
  • Image: To manage Images, Attached image to your article, to make multiple galleries. ( nice to make thumbnails ).
  • Views: The Second Most powerful modules , in conjunction with CCK you might not need any more coding to build most of your needs in content websites. Views is a kind of a modern querying interface to generate block , or list of nodes that match certain criteria, like All last post of type News ordered by Creation date.
  • disknode: a nice tool to attach files to any kind of node.
  • Taxonomy Access(Category Access):
  • TinyMCE: Drupal comes with Simple Text Area to type your text for you posts, but the modern way is to use WYSIWYG so you can paste from MS Word or any Word processing application. and You can manage your post without taking care about HTML.
  • Actions: Nice for Drupal developers who would like to develop something and need to give the administrator the control to apply the actions at a certain time or certain condition, but you will need to program the action itself.
  • Workflow: Very intelligent module, if you would like to flow the steps for a kind of nodes until they get published, then you will need a work flow. Example: an Article for a magazine, will be inserted by an editor. then it needs to be verified from a person so the article wont be published with some lack in language, then it has to go to the manager to approve it , and finally it’s published!. if you would like to do so, then use workflow.
  • Upload: a standard module ,it allows you make it possible for any node type to have upload attachment file.
  • Profile: Your registered users might be required to fill some extra information more than just a username and password, example: full name , age , location etc.. and it’s up to you to put what you would like to keep.
  • Print: Adding Print-Friendly capability , and.
  • Path: Adding a direct make to any node.
  • Default Filter: Adding the ability to set the default input filter for each role of users
  • HTML Correcter: since you are going to user teaser in your website still need to close all html tags that’s been open ‘correctly’ in the original text.

and Since Drupal 5 is released today I will be posting another post about what is new in Drupal 5, and what is good over all in Drupal.

Templates that I like for Drupal

Friday, January 12th, 2007

Since I started using Drupal as my CMS engine for any website needs to be developed, I started trying to collect some template( in drupal called theme). and I found this website http://theme.drupaler.net/ it contains a good number of themes , however those themes does not work Right to left yet.

I selected some of them and inshallah soon I will past theme there and here too.

here are some of I selected,

How make front Page with different Template in Drupal

Friday, January 12th, 2007

Some poeple like to have a module called front_page , to have different template for their front page. I found a simple way to do so, if you are interested to this subject, keep reading :)

first of all, I suggest to you to use PHPTemplate Engine. since it’s simple and no need for any learning curve if you know how to write simple scripts in PHP.

in your Theme Directory, create a file called template.php, this file is used to control any variable just before it’s passed to the template files.

And paste this code in it,


function _phptemplate_variables($hook, $vars = array()) {
switch ($hook) {
case 'page':
if ($vars['is_front']) {
$vars['template_file'] = 'front_page';
}
break;
}return $vars;
}

and create a file named front_page.tpl.php and start use this file to template your front page.

Drupal is a wonderful CMS, and good for Developers

Thursday, November 16th, 2006

I started using Drupal as PHP Content management System, to develop some website. And Day by day, I started to believe it’s wonderfull software for developers to build complicated software.

Here are some features that I like and is making the development on top of Drupal fast and nice:

  • Authentication is handled by Drupal , you don’t need to use any mechanism, it’s there you only need to see if global variable $user has uid or not.
  • Authorization is handled by Drupal, you define the authorization strings and check it anytime you want inside your code
    Ex: if ( user_access(’can delete the photo’)) delete_photo($photo_id);
  • In Drupal, if you are not a programmer , you will be lucky using Drupal. check this link . it contains the most important modules that can help you to build wonderful website.
  • In Drupal, if you are a programmer, and would like to develop you services. Module programming in Drupal is very easy and simple. check this tutorial in 10 minutes you will be a drupal module developer.
  • Templating in Drupal is just a php file to print the variables. but that helps you will reach to MVC model.
  • Drupal is simplifying the forms displays, and the validation is wonderful.

I’m working to develop a large website on top of drupal. and I will get back to you with more experience about Drupal.