Resource locator¶
Description¶
Shows a text line with a non-editable prefix, which represents the routes to this position in the content tree. The part of the current page can be edited in the available text line. Additionally there is a button with the URL history of the current page, where parts of the history can also be deleted or reactivated.
Parameters¶
No parameters available
Example¶
<property name="title" type="text_line">
<tag name="sulu.rlp.part"/>
</property>
<property name="subtitle" type="text_line">
<tag name="sulu.rlp.part"/>
</property>
<property name="url" type="resource_locator">
<meta>
<title lang="en">Resource locator</title>
</meta>
<tag name="sulu.rlp"/>
</property>
Twig¶
You need to use the sulu_content_path twig extension to render the full url.
{{ sulu_content_path(content.url) }}