Written by:
norvin

Almost all of the websites today have recently implemented a new way of “logging in” and “registering.” And nearly all of them use Javascript powered libraries like Colorbox, Lightbox, Thickbox and Highslide. Take for example the beinenu.com site. The “login” and “register” form was implemented using the Drupal Colorbox module. This information might be considered common knowledge to almost all web developers; however, it really is kind of tricky when you implement it.

Belongs to the subject:
Colorbox, drupal, forms, JavaScript, login, popup
3 comments
Written by:
norvin

The Drupal ‘View’ module is indeed very powerful and if you learn how to work around its capabilities (with the help of other contributed modules), there is no way of telling its limitations. It is commonly known as a "smart query builder tool" that allows you to query the database without creating a hard coded SQL command. You can do just about anything in “views” with regards to generation of reports and creating display units, from simple queries to complicated ones.

Belongs to the subject:
drupal, Nodequeue, views
1 comments
Written by:
ami
Recently, I was trying to find a simple way to change the default input format of fields to 'Full HTML'.
I created a hook_form_alter() function in my module and for my content type body, I wrote the following:
<?php
function MODULENAME_form_alter(&$form, &$form_state, $form_id) {
  switch ($form_id) {
    case 'MYCONTENT_node_form':
      // Set default body field input format to Full HTML
      foreach(element_children($form['body_field']['format']) as $key) {
        $form['body_field']['format
Belongs to the subject:
ckeditor, drupal, input format, wysiwyg
0 comments
Written by:
ami
You may already be aware of the following, but because I keep seeing this error in the files (probably some leftovers from a designer who is no longer working with us) I want to take a minute to bring this to everyone’s attention:
When you use attributes, such as “padding-left” and “margin-right”, in a .css file, you have to pay attention to these attributes when writing the overrides in the -rtl.css file.
Belongs to the subject:
css, margin, padding, rtl
1 comments
Written by:
norvin

Have you ever noticed that some CSS implementation in the Mozilla Firefox browser displays differently than in today’s other leading browsers, including Internet Explorer, Google Chrome, Opera and Safari? If you have, then this blog is for you! Often times, only web developers notice these differences, but if you are a keen observer of how a website looks, you will definitely spot the differences. This article discusses ways to implement the cross-browser compatibility check in Drupal sites. 

2 comments
Syndicate content