Jump to content

Manual talk:Page content models/Flow

About this board

Samuelboudet (talkcontribs)

Where should be the placed the code to write the goat name in dababase in the provided example. Is it with Manual:Hooks/EditPage::attemptSave:after but I have to use $_POST and I do not how how to code preview that should not update database.

This post was hidden by Valerio Bozzolan (history)
This post was hidden by Valerio Bozzolan (history)
Valerio Bozzolan (talkcontribs)

Can you clarify a bit more what is needed? First of all, I think you can convert an already-existing page to your "goat" content model. This can be done from the "info" page. That answers your need, since it's then written in the database, so it triggers your custom "goat renderer".

Reply to "Incomplete example"
There are no older topics