Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing datas - bug or am I stupid? #217

Open
Django-BOfH opened this issue Jul 17, 2018 · 2 comments
Open

missing datas - bug or am I stupid? #217

Django-BOfH opened this issue Jul 17, 2018 · 2 comments

Comments

@Django-BOfH
Copy link

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!

@splitbrain
Copy link
Owner

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

@Django-BOfH
Copy link
Author

Django-BOfH commented Jul 18, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants