Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add navigation to previous / next documents #12

Open
Ibochkarev opened this issue Mar 26, 2019 · 4 comments
Open

[Enhancement] Add navigation to previous / next documents #12

Ibochkarev opened this issue Mar 26, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@Ibochkarev
Copy link
Contributor

For ease of use, add navigation through the previous and next documents from the currently viewed document.
Locate at the very bottom of the page.

Example:

Branding and customization - GitBook 2019-03-26 19-49-14

@Mark-H Mark-H added the help wanted Extra attention is needed label Dec 11, 2019
@wax100
Copy link

wax100 commented Mar 3, 2021

I think we can use Minishop2 as example
111

@ghost
Copy link

ghost commented Mar 3, 2021

I also use pdoNeighbors with a slight variation along with Bootstrap classnames in my latest incarnation of my own site.

[[pdoNeighbors? 
   &tplWrapper=`@INLINE <div class="d-flex justify-content-center my-4">[[+prev]][[+up]][[+next]]</div>`
   &tplPrev=`@INLINE <span class="btn btn-outline-primary mx-2"><a href="/[[+uri]]">&larr; [[+menutitle]]</a></span>`
   &tplNext=`@INLINE <span class="btn btn-outline-primary mx-2"><a href="/[[+uri]]">[[+menutitle]] &rarr;</a></span>`
   &tplUp=`@INLINE <span class="btn btn-outline-primary">&uarr; <a href="/[[+uri]]">[[+menutitle]]</a></span>`
   &showHidden=`0

Screen Shot 2021-03-03 at 11 59 23

@wax100
Copy link

wax100 commented Mar 5, 2021

Will try to add ...

@Mark-H
Copy link
Collaborator

Mark-H commented Mar 8, 2021

Just to clarify for people coming across this in the future, this issue is for adding prev/next to the documentation site - not to MODX itself.

@modxorg modxorg deleted a comment from wax100 Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants