Author Archive

The default templates and themable functions contribute a good deal to the productivity on a Drupal site, and several are positioned on the page through the assignment of blocks to regions. Today we will focus mainly on how to control the formatting of a site’s various modules and blocks.
1. Dynamically Styling Blocks:
Block [...]

  • Share/Bookmark
Tags:

First I am telling you what is the main logic behind the lighbox. It is very simple & you can easily do it if you have a little knowledge of css & html.
1.    In a lightbox you can see a black box appers & it covers the whole browser – it is nothing but a [...]

  • Share/Bookmark

Hi people , this is my first tutorial on drupal themes. Drupal is a fantastic CMS technology by which you can create your own website (If you have a little knowledge in HTML , CSS & PHP). Now , why drupal is so famous & Powerful? Because NASA & MICROSOFT Give their valuable time [...]

  • Share/Bookmark
Tags:

Folder structure [From root]

Application
 

Controllers

This is the controller section of your site .
Controllers are nothing but a class file & within the class many action controller function/method are defined.

Controller function name is very case sensitive (camelCase) . [...]

  • Share/Bookmark
Tags:

Variable declaration / definition
To access a variable you have to declare it from your controller section & then you can use this variable in the view section.
Usage: Controller page
public function nameAction()
{
$request = $this->getRequest();
$this->view->assign(‘name’, ‘Sandipan Bhattacharjee’); // we assign a value to the name variable
[...]

  • Share/Bookmark
Tags:

Database Manipulation

Create a controller
Call / Create(Write) Database configuration setting
Request data object creation
Assign message (Success / Failure / Already exists)
Create a view page to see the message or to redirect to the previous page to fill it up again

Controller creation
public function processAction(){
}
Database configuration creation/call from registry
$registry = Zend_Registry::getInstance();
$DB = $registry['DB'];
Or
$params = array(‘host’=>’localhost’ , ‘username’ [...]

  • Share/Bookmark
Tags:

This presentation displays the intricacies of Drupal. What it is? How it works? What are the facilities etc.
To download and view the presentation click on the the link below:-
http://blog.codez.in/post-files/DrupalWebinar.ppt

  • Share/Bookmark
Tags:

We often see that we can’t access some of the websites that are blocked by the administrator or some-one. Most of us have faced this problem in our school or at the cyber-cafe.
I am telling you some cool tricks that really work.
1.Just type the url in your browser & instead of http:// you have to [...]

  • Share/Bookmark
Tags:

blog.codez.in/post-files/gallery-1.zip
Download the plugin from above mentioned address.
To activate this plugin in your wordpress blog, go to
plugins->Gallery->install->activate
plugins->Gallery->activate
1. Go to the admin (Wp-admin)
2. Go to any page/post
3. Edit that page/post
4. Write
<Fade-In-Out-Gallery>
to display it into that page/post

  • Share/Bookmark
Tags:

I am going to tell you how to make a Simple clickable gallery in 3 steps
Step1: Make the html page[Make the container & inner element]
<div id=”wrapper” align=”center”>
<div id=”transition”>
<a id=”auto_play” href=”#”>Auto Play Slide Show</a>
<a id=”previous” href=”#”><<Previous</a>
<a id=”next” href=”#”>Next >></a>
</div>
<div id=”big_image_container” align=”center”>
<img id=”big_image” src=”image/pic1.bmp” title=”Big Image” />
</div>
<div id=”thumb_image_container”>
<img src=”image/pic1.bmp” alt=”image1″ title=”image1″ />
<img src=”image/pic2.bmp” />
<img src=”image/pic3.bmp” />
<img [...]

  • Share/Bookmark