Every one working as Drupal Developer must know how to customize the layout of any module output i.e. theming functions and hook_theme...The similar functionality of customizing modules output is also exist in Joomla. i.e. Joomla is similarly powerfull enough to utilise the MVC architecture to control over layout of modules and components easily.
To Do the customization you only require to add the default.php file ( mostly found under tmpl folder of a modu...
Read more...
|
Ever wonder how do you show some text in the Drupal default search box without using jquery_plugin or jquery labelify scripts.
Yes you can as i did on one of my client website here http://www.propelictqa.com/ . I created a simple module to overite the default value of search input field via hook_form_alter and added an attribute for onfocus and onblur event.
Like this:
function yourmodulename_form_alter(&$form...
Read more...
|
Recently i have developed a Social Networking Website in drupal. At first it was looking difficult to get all the features and functionality that a normal on-line community site has but drupal is such a wonder to work with.Drupal is not just a CMS as it is simply taken.It is an extensible framework for building highly functional dynamic user-focused websites.Drupal is provide an abstract framework which means it follows presentation-abstraction-control.
Drupal community provide...
Read more...
|
Recently working on a Property project in Joomla I found myself stucked when i got a requirement to show videos, images, location and panoramic street view in tabs. I know there are lots of modules available in joomla to create tabs but my client do not wish an extra module load Hence the only way to implement the functionality in property component and bingo I got Jpane Class at right time.
Yes Most of us used to with the available multitabs modules in joomla bu...
Read more...
|
Have you ever wanted to have an ordering system in drupal similar to joomla i.e. you can show the list of nodes acc. to the order you want to set instead of just setting it up in ascending or descending or by view sort criteria.
I just encountered a similar issue in my one of the proejct ..The client wish to have a simple way to set nodes order by just drag and drop functionality. and voilla I found Noderorder module.
...
Read more...
|
Drupal sessions:
How Sessions works on drupal:
The page request send by the browser includes a 32-character ID known as PHPSESSID under set- cookie tag, which is used as the key to the session information that drupal stores about session.
The settings for session management are done in three files i.e. .htaccess, settings.php nad bootstarp.inc
By default drupal uses the cookie based session management instead of URL base session manage...
Read more...
|
This post is about the Form API of drupal6, You may find this post written in a little bit of unimpressive way, this is bcoz i am running short of time these days nonetheless i would like your suggestions and comments at any time and will try to make them happening:
Forms API
The forms API abstracts forms into a nested array of properties and values.
$form_values is array which holds form elements values.
The f...
Read more...
|
Caching is required to prevent dynamic websites numerous trips to the database to retrieve information about saved content, user, setting and config. Caching is used to speed up a website performance and visibility.
Drupal uses its cache API to provide caching of modules, node and pages. The default table in which drupal stores the module settings is called 'cache'. We can create our own cache tables for various modules. The only requisite of cache API for custom cach...
Read more...
|
Mod_placehere is quite a nice module , easy to use and deploy the articles on any page in form of a module. However while using Mod_placehere module in Joomla I came to know some point to consider i.e.
mod_placehere is not using meta data of articles to show on each page that means the global meta data(keywords and description) would be viewable on every page where articles are rendered through mod_placehere module.
So I did some hack in module code to show the keywords and de...
Read more...
|