Author Topic: Creating content dynamically  (Read 1226 times)

Offline ricscar

  • User
  • *
  • Posts: 7
    • View Profile
Creating content dynamically
« on: October 26, 2009, 03:30:21 PM »
hello there!!
Is it possibile dynamically  create (for example through the submit string of a form) content for a page in Knowledgeroot ?

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Creating content dynamically
« Reply #1 on: October 26, 2009, 03:40:07 PM »
Hi,

sorry but i did not understand what do you want todo. Could you explain it more detail, please?

regards,
Frank

Offline ricscar

  • User
  • *
  • Posts: 7
    • View Profile
Re: Creating content dynamically
« Reply #2 on: October 26, 2009, 03:44:12 PM »
Ok.
1) I create a form with FckEditor on a page in my KnowledgeRoot
2) in this form i put (for example) a textarea with some content and a Submit button
3) i click  Submit ("post" or "get" action = "/myKnoledgerootserver/createpage.php")
4) a page with the textarea's content is created in my Knoledgeroot tree

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Creating content dynamically
« Reply #3 on: October 26, 2009, 03:46:54 PM »
I did not know why you want todo this. But it should be possible.

You only need to set all the required fields in the html code.

But why do you want todo this? I would prefer a solution that is realised as extension.

Frank

Offline ricscar

  • User
  • *
  • Posts: 7
    • View Profile
Re: Creating content dynamically
« Reply #4 on: October 26, 2009, 03:52:30 PM »
My goal is to give the users of the KB a way to create documents, to be stored in the KB, through a template i've created.
I recognize that maybe i've not  chosen the best way to do it .. :-)