tnx <br><br>i installed the prepopulate.module and enabled it in admin/modules.<br><br>can u give an example on the usage? <br><br>for ex: <br>i need to pass the value "book1" to the variable 'Book' to when creating a review object type . But the following did not work
<br><br><a href="http://localhost/drupal/?q=node/add/content-review?Book=book1">http://localhost/drupal/?q=node/add/content-review?Book=book1</a><br><br>tnx in advace.<br><br>Srimal.<br><br><br><div><span class="gmail_quote">
On 6/22/06, <b class="gmail_sendername">Moshe Weitzman</b> <<a href="mailto:weitzman@tejasa.com">weitzman@tejasa.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i thiunk you might need prepopulate.module in order to send that related<br>node in the querystring. see <a href="http://drupal.org/node/55310">http://drupal.org/node/55310</a><br><br>Srimal Jayawardena wrote:<br>> Hi<br>
><br>> Would anyone know how to pass the reference of one CCK object to another<br>> CCK object during object creation as an argument?<br>> (cck = content creation kit)<br>><br>> Ex:<br>> If i have two cck content types A and B with the following fields.
<br>><br>> A ( aid, some field)<br>> B (bid, aid, somefiled)<br>><br>> so that every B is related to an A.<br>><br>> When creating a new B object, how can I a pass the reference of an<br>> existing A object (ie an 'aid') via an argument (through the URL)? [
<br>> this should happen without the user having to enter it manuall -- i.e<br>> when the user clicks a particular URL a chosen aid shuold be passed ]<br>><br>> Tnx in advance<br>><br>> Srimal.<br>>
<br>><br>><br><br></blockquote></div><br>