DrupalBin
Submit Code
About
Recent Posts
Fix for Views cumulus: tag_cloud
Fix for Code
sjfgjgjfgidfgh
Code
Code
test.berniecram.com.alias.drushrc.php
Code
provision-deploy error
Create node programmatically with file
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
node.tpl.php
Zen default node.tpl.php 'Title' code
August 10, 2011 - 5:49am — Anonymous
<?php
print
render
(
$title_prefix
)
;
?>
<?php
if
(
!
$page
&&
$title
)
:
?>
<h2
<?php
print
$title_attributes
;
?>
><a href="
<?php
print
$node_url
;
?>
">
<?php
print
$title
;
?>
</a></h2>
<?php
endif
;
?
node.tpl.php
title
zen
Read more
Re:
June 6, 2011 - 11:24am — Anonymous
freelance writer
custom
links
next
node.tpl.php
Nodel
page.tpl.php
previous
Fix for Add Preious/Next Link
February 12, 2010 - 6:07pm — Anonymous
<h3>mytheme_preprocess_node(){}</h3>
<?php
function
myTheme_preprocess_node
(
&
$vars
,
$hook
)
{
switch
(
$vars
[
'node'
]
-
>
type
)
{
case
'nodeType'
:
if
(
$vars
[
'node'
]
-
>
body
)
{
$resultn
=
custom
links
next
node.tpl.php
Nodel
page.tpl.php
previous
Read more
Add Preious/Next Link
February 6, 2010 - 11:21am — Anonymous
<h3>mytheme_preprocess_node(){}</h3>
<?php
function
myTheme_preprocess_node
(
&
$vars
,
$hook
)
{
switch
(
$vars
[
'node'
]
-
>
type
)
{
case
'nodeType'
:
if
(
$vars
[
'node'
]
-
>
body
)
{
$resultn
=
custom
links
next
node.tpl.php
Nodel
page.tpl.php
previous
Read more
load node.tpl.php by path
February 6, 2009 - 1:03am — Anonymous
function
blueprint_preprocess_node
(
&
$vars
)
{
// template name for current node id
$suggestions
=
array
(
'node-'
.
$vars
[
'nid'
]
)
;
// additional node template names based on path alias
node.tpl.php
Read more
CCK Text field snippet within node-<type>.tpl.php works
November 27, 2008 - 4:12am —
Sheppard
/*
* Code for BassPlaya
* I've tested this locally and it works for me
* the first part of the condional is if it's a view it will truncate it
* to 8 chars.
CCK
node.tpl.php
template
Read more