Tuesday, April 20, 2010

Time to move ahead in css selectors

I thinks its time to use some more selectors in css . Earlier I have used Element Selectors , Id Selectors , Class Selectors etc.
There are some more selectors like child selectors, adjacent selectors , Attribute Selectors which we can use in css. These selectors are not supported by older browser like IE6 but I believe its time to move on

Sunday, April 18, 2010

Removing post information in Drupal

Post information is theme dependent
  1. Administration > Theme 
  2. Click on configure in default theme
  3. Go to Global Settings
  4. Uncheck the display post information on the type of content you want
By default page content type has no post information. Blog and story type has post information

Steps to use fckeditor module

Here we going to install a contributed module

  1. Go to http://drupal.org/project/fckeditor
  2. Download the stable release Green one
  3. Create a modules(if not there) in sites/all
  4. Copy the module files there
  5. Enable the Module in Administrator/Modules
  6. Give the permission in Administrator/Permission
  7. Go to http://sourceforge.net/projects/fckeditor/files/FCKeditor/2.6.6/FCKeditor_2.6.6.zip/download 
  8. Download the file and replace the fckeditor folder inside the modules/fckeditor with the folder downloaded in step 7
  9. Administrator /Site Configuration/FCKeditor to configure this module
  10. Edit the advanced profile inside the file browser setting use the IMCE browser type (Need to install the IMCE module)

Saturday, April 17, 2010

Microformat

Microformat define the exact nature of content by using css classes .

Some good firefox extension which detect microformat information
http://microformats.org/wiki/firefox-extensions

Saturday, April 10, 2010

Tricks in Eclipse

To Format the code in eclipse source editor

Select the code
Right Click => Source => Format
it will format your code and remove horizontal scrolling

ctl+shift+F shortcut to do the formatting

To Add Comment

Select the code
Press ctl+/ to comment each line
Press ctl+shift +/ to add block comment

Friday, April 2, 2010

some more drupal ..

Every url in browser in Drupal map to some module like node/11 handled by node module

admin/build/themes => system module


To install a new theme in Drupal

1 Download a new theme and unzip it
2 Create a folder /sites/all/themes
3 Copy theme in this themes folder
3.Go to http://yoursitename.com/admin/build/themes and enable the themes

Thursday, April 1, 2010

Working with Flex

Just recently started working with flex My take is if you are doing some application which required heavy client side utilization go for some RIA technology

Its look like its not easy in flex to do localization on the basis of browser locale selection