Hi Kevin,
Thanks for the reply and the welcome.
Regarding your questions about Structure, indeed, the navigation is a feature of Structure. However, because of the way structure works, I’ve got one channel with several entries but they get displayed as “pages” in a hierarchy.
Here’s a breakdown, as best as I can, of what I’m up to:
There’s a main site (Site A) with one channel that Structure uses to store pages AND sub-pages (granted this isn’t ideal but I was tricked by Structure’s ease-of-use appeal). Structure allows me to sift these entries into a hierarchy which simulates the page/sub-page situation. The entries aren’t linked in any way other than through Structure, the settings of which, aren’t accessible via any standard Structure tags.
Structure includes a tag that compiles entries in its hierarchy into a useable navigation which it generates automatically. This tag does NOT support the use of the site parameter. This is where my problem exists because each of my sub-domains (Sites A, B, C and D) need to have the same navigation/pages/sub-pages as Site A in addition to their own content and pages, which are handled by unique instances of Structure.
I’m unable to use regular channel entries tags to duplicate the navigation in my other sites due to the fact that there’s no (simple) way to duplicate the page/sub-page hierarchy. All entries are in the same channel and there’s no way to know which are “parent” entries and which are “children” entries.
Anyway, what my team and I have decided to do is use custom mySQL quieres in the query tag to pull the Structure parent value directly from the database and pull all entries with that Structure parent into a navigation. I think this should work and if anyone reads this and has had a simliar experience feel free to let me know if I’m going down a path doomed to failure or destined for success.
Thanks again and I hope my explanation was easy to understand, it’s a bit of a messy situation.
- Gordon