Blog Archives

Drupal – Call a Block in page.tpl.php


<?php //print out block 26 $block = module_invoke(‘menu_block’, ‘block_view’, 26); print render($block[‘content’][‘#content’]); //dpm($block); //uncomment to view with devel enabled ?>

Posted in Drupal, Mixz Tricks

Drupal 7 create custom slidershow


Today I gonna show you how to install and setup the amazing views slideshow module on Drupal7. (1) Required Modules (Version: Drupal7.0) Views (7.x-3.0-beta3) Views Slideshow (7.x-3.0-alpha1) Chaos tool suite (7.x-1.0-alpha4) Libraries (7.x-1.0) Link Field (7.x-1.0-alpha3) Token (optional) (7.x-1.0-beta1) (2)

Posted in Drupal, Mixz Tricks

Styling views in Drupal


Steps : 1.   Add field(which to display) and check the option “Exclude from display“. 2.  Now go to “Rewrite Results” and check the option “Rewrite the output of this field” and below there is a section called “Replacement patterns” where

Posted in Drupal, Mixz Tricks

Change hosting site for a live site(say for a Drupal site, from Dreamhost to Bluehost)


Steps : 1. login to the cpanel of bluehost(just taken an example). 2. create a database for your project. 3. create a user for your database. 4. Add the ip of bluehost to your “hosts” file(/etc/hosts)like below (If you won’t

Tagged with: ,
Posted in Drupal

Block Registration Functionality in Drupal’s admin pannel


How to make the drupal’s admin panel enable for registering the admin only: – go to admin panel->people->permission – search for “user settings” , you get it in the top paragraph, just click on it. – You will see a

Posted in Drupal
Follow me on Twitter

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 442 other followers