I've made a certain pagetype with my own set of data fields. The administrator can add the pages without any problem using the cms. But now i've got a private public section where logged in visitors should also be able to add those kind of pages.
When building the DB SS has made 3 tables :
Now i've made a form containing al the fields needed and when i process that form i could create an object $obj = new [pagetype]Page; and then $form->saveInto($obj);
I also need it to get into the sitetree so the page can be called with an url.
Finally my questions..
Are there functions inside SS so i can automatically publish the latest added page to the _Live table and how should i get it into the SiteTree / SiteTree_Live
Hopefully i'm clear enough!
Thanks in advance!