Forums / Developer / Simulate create content
The Pirahna
Wednesday 27 April 2005 4:15:13 am
Oki ... i need a script for an extension that would make the same operations used to create new content (using a custom made class) ...
like the create a new article page ...
anyway ... i saw ez uses the content/edit page , an incremented id ...
so .. can anyone help me make a sepparate add content page ?
Bård Farstad
Wednesday 27 April 2005 7:41:32 am
You can look at some of the import/export contributions. They create content objects in separate modules. Mabye this code helps on along the way.
--bård
Documentation: http://ez.no/doc
Wednesday 27 April 2005 7:54:32 am
can i have an example of a script or something ?
oh ... and if you can explain a little how the template system works ? (i didn't really understand the documentation) ...i want to know how the .tpl files are connected and displayed using a .php file (as a module in an extension)
thanks