How do I get Page_index on my wiki start page?

Added by Snaky Love over 9 years ago

Hi,
I would like to embed the Page_index (alphabetical) on my wiki start page, how can I do this? Is this a macro?
I have been thinkig about making the wiki/Page_index page the wiki start page itself, but I need to add more infos to this startpage, so this will not work.

Thanks for your attention!
Snaky

Replies (6)

RE: How do I get Page_index on my wiki start page? - Added by Felix Schäfer over 9 years ago

Have a look at the:

hello_world

Sample macro.

macro_list

Displays a list of all available macros, including description if available.

child_pages

Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

!{{child_pages}} -- can be used from a wiki page only
!{{child_pages(depth=2)}} -- display 2 levels nesting only
include

Include a wiki page. Example:

!{{include(Foo)}}

or to include a page of a specific project wiki:

!{{include(projectname:Foo)}}
collapse

Inserts of collapsed block of text. Example:

{{collapse(View details...)
This is a block of text that is collapsed by default.
It can be expanded by clicking a link.
}}
thumbnail

Displays a clickable thumbnail of an attached image. Examples:

{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Thumbnail)}}
sample_macro

Sample macro

, if there isn't anything there…

RE: How do I get Page_index on my wiki start page? - Added by Felix Schäfer over 9 years ago

Felix Schäfer wrote:

Have a look at the:

I meant at the macro_list.

RE: How do I get Page_index on my wiki start page? - Added by Snaky Love over 9 years ago

Thanks for the info! BUT unfortunately child_pages does not show anything? I am using it on the start-page of the wiki for a project - macro_list shows there is a child_pages macro, but if I insert it into the page, nothing is shown. Is this a bug?

RE: How do I get Page_index on my wiki start page? - Added by Snaky Love over 9 years ago

Ok, so if I just add wiki pages like described in the first step "Creating a new wiki page" - these created pages are not child pages of the wiki main page? Seems so...

OK so then I come back to my question on top here: how do I get the Page_index (alphabetical) on the wiki start page for a project?

RE: How do I get Page_index on my wiki start page? - Added by Alberto Martinelli over 7 years ago

Hi!
You can edit your wiki main page and add

{{child_pages}}

If you do it, nothing happens. You should take your wiki pages (at least on first level) and rename it, moving as child pages of "Wiki" page, so you have automatic index on first wiki page

(1-6/6)