joh-bur
Hallo,
ich würde gerne in meinem Wiki eine Tabelle(Übersicht) erstellen, welche mit Text gefüllt ist. Diesen Text möchte ich Teils auf anderen Seiten in meinem Wiki einbinden. Dass heißt, wenn ich den Inhalt in einer Zelle in einer Tabelle ändere, sie automatisch auf der anderen Seite angepasst und verändert wird.
Liebe Grüße
J.Bur
virk
Zwei Möglichkeiten fallen mir ein:
1) Du erstellst die Tabelle auf einer eigenen Seite und bindest diese überall dort, wo Du sie benötigst, mithilfe des include-plugins ein.
2) Du benutzt ein plugin wie "structured data plugin" für Deine Daten. Überall in deinem wiki könntest du diese dann in Tabellen- oder Listenform ausgeben.
joh-bur
Vielen Dank für die Antwort.
Ich würde es gerne mit dem include-Plugin versuchen, allerdings verstehe ich die Syntax noch nicht.
Ich habe zum Beispiel die Seite "Tabelle" im Namespace "test". Auf dieser Seite ist eine simple Tabelle zu finden.
Nun würde ich diese Tabelle gerne auf der Seite "Seite" im Namespace "test" einbinden.
Welche Syntax muss ich dabei einhalten und/oder muss ich davor noch etwas einstellen?
Natürlich ist das Plugin über den Manager installiert.
LG
J.Bur
virk
We should switch over to English or to shift/reopen the thread to the german board!
For all the others: We are "talking about how to display a table on different pages. I have suggested to make use of include-plugin or to make use of "structured data plugin".
Angenommen, auf Seite "wiki:playground 10" steht dieses:
^Spalte1^Zeit^Ort^
|Hier|morgen|übermorgen|
|Wo|heute|zuhause|
Dann bindest Du mit {{page>wiki:playground10}} eben diese Seite (bislang halt nur mit Tabelle) dort ein, wo du diesen Aufruf stehen hast.
Zusätzlich solltest Du Dir in der Konfiguration des wikis die Optionen für das include-plugin ansehen, welches, wenn es aktiviert ist, dort mit einigen einzustellenden Punkten vertreten ist.
joh-bur
OK danke :D
Genau in diesem Moment hab ich es hinbekommen als deine Benachrichtigung kam.
Das nächste Ziel für mich ist, nur bestimmte Zeilen der Tabelle auf einer anderen Seite auszugeben. Ich habe noch keine Ahnung wie ich das lösen soll, aber ich werde mich jetzt ran setzten.
virk
You should consider the structured data plugin or a similar one. Describe you problem more exactly; perhaps other guys already have solutions.
joh-bur
OK. I have a table with lots of information. Now i need to get some special information out of this table to another site.
Sorry for my bad english.
virk
We do our invoicing with the structured data plugin: Each invoice data will be written to one dokuwiki-page. Can be considered as one row of a table. In the project-folders/sites we only display "all row with project number 3453" for example. So in total there are hundreds of invoice pages, but in each project site you will only find the appropriate ones. Now lunch!
joh-bur
OK I really dont get this Plugin. I dont know what to do first or whats the concept behind the structured data plugin. Maybe you can tell me in german or tell me an example/demo?
My Case: We have a table with a lot of persons. So for each person we have the first Name, Name, birthdate, so on. And I want for example on an other page just all information of one person. The rest is not important for this page.
I think this is exactly what i Need :D
virk
On one page insert:
---- dataentry ----
name : Silverstein #
firstname : Marcus J.
birth_dt : 1917-12-26 #
type : Mitarbeiter
----
On 2nd page insert:
---- dataentry ----
name : Schmitz #
firstname : Wolfgang
birth_dt : 1917-12-26 #
type : Mitarbeiter
----
On 3rd page insert:
---- dataentry ----
name : Ahlborg #
firstname : Tim
birth_dt : 1997-12-26 #
type : Mitarbeiter
----
Then, again on another page, insert:
---- datatable ----
cols : %pageid%, name, firstname, birth
headers : Seite, Name, Vorname, Geburtstag
filter: type=Mitarbeiter
summarize: 1
dynfilters: 0
----
---- datatable ----
cols : %pageid%, name, firstname, birth
headers : Seite, Name, Vorname, Geburtstag
filter: type=Mitarbeiter
filterand: name=Ahlborg
summarize: 1
dynfilters: 0
----
Then try to understand what has happened or will happen. Of course you need to have enabled the "structured data plugin".
(The complete horizontal line is wrong: It always should be the four indents/strokes/GEDANKENSTRICHE like you see before and after "datatable")
joh-bur
Ok thanks a lot. I thinks ist a nice idea but for me its to much expenditure and not worth at all.
LG
J.Bur