Re: Re: Re: Re: Hi

Posts: 91
Joined: 01/11/2008

What I did was copy everything out of my node.tpl.php file and removed and replaced
<?php print $content?>

with my current mode-product.tpl.php content

Then at the top in
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">

I added

<?php print $node->nid; ?>

To make it look like this
<div class="node <?php print $node->nid; ?><?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">

Nifty Products Tutorial Part 1 By: mykz- (73 replies) Wed, 03/19/2008 - 20:04