<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="codeblock"><code><span style="color: rgb(0, 0, 0);"><span
 style="color: rgb(0, 0, 187);">I'm trying to figure out if I can use
wildcards in this manner:<br>
<br>
&lt;?php<br>
&nbsp; $items</span><span style="color: rgb(0, 119, 0);">[</span><span
 style="color: rgb(221, 0, 0);">'node/agenda/list/%node'</span><span
 style="color: rgb(0, 119, 0);">] = array(<br>
&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(221, 0, 0);">'title callback' </span><span
 style="color: rgb(0, 119, 0);">=&gt; </span><span
 style="color: rgb(221, 0, 0);">'node_page_title'</span><span
 style="color: rgb(0, 119, 0);">,<br>
&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(221, 0, 0);">'title arguments' </span><span
 style="color: rgb(0, 119, 0);">=&gt; array(</span><span
 style="color: rgb(0, 0, 187);">3</span><span
 style="color: rgb(0, 119, 0);">),<br>
&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(221, 0, 0);">'page callback' </span><span
 style="color: rgb(0, 119, 0);">=&gt; </span><span
 style="color: rgb(221, 0, 0);">'agenda_list'</span><span
 style="color: rgb(0, 119, 0);">,<br>
&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(221, 0, 0);">'page arguments' </span><span
 style="color: rgb(0, 119, 0);">=&gt; array(</span><span
 style="color: rgb(0, 0, 187);">3</span><span
 style="color: rgb(0, 119, 0);">)-&gt;</span><span
 style="color: rgb(0, 0, 187);">nid</span><span
 style="color: rgb(0, 119, 0);">,<br>
&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(221, 0, 0);">'access callback' </span><span
 style="color: rgb(0, 119, 0);">=&gt; </span><span
 style="color: rgb(221, 0, 0);">'user_access'</span><span
 style="color: rgb(0, 119, 0);">,<br>
&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(221, 0, 0);">'access arguments' </span><span
 style="color: rgb(0, 119, 0);">=&gt; array(</span><span
 style="color: rgb(221, 0, 0);">'view agenda'</span><span
 style="color: rgb(0, 119, 0);">),<br>
&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(221, 0, 0);">'type' </span><span
 style="color: rgb(0, 119, 0);">=&gt; </span><span
 style="color: rgb(0, 0, 187);">MENU_CALLBACK<br>
&nbsp; </span><span style="color: rgb(0, 119, 0);">);<br>
</span><span style="color: rgb(0, 0, 187);">?&gt;</span></span></code></div>
<br>
Since <b>array(3)</b> represents node_load(arg(3)), can I use the
statement <b>array(3)-&gt;nid</b> for the node id. Or, for that
matter, <b>array(3)-&gt;type</b> for the node type?<br>
<br>
If not, what's the correct way?&nbsp; Would it be the old fashioned way
(i.e., <code><span style="color: rgb(0, 0, 0);"><span
 style="color: rgb(221, 0, 0);">page arguments' </span><span
 style="color: rgb(0, 119, 0);">=&gt; arg(3)</span><span
 style="color: rgb(0, 0, 187);"></span><span
 style="color: rgb(0, 119, 0);"></span><span
 style="color: rgb(0, 0, 187);"></span><span
 style="color: rgb(0, 119, 0);">)?<br>
<br>
Thanks for any assistance.<br>
<br>
-ron<br>
</span></span></code>
<pre class="moz-signature" cols="72">-- 
Ron Parker
Software Creations               <a class="moz-txt-link-freetext" href="http://www.scbbs.com">http://www.scbbs.com</a>
Self-Administration Web Site     <a class="moz-txt-link-freetext" href="http://saw.scbbs.com">http://saw.scbbs.com</a>
SDSS Subscription Mgmt Service   <a class="moz-txt-link-freetext" href="http://sdss.scbbs.com">http://sdss.scbbs.com</a>
Central Ave Dance Ensemble       <a class="moz-txt-link-freetext" href="http://www.centralavedance.com">http://www.centralavedance.com</a>
R &amp; B Salsa                      <a class="moz-txt-link-freetext" href="http://www.randbsalsa.com">http://www.randbsalsa.com</a>
</pre>
</body>
</html>