splitbrain / dokuwiki-plugin-bureaucracy

Create forms and generate pages or emails from them
http://www.dokuwiki.org/plugin:bureaucracy
GNU General Public License v2.0
43 stars 47 forks source link

Insert values into SQLite (struct -> lookup schema) #197

Open dorneanu opened 7 years ago

dorneanu commented 7 years ago

Hi! I'm currently using bureaucracy along with struct. I am able to use the fields inside the lookup schema like this:

<form>
Action template users:mitgliedtpl "mitglied:@@mitglieder.vorname@@"
...
struct_schema "mitglieder" !
submit "Neues Mitglied"
</form>

After a new entry being created, the page mitglied:<name> is created. So this works very well. However, I'd like to have those values inserted into the lookup schema as well. Any ideas how I could do this?

Greetings from Berlin :)

solewniczak commented 6 years ago

https://github.com/cosmocode/dokuwiki-plugin-struct/pull/368

bgenere commented 6 years ago

Hello,

Just add the following action line :

action struct_lookup

in your script.