tpl

Fix for TPL separados por nome

  1. function phptemplate_preprocess_page(&$vars) {
  2.         $alias = drupal_get_path_alias(str_replace('/edit','',$_GET['q']));
  3.         if ($alias != $_GET['q']) {
  4.           $suggestions = array();

TPL separados por nome

  1. function _phptemplate_variables($hook, $vars = array()) {
  2.  
  3.   switch ($hook) {
  4.  
  5.     case 'page':
  6.  
  7.           if (module_exists('path')) {

user-profile.tpl.php

  1. <?php
  2.  
  3.   global $base_path;   
  4.  $visitor = $GLOBALS['user'];
  5.  $js = drupal_add_js($data = 'misc/collapse.js', $type='theme', $scope='header', $defer=FALSE, $cache=TRUE);
Syndicate content