| Wednesday 14 April 2004 4:31:31 am 
                                                                 Hi Björn, Thanks for your reply . Yes, I need to get the attributes of the current object using the PHP script.  I have included the piece of PHP script which you have mentioned. The code is: 
include_once("kernel/classes/ezcontentobject.php");$co = & eZContentObject:fetch($objectid); /* line 22 */
 $datamap = & $co->atrribute('data_map'); /* line 23 */
 $sometext = $datamap['resource_folder']->content(); /* Attribute is resource_folder */
 But I am getting error like: 
Fatal error: Call to a member function on a non-object in /home/hopetalk/Exponential-3.2-4/extension/urlredirect/modules/urlredirect/redirect.php on line 23Fatal error: Exponential did not finish it's request
 The execution of Exponential was abruptly ended, the debug output is present below. ...
 
I didnt know about the object ID. Is it because of the object ID?If so then how can I get the Object ID ?
 Or am I implementing the code wrong?  Please help me to get the solution. 
Thanks & regards,Sathish
 |