focuslabllc / craft-cheat-sheet

A fast and customized set of instantly usable Field code samples.
MIT License
210 stars 9 forks source link

404 After Install #46

Closed dpanfili closed 6 years ago

dpanfili commented 7 years ago

After installing the plugin and setting the url path (in my instance just /cheat ), I'm getting a 404 when trying to reach that page. Running locally through MAMP if that helps troubleshoot. Also using free version of Craft.

erikreagan commented 7 years ago

Do other dynamic urls load like entries you've created in sections?

dpanfili commented 7 years ago

Dynamic urls only show correctly if devMode is set to true. If set to false, the they return 404s.

erikreagan commented 7 years ago

Is the same true for the cheat sheet url? Does it work for you with devMode set to true?

erikreagan commented 7 years ago

Clarification: the Cheat Sheet is designed to only work when devMode is turned on. So what you're experiencing, if I understand it correctly, is intended.

https://github.com/focuslabllc/craft-cheat-sheet/blob/2eebebcac78024b2afb04f7920a231ed708fc3b6/cheatsheet/controllers/CheatSheet_RoutesController.php#L22-L27

Does that help?

dpanfili commented 6 years ago

Yes, helps for sure. Sorry for the delay in response here. All good. Closing out. Thanks!