Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MY_THEME_preprocess_page(&$variables) {
- if(CONDITION /* additional condition, e.g. $variables['is_front'] */) {
- if(user_is_anonymous()) {
- drupal_goto('node/13'); //change the url, with yours
- }
- else {
- drupal_goto('node/7'); //change the url, with yours
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement