Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

How to access the site component #3

Closed
atticoos opened this issue Sep 24, 2015 · 2 comments
Closed

How to access the site component #3

atticoos opened this issue Sep 24, 2015 · 2 comments

Comments

@atticoos
Copy link

So I've installed this package to try and understand how extensions work.

I can see how the backend controller, HelloController is working. However, SiteController I am at a loss. Based on the route names, and the node name, I figured I could access the following:

  • /hello ➡️ SiteController indexAction
  • /hello/greet/fakename ➡️ SiteController greetAction
  • /hello/json ➡️ SiteController jsonAction
    etc

But none of these routes appear to be available. I've compared this to the blog extension and the nodes section of index.php appears to be set up similarly that it should be accessible. Am I doing something wrong?

@polyrythmie
Copy link

After a lot of working through the same problem, I think it's partly to do with not pulling from the develop branch. Yesterday extension-hello did not work for me, today I reinstalled everything, and now it works.

@atticoos
Copy link
Author

Good to know. I didn't realize until recently, as mentioned in pagekit/pagekit#462, they had undergone a large restructuring.

Going to close as this is likely just an issue with the package being out of date against the latest version of the platform

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants