DrupalBin
Submit Code
About
Recent Posts
how to add a ahah form element after submit
8 hours 40 min
ago
user_deco add functions
8 hours 51 min
ago
simple version
11 hours 44 min
ago
Fix for D6 path_set_alias
12 hours 40 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
tpl
Fix for TPL separados por nome
October 10, 2008 - 3:03pm — Anonymous
function
phptemplate_preprocess_page
(
&
$vars
)
{
$alias
=
drupal_get_path_alias
(
str_replace
(
'/edit'
,
''
,
$_GET
[
'q'
]
)
)
;
if
(
$alias
!=
$_GET
[
'q'
]
)
{
$suggestions
=
array
(
)
;
tpl
Add new comment
Read more
TPL separados por nome
October 10, 2008 - 2:51pm — Anonymous
function
_phptemplate_variables
(
$hook
,
$vars
=
array
(
)
)
{
switch
(
$hook
)
{
case
'page'
:
if
(
module_exists
(
'path'
)
)
{
tpl
Add new comment
Read more
user-profile.tpl.php
September 21, 2008 - 12:26pm — Anonymous
<?php
global
$base_path
;
$visitor
=
$GLOBALS
[
'user'
]
;
$js
=
drupal_add_js
(
$data
=
'misc/collapse.js'
,
$type
=
'theme'
,
$scope
=
'header'
,
$defer
=
FALSE
,
$cache
=
TRUE
)
;
php
profile
tpl
user
Read more