Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Creating a list of Employees using Struct Plugin.
Avatar
Cybertronic #1
Member since Sep 2017 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Creating a list of Employees using Struct Plugin.
I have been looking at this tutorial written for the Data plugin, but I am unable to find a way to make this work for Struct.

https://www.dokuwiki.org/plugin:data:list_of_employees

The form is creating pages as it should, but I think the template may be wrong. I can't get the tables to load Page Schema data.
What am I missing?

for the template page should I be using ---- struct page ---- or something else? Does that even matter?

The schema name I am using is called "employees" and I have all the related fields created.

Update: I have figured out how to populate my data, I see where there is schema fields embedded on the page when in edit mode, and adding values shows up on my struct table.

I am still trying to figure out how to get the Form to write these values.


nvm I figured it out, I will be posting an updated tutorial based off

https://www.dokuwiki.org/plugin:data:list_of_employees

for the Struct plugin.

Now if I could get it to query AD attributes for data...
This post was edited 3 times, last on 2017-09-27, 15:20 by Cybertronic.
Avatar
kruffalon #2
Member since Oct 2017 · 2 posts
Group memberships: Members
Show profile · Link to this post
Hi, would you mind sharing your finds?

I really don't understand how to populate my data. I can only insert one row of data into the db :(

Update
Ok, I figured out a way that also makes sense using the catlist plugin.

In the aggregate page "wiki/lists/commander_skills" I add the code:

===== Add a Commander Skill =====
<catlist lists:commander_skills: -excluPage:"lists:commander_skills:" -addPageButtonEach -noHead>

This generates an empty list without a header but with an add-page button.

/Kruffalon
This post was edited on 2017-10-29, 12:56 by kruffalon.
Avatar
marguz #3
Member since Jul 2017 · 6 posts
Group memberships: Members
Show profile · Link to this post
I also tried to follow the tutorial here: https://www.dokuwiki.org/plugin:data:list_of_employees

But using the new Struct does not play one-to-one with the steps.

If you are able to please provide what you did, please share.

Thanks...
Avatar
florious #4
User title: Floarea
Member since Jun 2014 · 20 posts
Group memberships: Members
Show profile · Link to this post
Yes, would be nice some of the big boys of DW to help us :) No success here too...
Avatar
nparafe #5
Member since May 2018 · 4 posts
Group memberships: Members
Show profile · Link to this post
any update with the example?
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-06, 10:06:12 (UTC +01:00)