Error
When you need to edit a page from the Page Editor page (that was a mouthful) it is nice to get there quickly. Adding a button for this in the admin footer would be a welcome addition.
Here would be my suggested location and fa icon (fa-external-link-square).
The link should ideally include the ExpandedIds parameter with the parent ids included. This will ensure the Page tree is expanded when you get to the Pages Page.
This could be accomplished via a html content block added to the site footer as well but that isn't ideal.
{% assign tempPage = CurrentPage %}{% assign parentPageList = tempPage.ParentPage.Id %}{% for x in (1..10) %} {% comment %} This loop will travel up the parent page tree building a parent Page Id list {% endcomment %}{% assign tempPage = tempPage.ParentPage %}{% if tempPage.ParentPage.Id %} {% capture parentPageList %}{{parentPageList}},{{ tempPage.ParentPage.Id }}{% endcapture %}{% else %} {% comment %}If no parents remain exit the for loop {% endcomment %} {% break %}{% endif %}{% endfor %}{% javascript %}$(function() { $('.button-bar').append('<a id="aPagesLink" class="btn pages-link" href="/page/103?Page={{ CurrentPage.Id }}&ExpandedIds={{parentPageList}}&Redirect=false" title="Pages Editor"><i class="fa fa-external-link-square"></i></a>');}); {% endjavascript %}
Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.