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

Feature request: Include page according to STRUCT data from current page #308

Open
GarryTime opened this issue Mar 13, 2024 · 0 comments
Open

Comments

@GarryTime
Copy link

When using the struct plugin it would be nice to be able to include pages that are determined in the struct metadata of the current page.

Example:
The current page has a struct schema associated "issue" to it with the field "customerID". I have a page with data on this customer in a namespace calles "customers".

If I were able to use this syntax to include the page with the customer data the included page would automatically update when changing the customerID, e.g. when there was a wrong input

{{page>customers:$issue.customerID$}}

The struct documentation states how to call a value from struct metadata assiciated with the page [https://www.dokuwiki.org/plugin:struct:aggregation:value]
This only works with text though.

An integration would add a lot of value to both, the struct and include plugin.

@GarryTime GarryTime changed the title Include page according to STRUCT data from current page + use in template Feature request: Include page according to STRUCT data from current page + use in template Mar 13, 2024
@GarryTime GarryTime changed the title Feature request: Include page according to STRUCT data from current page + use in template Feature request: Include page according to STRUCT data from current page Mar 13, 2024
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

1 participant