$THEME_URLS = array( array('/admin','garland'), # Drupal already support admin theme anywho array('/users','fancy_user_theme'), array('/forum','forums_theme'), ); foreach ( $THEME_URLS as $info) if ( strpos($_SERVER['REQUEST_URI'],$info[0])===0) $conf['theme_default'] = $info[1];
Drupal Experts As we have covered wide range of projects for various industries our professionals are experienced and keep good knowledge of online environment. We are always open to handle challenging projects and to provide ultimate solution to our customers. Open source web development projects are one of our specialties in the range of customized services we provide to our clients.
Friday, 25 May 2012
Change Drupal Theme Based On URL Path
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment