[drupal-support] get node currently seen
Adrian Rossouw
adrian at bryght.com
Thu Apr 21 14:55:44 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21 Apr 2005, at 8:06 AM, Maykel Moya wrote:
> How can I get a reference to the currently viewed node from a
> phptemplate based theme ?
PHPTemplate for 4.6 allows you to access the currently viewed node from
the page.tpl.php.
The variable name should be $node , iirc.
- --
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD4DBQFCZ77tgegMqdGlkasRAnNNAJY+twu4LQfDYKzVAgsDTgNxj7RHAKCpZHAR
hMEnot/rCPsB8rrITydE7Q==
=W1HJ
-----END PGP SIGNATURE-----
More information about the drupal-support
mailing list