Entry URL Field
Add a hyperlink in the backend to view an entry URL in the frontend
New#1: Doesn't respect Symphony installed in a subdirectory
This can be fixed by concatenating the URL
constant to the anchor href
value.
$anchor = Widget::Anchor( $this->get('anchor_label'), URL . $data['value'] );
If this change is made at line 115 and line 168 of field.entry_url.php
, the link will work for an install in a subdirectory, assuming that the path from the root URL is saved as the field value.
/path/to/page/{entry/title/@handle}/
In my case, the link in the backend goes to http://localhost/blog/post instead of http://localhost/sitename/blog/post.