/content/urlwildcards
A view of the content module, defined in kernel/content/module.php and run by kernel/content/urlalias_wildcard.php.
Address
/content/urlwildcards/(offset)/<Offset>/(q)/<Query>Unordered parameters, in any order as /(name)/value: (offset) sets Offset, (q) sets Query.
Who may open it
The user needs this policy function:
A policy on content/* (every function) also grants it; limitations of the policy (section, subtree, class ...) still apply where the view checks them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
| UI context | administration |
| Single POST actions | NewWildcardButton: NewWildcard, RemoveAllWildcardsButton: RemoveAllWildcards, RemoveWildcardButton: RemoveWildcard |
| POST action parameters | RemoveWildcard (WildcardIDList: WildcardIDList, Offset: Offset), NewWildcard (WildcardType: WildcardType, WildcardSourceText: WildcardSourceText, WildcardDestinationText: WildcardDestinationText, Offset: Offset) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/content/urlwildcards'|ezurl>content/urlwildcards</a>
<a href=concat( '/content/urlwildcards/(offset)/', 1 )|ezurl>content/urlwildcards</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/content/urlwildcards' );Related
Generated by ./console exp:help:examples from kernel/content/module.php, kernel/content/urlalias_wildcard.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.