Skip to Content

Sagar Ramgade's blog

Drupal 7.0 Alpha 4 released

Drupal 7.0 Alpha 4 released - Our third Drupal 7 alpha version was released just over a month ago. Today, we're proud to announce the release of the fourth alpha version of Drupal 7.x for your further testing and feedback.

Showing Different Drupal Themes on Different Pages

* Step 1: Click here to download the latest version of "Sections".
* Step 2: Extract the files into a folder on your desktop. The folder will be called "sections".
* Step 3: Login to your site's files via FTP and navigate to /sites/all/. If there isn't a folder called /modules/ here, create one.
* Step 4: Upload the "sections" folder to /sites/all/modules/
* Step 5: Go to Administer >> Site building >> Modules. Check the box next to "Sections" and click Save Configuration.

Showing Different Drupal Themes on Different Pages

Drupal 6 Custom Login Block

Drupal Login Block Sometimes the login block that is created from a Drupal theme isn’t as pretty as we might like. The ability to create custom login block really can be useful. Of course, you can take the time to edit the template files, but that can be complicated.

The Google Summer of Code 2010 is a go!

The Google Summer of Code 2010 is a go! - I'm excited to announce that the Google Summer of Code is happening again in 2010! Last year Drupal went a perfect 18-for-18, meaning that all of our students passed the SoC, and we even got a "bonus student" who worked on Drupal module for the Creative Commons.

New Drupal Book - Drupal E-commerce with Ubercart 2.x

New Drupal Book - Drupal E-commerce with Ubercart 2.x - Drupal E-commerce with Ubercart 2.x, by George Papadongonas and Yiannis Doxaras, is a new title from Packt Publishing. It is aimed at business owners and ordinary Drupal users without development expertise who want to create, administer and design their own online shop.

Drupal Vs Joomla and other CMS

Anyone trying to evaluate open source content management systems is aware that there aren't a lot of recent, useful comparative reviews. What's surprising is that this issue is true even for such popular solutions as Drupal and Joomla.

Stating in January that, "most comparisons of Drupal (news, site) and Joomla (news, site) conclude that you should select the one that best suits your needs. However, they give too little guidance about how to do that," Webology eBusiness Solutions set out to quantify the pros and cons of each by releasing a survey.
The Survey

How can I hide an input form and insert a default value?

In this example, we are going to hide the "title" field and populate it with the first and last name. We use CCK to add the firstname and lastname.

In this case we catch the "profile_node_form" but you catch any form you like.

<?php
/**************************************************************************
* Implementation of hook_nodeapi();
*/
function sns_form_alter(&$form, $form_state, $form_id){

if ($form_id = 'profile_node_form'){
$form['title']['#required'] = false;
$form['title']['#access'] = false;
};
}

Drupal Active trail for menu

Drupal Active trail for menu - So, from my experience and from what I’ve seen in forums on drupal.org it seems most people battling with site development in Drupal sooner or later ends up at a point where you wish the menu system was more easily customizable.

Syndicate content