Tuesday 13 July 2004 3:31:07 pm
Its the first i've heard of onPublish! I had a quick look at the code and its part of a datatype: Heres the code comment from kernel/classes/ezdatatype.php
/*!
Perfoms necessary actions with attribute data after object is published,
it means that you have access to published nodes.
\return True if the value was stored correctly.
\note The method is entirely up to the datatype, for instance
it could reuse the available types in the the attribute or
store in a separate object.
*/
and docs: http://pubsvn.ez.no/doxygen/classeZDataType.html#a13 Basically this involves creating a new datatype, which could be a copy of ezurl. You could then add code to interface with phpBB. When you publish your article the attribute will be published which will trigger this code. Workflows are a little neater than a new datatype. Though you could patch an existing datatype... Its cost/effort decision for implementing one over another. paul
-- http://www.visionwt.com
|