You are right that "breadcrumb navigation" is not a current feature of X3, although it has been considered.
amateur56 wrote:I need to get from one subgallery to the previous gallery without going back to the main menu and ploughing through all the links to get back one link?
<a href="javascript:history.go(-1)" title="Return to the previous page">« Go back</a>
For reference, the code above will not specifically go back to the PARENT page of the gallery (unless that is where they navigated from). It will go back to the LAST PAGE the visitor was on. If the visitor was on
/galleries/art/picasso/, then navigated to
/galleries/ from the menu, the BACK button would take them to
/galleries/art/picasso/. For me, this would be misleading and unproductive ... Surely, if I wanted to go "back to the page I was on before this page", I would know I have a browser-back button to do just that, instead of ploughing through a menu because I never knew browser-back existed. In gallery-context, if anything, I would assume a <<BACK type button to take me to the parent gallery, regardless of what page I arrived from.
Optionally, you could create a "back to parent page" with the following:
<a href="../" class="btn">Back</a>
The above will not necessarily take the visitor back to the page they were on last, but always to the
parent page of the current page /galleries/art/picasso/ -> /galleries/art/. If you need a back button, this would be my expected behavior when clicking the button.
amateur56 wrote:in the content box and it works great but doing this in every gallery would sometimres be forgotten,
is there a way for this to be auto added in some way enabled/disabled in main settings and/or galleries.
Considering this is not a current feature of X3, there is no super-productive was to enable/disable it per page. You can for example add the link globally to Settings > Page > Context > Content Prepend:
<a href="../" class="btn back-link" title="Go to parent gallery">Back</a>
Then, you could add a style in Settings > Custom > Custom CSS to disable it for some pages (for example index page):
.back-link-disabled .back-link {
display: none;
}
For the pages you don't want it to appear, add the back-link-disabled class to context:
amateur56 wrote:Not everyone likes to press the back button
I don't like clicking browser [back] either. However, adding the back button directly into the website itself won't make me want to click it any more. At best, I would mistakingly believe it to be a "back to parent page" button. If I know it's a "javascript:history.go(-1)" button, I would much prefer to use native browser-nav controls at my own discretion ... It's not like I ever visited a website and thought "Damn this website. Why doesn't it include controls to navigate back to the last page I was on?"