[development] Drupal 6.x hook_menu question regarding use of wildcards - Modified
Ron Parker
sysop at scbbs.com
Sat Feb 16 19:48:40 UTC 2008
You are absolutely correct! Gosh, why didn't I think of that? Made the modification.
Thanks!
-ron
Message: 3
Date: Sat, 16 Feb 2008 00:37:41 +0100 (CET)
From: "Karoly Negyesi" <karoly at negyesi.net>
Subject: Re: [development] Drupal 6.x hook_menu question regarding use
of wildcards - Resolved
<?php
function _agenda_list($node) {
return agenda_list($node->nid);
}
?>
why not make agenda_list accept a $node instead of a nid and change inside? Why a whole wrapper?
<?php
function agenda_page_title($node, $text) {
$return = $text . $node->title;
return $return;
}
?>
--
Ron Parker
Software Creations http://www.scbbs.com
Self-Administration Web Site http://saw.scbbs.com
SDSS Subscription Mgmt Service http://sdss.scbbs.com
Central Ave Dance Ensemble http://www.centralavedance.com
R & B Salsa http://www.randbsalsa.com
More information about the development
mailing list