DrupalBin
Submit Code
About
Recent Posts
how to add a ahah form element after submit
8 hours 50 min
ago
user_deco add functions
9 hours 1 min
ago
simple version
11 hours 55 min
ago
Fix for D6 path_set_alias
12 hours 51 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
regions
block visibility code doesn't work in all regions
February 28, 2008 - 3:04pm — Anonymous
if
(
drupal_is_front_page
(
)
==
TRUE
)
{
return
FALSE
;
}
else
{
return
TRUE
;
}
block
regions
theming
Example Regions for Template.php
January 8, 2008 - 10:48am — Anonymous
<?php
//I have three regions: partners, content, and footer. You regions are probably different
function
mytheme_regions
(
)
{
return
array
(
'partners'
=>
t
(
'Partners'
)
,
regions
Read more