/content/translation
A view of the content module, defined in kernel/content/module.php and run by kernel/content/translation.php.
Address
/content/translationWho 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 | ezcontentnavigationpart |
| Single POST actions | CancelButton: Cancel, UpdateInitialLanguageButton: UpdateInitialLanguage, UpdateAlwaysAvailableButton: UpdateAlwaysAvailable, RemoveTranslationButton: RemoveTranslation |
| POST action parameters | Cancel (NodeID: ContentNodeID, ViewMode: ViewMode, LanguageCode: ContentObjectLanguageCode), UpdateInitialLanguage (InitialLanguageID: InitialLanguageID, NodeID: ContentNodeID, ObjectID: ContentObjectID, ViewMode: ViewMode, LanguageCode: ContentObjectLanguageCode), UpdateAlwaysAvailable (AlwaysAvailable: AlwaysAvailable, NodeID: ContentNodeID, ObjectID: ContentObjectID, ViewMode: ViewMode, LanguageCode: ContentObjectLanguageCode), RemoveTranslation (LanguageID: LanguageID, ConfirmRemoval: ConfirmRemoval, NodeID: ContentNodeID, ObjectID: ContentObjectID, ViewMode: ViewMode, LanguageCode: ContentObjectLanguageCode) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/content/translation'|ezurl>content/translation</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/content/translation' );Related
Generated by ./console exp:help:examples from kernel/content/module.php, kernel/content/translation.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.