Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dtv_preprocess_node(&$vars) {
- // Determine if the user is auth'd
- if (user_is_logged_in()) {
- // Add a theme hook suggestion.
- $vars['theme_hook_suggestions'][] = 'node__youtube_media__auth';
- }
- }
- node--youtube_mdedia.tpl.php
- node--youtube_media_auth.tpl.php
Add Comment
Please, Sign In to add comment