Search found 2 matches

by operron
Tue Oct 09, 2007 8:54 pm
Forum: Joombie Coding Q/A
Topic: Any API in Joomla 1.0.x to add some new content ?
Replies: 1
Views: 586

Re: Any API in Joomla 1.0.x to add some new content ?

I had a look at com_content and came with the following function to achieve what I want: function addContent($sectionid, $categoryid, $published, $authorid, $title, $content_text) {         global $database;         $nullDate = $database->getNullDate();  ...
by operron
Tue Oct 09, 2007 3:05 pm
Forum: Joombie Coding Q/A
Topic: Any API in Joomla 1.0.x to add some new content ?
Replies: 1
Views: 586

Any API in Joomla 1.0.x to add some new content ?

I've started to write a small component that upload a kml file to the server and now I would like this component to automatically create a new content based on that file. Is there any API like: create_content(section_id, category_id, published, author_id, content_text); which could do the job? Or do...