[{InsertPage page='About' maxlength=120 class='btn btn-info'
style='font-family:monospace; white-space:normal; max-width:500px;' }]
will produce:
There is no page called 'About'. Would you like to create it?
Following markup will include the first section of the Cookie Policy page. But that section is shown only once during the first visit to this page.
[{InsertPage page='Cookie Policy' section='1' }]
Note when adding this to the LeftMenu or TitleBox page, its content will be shown on any page you visit of the site. You can use this to display a generic warning or notification to all users visiting your site for the first time.
By default the inserted content will be presented as a modal dialog overlayed on top of the page, hiding most of the page's content. You can specify other classes (eg. class='info' to show the content of inserted section inline; keeping the information of the page fully readable.
[{InsertPage page='Cookie Policy' section='1' class='info' }]
JSPWiki will automatically add an OK (btn-success) button to the included content, unless there is already one in the inserted section.
In the UserPreferences the user can view and remove any of the page cookies, if needed.
);
background-repeat:no-repeat;
background-position:top;
background-size:48px;
text-align:center;
}
.