Posts Tagged ‘Website’

Drupal- How to include a file in drupal template, theme like common Header, Footer

Here is how you can include a common header, footer in drupal- <?php include ($directory.”/includes/header.php”); ?> “$directory” is a variable automatically available in Drupal which holds the value of a path to your currently executed theme.

Drupal- How to add a drop down menu to your website using CSS SuckerFish Menu

A drop down menu can be easily added to you website using basic CSS. Here we will explain that how to add a drop down menu to your drupal theme using one of the best menu system available- SuckerFish Menu.

Drupal- How to place a “name” attribute anchor link in menu item

If you are trying to place a “name” attribute in menu hyperlink then this can be accomplished by declaring  a function in your template.php file as below-