Hello,
I would like to create a ToC for all SubSites of the first hierarchy.
The parentschildrenlivetable macro fits almost my needs.
{{parentschildrenlivetable space=“customers” order=“asc” rowCount=“25”/}}
Additionally I want to add a property subtitle to each xwiki side globally.
I would like to have the subtitle exactly below the Title/Name, eg in the example above below “Kundendoku”.
In this case the subtitle should also be added as column to the ToC.
I’m no developer, I was not able to solve until now.
Added the class via https://mywiki/bin/view/XWiki/XWikiClasses, however I was not able to add the property to the view. Tried to add code in Themes-Advanced, because of course I don´t want the system-defaults to be changed.
Tried liveData macro, but its hanging in two wiki instances.
{{liveData id=“pagesTable” source=“documents” properties=“doc.name,doc.title,doc.author” limit=“20”/}}
Tried also some velocity code.
In general I’m not sure what is the best way to solve my two requirements:
- Add a subtitle
- Create a Toc Including the subtitle
Your help is very appreciated, thanks in advance.
kr
Josef
