Giter Club home page Giter Club logo

Comments (5)

goedda avatar goedda commented on August 20, 2024 4

Ok, I think I got it. For all that follow:
The "blogPosts" has the property "postPage". This property has the default value "blog/post", which means that the details pages must be - as described in the docs - /pages/blog/post.htm
As my detail page was /pages/blog.htm, I changed the property in my blog list to

[blogPosts]
postPage = "blog"

from blog-plugin.

karnold avatar karnold commented on August 20, 2024

sorry, user error. i did not create the appropriate pages.

from blog-plugin.

goedda avatar goedda commented on August 20, 2024

I face the same problem. Would you mind sharing your solution in more detail, please. I have a page for /blog/post/:slug and if I enter the URL(s) manually, I get there, but on the /blogs page, the $post->url variable is still null for all posts...
Rather new to Laravel, OctoberCMS and the blog plugin, thus, bear with me.

from blog-plugin.

karnold avatar karnold commented on August 20, 2024

for the "posts" page I added the "Post List" component and made the url /:page? and for individual blog posts there is a separate page that contains the "Post" component and the url /blog/post/:slug

from blog-plugin.

goedda avatar goedda commented on August 20, 2024

Thanks for the reply. I add the "blogPosts" component for the blog list page and the "blogPost" (singular) for the respective blog post(s) as described in the docs.
Everything but the URLs is working, so I will have to have a night session and hope that I find the problem.

from blog-plugin.

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.