DrupalBin
Submit Code
About
Recent Posts
Code
1 hour 16 min
ago
Code
13 hours 16 min
ago
scrollbox.js
17 hours 36 min
ago
imagefield_gallery_scrollbox.module
17 hours 36 min
ago
more
Tags
CCK
drupal
fapi
javascript
jquery
menu
module
Panels
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
template.php
Individual menu classes on theme
June 18, 2008 - 10:36am — Anonymous
/*******individual menu classes******/
function
phptemplate_menu_item
(
$mid
,
$children
=
''
,
$leaf
=
TRUE
,
$extraclass
=
''
)
{
template
template.php
theme
theming
Read more
enable / disable TinyMCE via template.php (Login/Logout Fix)
March 25, 2008 - 1:20am —
Ricc
<?php
/**
* Customize a TinyMCE theme.
*
* @param init
* An array of settings TinyMCE should invoke a theme. You may override any
* of the TinyMCE settings. Details here:
*
template.php
TinyMCE
Read more
Fix for custom _phptemplate_variables()
February 21, 2008 - 9:56pm — Anonymous
// Modified by Michelle (custom)
function
_phptemplate_variables
(
$hook
,
$vars
)
{
if
(
module_exists
(
'advanced_profile'
)
)
{
$vars
= advanced_profile_addvars
(
$hook
,
$vars
)
;
}
template.php
Read more
custom _phptemplate_variables()
February 21, 2008 - 8:19pm — Anonymous
// Modified by Michelle (custom)
function
_phptemplate_variables
(
$hook
,
$vars
)
{
if
(
module_exists
(
'advanced_profile'
)
)
{
$vars
= advanced_profile_addvars
(
$hook
,
$vars
)
;
}
template.php
Read more
maybe a problem with accents on drupal 6 for theme-settings.php
February 21, 2008 - 10:34am — Anonymous
/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if
(
is_null
(
theme_get_setting
(
'who_we_are_title'
)
)
)
{
global
$theme_key
;
/*
drupal6
template.php
theme-settings.php
Read more
Fix for maybe a problem with accents on drupal 6 for theme-settings.php
February 21, 2008 - 10:29am — Anonymous
/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if
(
is_null
(
theme_get_setting
(
'who_we_are_title'
)
)
)
{
global
$theme_key
;
/*
drupal6
template.php
theme-settings.php
Read more
Fix for maybe a problem with accents on drupal 6 for theme-settings.php
February 21, 2008 - 10:25am — Anonymous
/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if
(
is_null
(
theme_get_setting
(
'quem_somos_title'
)
)
)
{
global
$theme_key
;
/*
drupal6
template.php
theme-settings.php
Read more
maybe a problem with accents on drupal 6 for theme-settings.php
February 21, 2008 - 10:04am — Anonymous
/**
* template.php
*/
<?php
/*
* Initialize theme settings
*/
if
(
is_null
(
theme_get_setting
(
'quem_somos_title'
)
)
)
{
global
$theme_key
;
/*
drupal6
template.php
theme-settings.php
Read more
Example Page template
February 9, 2008 - 6:38pm —
JuliaKM
<?php
//your template can be found at myspecialtemplate.tpl.php
function
_phptemplate_variables
(
$hook
,
$vars
=
array
(
)
)
{
switch
(
$hook
)
{
case
'page'
:
template.php
theming
Read more
My question is: Have a better way to do this? or best pratice to get the user on this function? thanks!
January 17, 2008 - 11:06am — Anonymous
function
customized_node_submitted
(
$node
)
{
$user
=
user_load
(
array
(
'name'
=>
$node
->
name
)
)
;
return
t
(
'Submitted by !username on @datetime'
,
array
(
drupal
template.php
Read more
1
2
next ›
last »