I have a custom navigation bar on the top of nearly every page. When I decide to change/add a link, I have to update every page and it gets tedious. Is there a better way to do this? I was thinking of inserting some sort of PHP or something on every page and link it to one location so it updates on every page.. is this possible?
The navigation HTML would look like:
<center><div class="ribbonTimeline"><span class="text-center interlink"><a href="/wikis/story">Story</a> | "Factions":/wikis/factions | "Rules":/wikis/rules | "Variant Rules":/wikis/variant-rules | "History":/wikis/history<br>"Regions":/wikis/regions | "Deities":/wikis/deities | "Character Creation":/wikis/character-creation | "Maps":/wikis/maps</span></div></center>
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Unfortunately, we as users aren't able to do anything reliant on server side (like PHP). I myself had a custom per-page menu bar, and I ended up giving it up after a while for exactly the same reason.
The best thing I can say if are you planning on doing a per-page menu system, is plan very carefully in advance so it doesn't require changes. Unless/until OP gives add/edit capability on navigation tabs/pages, this is an issue that will always be a pain in the ass. I've been begging for customizable tabs for years now.
- Kallak
I add the custom nav bar buttons on every page, every time, except on character or item pages. It's just a quick copy/paste job.
Ptolus, City by the Spire - 2016 Campaign of the Year
"Please pay attention very carefully, because this is the truest thing a stranger will ever say to you: In the face of such hopelessness as our eventual, unavoidable death, there is little sense in not at least TRYING to accomplish all your wildest dreams in life." - - Kevin Smith