dokuwiki-plugin-data icon indicating copy to clipboard operation
dokuwiki-plugin-data copied to clipboard

missing datas - bug or am I stupid?

Open Django-BOfH opened this issue 7 years ago • 2 comments

System: CentOS 6 Apache 2.4 Release 2018-04-22a "Greebo" Template: bootstrap3 all plugins are up2date

based on https://www.dokuwiki.org/plugin:data:list_of_employees (which is working very well) I tried to build a swap-market for our organisation.

new.txt

=== Neue Anzeige anlegen/hinzufügen ===
 
<form>          
Action template flohmarkt:template flohmarkt:
Thanks    "Inserat im SCHWARZEN BRETT hinzugefügt"
 
Fieldset  "Inserat"
hiddenautoinc  "Nummer" @
Select    "Rubrik" "Kinder|Bücher|Freizeit|Sport"
Textbox   "Titel" @
Textbox   "Beschreibung" !
Textbox   "Preisvorstellung" !

Fieldset  "Adressdaten"
Textbox   "Name" !
Textbox   "Organisationseinheit"  !
email     "eMail" !
Textbox   "Rufnummer" !
 
Submit
</form>

template.txt

====== edit ======
---- dataentry ----
type                 : flohmarkt
nummer               : ##Inserat Number##
rubriks              : ##Inserat Rubrik##
titel                : ##Inserat Titel##
bechreibung          : ##Inserat Beschreibung##
preisvorstellung     : ##Inserat Preis##
name                 : ##Name des Inserierenden##
organisationseinheit : ##Organisationseinheit der Kontaktperson##
email_mail           : ##eMail-Adresse der Kontaktperson##
rufnummer            : ##Rufnummer der Kontaktperson##
----

What I've done?

I tried to insert a new article: screenshot at 2018-07-17 09-43-11

A new page is generated as expected: screenshot at 2018-07-17 09-47-29

But the new generated page :flohmarkt:2_1984 has no dates I've entered earlier - the new generated page is exactly the same as my template.txt. Am I stupid? I hope not!

Django-BOfH avatar Jul 17 '18 08:07 Django-BOfH

Your placeholder vairables are named wrong. Your Field is named Beschreibung, your placeholder should be ##Beschreibung## then.

splitbrain avatar Jul 18 '18 09:07 splitbrain

Ahhh O.K. does it mean that I must the same keyword like

====== edit ======
---- dataentry ----
type                 : flohmarkt
nummer               : ##Nummer##
rubriks              : ##Rubrik##
titel                : ##Titel##
beschreibung         : ##Beschreibung##
preisvorstellung     : ##Preisvorstellung##
name                 : ##Name##
organisationseinheit : ##Organisationseinheit##
email_mail           : ##eMail##
rufnummer            : ##Rufnummer##
----

right?

Django-BOfH avatar Jul 18 '18 10:07 Django-BOfH