Wiki source code of How to fix "Unknown macro", "macro is not in the list of registered macros"?
Version 7.1 by Eduard Moraru on 2016/05/25
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | A user logs in and tries to use the **spaceindex **macro in one page, but he gets the following error : | ||
2 | |||
3 | **"(% style="color: inherit; font-family: inherit; font-size: inherit; line-height: 1.42857; background-color: inherit;" %)The "spaceindex" macro is not in the list of registered macros. Verify the spelling or contact your administrator.(% style="color: inherit; font-family: inherit; font-size: inherit; line-height: 1.4em; background-color: inherit;" %)"(%%)** | ||
4 | |||
5 | |||
6 | [[image:registered.png||width="80%"]] | ||
7 | |||
8 | |||
9 | What can be done in order to correct the problem is : | ||
10 | |||
11 | - log in as admin and edit in object mode the page that contains the macro definition | ||
12 | |||
13 | - check the value of the **'Macro visibility'** property | ||
14 | |||
15 | - if the value of the property is **'Current User' **put instead** 'Current Wiki'** | ||
16 | |||
17 | |||
18 | [[image:admin visibility.png||width="80%"]] | ||
19 | |||
20 | |||
21 | Logging back again with the user that got in the first case the error, the error disappears and the macro is showed correctly : | ||
22 | |||
23 | |||
24 | [[image:aftercorrection.png||width="80%"]] |