DrupalBin
Submit Code
About
Recent Posts
Fix for Code
4 hours 30 min
ago
Fix for Code
4 hours 31 min
ago
Code
4 hours 36 min
ago
whole thing
5 hours 28 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
page.tpl.php
Sample page.tpl.php
August 2, 2008 - 1:30pm — Anonymous
<?php
// $Id: page.tpl.php,v 1.28 2008/01/24 09:42:52 goba Exp $
?><!DOCTYPE html
PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
>
page.tpl.php
Read more
Amorfati's page.tpl.php
April 16, 2008 - 1:14pm — Anonymous
<!DOCTYPE html
PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
>
blocks
page.tpl.php
Read more
add node type as body class
March 12, 2008 - 12:28pm — Anonymous
page.tpl.php
<html>
<body
class
=
"<?php print($node->type) ? $node->type : 'notype';?>"
</body>
</html>
page.tpl.php
theme
Fix for adding a view name class to page.tpl.php
November 13, 2007 - 2:07am —
jGirlyGirl
// in template.php
function
_phptemplate_variables
(
$hook
,
$vars
)
{
switch
(
$hook
)
{
case
'page'
:
foreach
(
views_get_all_urls
(
)
as
$key
=>
$value
)
{
if
(
$_GET
[
'q'
]
==
$value
)
{
css
page.tpl.php
template.php
theming
views
Read more