Drupal ResourcesEssential Drupal SEO Modules: (1) Global Redirect Module: At this year's Drupalcamp Atlanta, Steven Jackson and... To display the user name for the current logged-in user of a Drupal site, while also providing "login" & "logout" links, the following if/else conditional function can be used (or modified as needed). <?php if($user->uid==FALSE... The script below is an example of how to embed a view into a node template (.tpl file) in Drupal. <?php 1) Backup & Copy site files & database to a Local Site and/or Staging Server, including .htaccess, robots.txt, sites directory (settings.php), contrib modules, custom theme, & files directory. Setup a "Legacy" version of the site to... To increase the default php memory limit and max file upload size in Drupal 6, the following methods can be performed: If you have access to your php.ini file add this script (recommended): In your php.ini file... The following PHP function checks to see if a particular taxonomy id (term name) exists: <?php Here is an example theme.info file to reference formatting for declaring page regions and style sheets custom to that theme. ; $Id: theme-name...
|
