If I include a page made with a _template I get ALL the content and not the formatting. I would like to be able to select just a part of the content. Possible syntax could be:
[[include page content=1]] or [[include page field=fieldname]]
15
Votes
Include parts of a _template page or form
If I include a page made with a _template I get ALL the content and not the formatting. I would like to be able to select just a part of the content. Possible syntax could be:
[[include page content=1]] or [[include page field=fieldname]]
This would be very useful when I want to show content in ListPages that does not relate to the ListPages criteria. Rated up.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
Thanks! Rate it up!!
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
Just to clarify, I'm particularly interested in the ability to include information from Data Forms. I can get the page name using the ListPages module, and want to show the contents of the field:
[[module ListPages category="one"...]]
%%form_data{my-field}%%
[[include two:%%name%% %%form_data{my-field}%%]]
[[/module]]
Result:
my-field (from 'one:page1')
my-field (from 'two:page1')
my-field (from 'one:page2')
my-field (from 'two:page2')
my-field (from 'one:page3')
my-field (from 'two:page3')
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
I like this idea. Right now I frequently run into the problem of having forms with wiki-fields that contain listpages (to access something from another category that also uses a form).
And with the new ListPages select of a fullname="…" or name="…" yoou can get ONE page with the single dataform fields instead of an "include"
but not with the result of nested ListPages… :(
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?