Forums / Developer / Is it possible to add eZ Flow blocks via the API?
Rainer Krauss
Monday 22 June 2009 2:40:57 am
Hi there,
I wonder if this is possible:
There is an installation of Exponential and eZ Flow. We intend to import content to it. Obviously, I'll have to use PHP scripts and the API to do the import - please correct me if I'm wrong here.
Our installation uses articles with eZ Flow blocks. From reading documentation, I know I can add articles via PHP and the API.Question: Is it possible as well to add blocks to articles via PHP and the API?
Your reply much appreciated!
Sincerely,Rainer Krauss
Heath
Monday 22 June 2009 3:02:55 am
Hello Rainer,
Yes indeed this is possible. Importing content can be complicated.Study the eZ PHP API while creating your script [0,1]
While I've note done so myself I would believeyou could use the very same apis to add blocks to articles.
Seems these apis are located within the ezflow extension [3]
Cheers,Heath
[0] http://pubsvn.ez.no/doxygen/trunk/html/ [1] http://pubsvn.ez.no/doxygen/trunk/html/classeZContentObjectTreeNode.html[3] http://svn.ez.no/svn/extensions/ezflow/trunk/packages/ezflow_extension/ezextension/ezflow/classes/ezpageblock.php
7x | https://se7enx.com/ Brookins Consulting | https://brookinsconsulting.com/ Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350 Solutions | https://projects.exponential.earth/users/community/brookins-consulting eZpedia community documentation project | http://ezpedia.se7enx.com