Automatically create seo friendly URLs
The module pathauto allows the automatic creation of seo friendly URLs.
The module pathauto allows the automatic creation of seo friendly URLs.
This module allows you to specify a redirect from one path to another path or an external URL, using any HTTP redirect status.
Some related and recommended modules for redirects:
The Content Access module allows you to manage permissions for content types by role and author.
$variable = condition ? if true : if false
An example is shown below:
$style = isset($_GET['style']) ? $_GET['style'] : 'default';
This checks whether variable $_GET['style'] is set. If it is variable $style is given this value. Alternatively, variable $style is given the value 'default'.
print date (jS M y, timestamp) will produce 28th Oct 09
print date(jS F y, timestamp) will produce 30th January 2011
Navigate to 'Input Formats'.
Home > Administer > Site configuration > Input formats
Then configure between:
By using the 'configure' options these may be alloacted to different roles.
This can be activated within the Drupal Core - Optional. Go to Home › Administer › Site building › Modules and check "Update status".
This can be achieved using the following two modules:
print l($node->field_image1[0]['view'], $node->field_pdf1[0]['filepath'], array('html' => TRUE));
?>
Check out: http://drupal.org/node/485312