Giter Club home page Giter Club logo

Comments (13)

ParitoshBh avatar ParitoshBh commented on July 28, 2024 1

Sweet! I'll close this issue then :)

from grav-coder.

ParitoshBh avatar ParitoshBh commented on July 28, 2024

Can you please share Grav version you are using? How does a blog url looks like? And if possible your website url. I tested the theme on v1.6.17, v1.6.11 and the navigation is working as expected.

from grav-coder.

HymieAli avatar HymieAli commented on July 28, 2024

I am actually having the same issue.
Tried upgading to the pre-release 1.7 version and it persisted as well.
I have just unzipped a new install into the directory and configured the settings per the write up.

www.hymieali.com is the url, I can give you ftp access to the site if that helps
Grav v1.6.19 - Admin v1.9.12
Grav-Coder theme 0.1.6

from grav-coder.

HymieAli avatar HymieAli commented on July 28, 2024

Did a little more testing to see if I could narrow it down a bit. Im not that fluent in the language but it was worth a try.

I took a peek at the pagination area
{% if itemsInCollection > itemsPerPage %} , and tried adding the pages into a collection using a few methods as well as the @self.children and the call to page.prevSibling.url is still returning the current page.

I tried commenting out the if not page is Last/First to see if it would force it, but it didnt change so I reverted it.

I tried adding the call to page.adjacentSibling(-1) instead of the page.previous.sibling and opened a page in the middle of the collection. No change.
I also tried page.prevSibling(page.path).title with no change.
Since each of these are reliant on the collection feature working, perhaps there is something in my install that is failing to create them for this one folder. I will test a bit more and update if I get anywhere.

-Ali

from grav-coder.

Bobblejot avatar Bobblejot commented on July 28, 2024

Hi did anyone discover the cause of this issue? i am having exactly the same problem. Previous and next links just link to the post your on.

from grav-coder.

HymieAli avatar HymieAli commented on July 28, 2024

I was not able to get it working myself. As a workaround I just have a block of text I put in at the end of each post that has a link to go back to the main blog listing.

from grav-coder.

Bobblejot avatar Bobblejot commented on July 28, 2024

HymieAli - thanks for the reply been around the houses myself trying everything i could find without much luck, hopefully it will get fixed at some point.

from grav-coder.

ParitoshBh avatar ParitoshBh commented on July 28, 2024

Sorry guys, I have been busy with my day job recently. I have planned to devote some time for this bug today. Will update if more information is required.

from grav-coder.

ParitoshBh avatar ParitoshBh commented on July 28, 2024

@HymieAli

www.hymieali.com is the url, I can give you ftp access to the site if that helps
Grav v1.6.19 - Admin v1.9.12
Grav-Coder theme 0.1.6

Will you be able to share the zip of your root directory or ftp access? I am not able to reproduce the problem both of you are facing and clearly there's something in your setup that isn't in mine.

from grav-coder.

HymieAli avatar HymieAli commented on July 28, 2024

you bet, fire me an email and Ill reply with some temp credentials to login via ftp
[email protected]

from grav-coder.

ParitoshBh avatar ParitoshBh commented on July 28, 2024

Sent you an email just now :)

from grav-coder.

ParitoshBh avatar ParitoshBh commented on July 28, 2024

Pushed release 0.1.7 hoping to fix this. Please update and test to see if fix works.

from grav-coder.

HymieAli avatar HymieAli commented on July 28, 2024

Pulled the zip file down, extracted it, renamed the old grav-coder to -old, put the new folder in place, re-enabled pagination in the grav-coder.yaml file, cleared cash and its working.
Testing first/last page and they show a single arrow as expected and all the rest click to previous/next posts.

Nice!

from grav-coder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.