Hi all
How can I create one document/container dynamically by passing its name and some html code. Also , we want to get back its document id [newly created] .
thanks & regards
Jurdy
Thanks for your help , but I have one more problem
I want to create a new document by passing formfield value as its pagetitle.
In detail;
I have one document which has one form and there is one text box and a submit button in it . I want to create a new document with the text field value as its [ new documents ] page title when I submit the submit button.
How can I do this? Pls help
Thank you for your help. It works fine for me too.
Pls help me in these issues also,
1.How can I go to the newly created page by default [ I want to load the newly created page after its creation by default]
2. How can I set user permission to the newly created pages. [ In detail, there is three type users Wholesale, Retail and Manager. Now the newly created document can access by three groups. I want to restrict it to Wholesale only.] There is any options for this at the time of creation.
I couldn’t find much documentation on docmanager.
Thanks & Regards,
Jurdy
Hi,
you should give a try to FDM (in development forum).
It’s based on eform and docManager class (authored by Ur001) to allow document creation from front end.
:-)
thanks for your help
how can I clear the cache using docmanager code after saving a document. Because we are creating documents as submenu of differnet main documents. And picking id of parent is at the creation time. So a landing page is difficult for this, I think. If you suggest any other way to clear the cache, it would be very helpful in this situation.
Thanks & Regards
Jurdy
How can I get the last created documents id in the snippet ? [ID or alias of last created Document ]
Do I get form $_POST value in a snippet[ I mean , I have one form, in it one text box and one submit button is there. I want to get the content of the text box value in snippet] ?
Is there any options for these two things in MODx. If so, pls help me ASAP
Thanks & Regards
Jurdy George
How can I get the last created documents id in the snippet ? [ID or alias of last created Document ]
I mean on any request after it was created until a new one is inserted