zombor / KOstache

Logic-less View/Mustache Module for Kohana v3
MIT License
138 stars 43 forks source link

Kostache guide doesn't work #21

Open lukemorton opened 13 years ago

lukemorton commented 13 years ago

Is there a reason? I don't mind getting it working myself and sending a pull request. I was just wondering whether there is a reason you have not added a config for the userguide.

Is it anything todo with the {{include}} behaviour in guides?

shadowhand commented 13 years ago

Yes, it is because of {{include}}.

lukemorton commented 13 years ago

:verysadface:

shadowhand commented 13 years ago

Partially fixed by ba9536a4a49991a8aaa8ded83557db2638df9127

ghost commented 13 years ago

Iv'e submitted a pull request to fix this issue in Kohana's userguide. https://github.com/kohana/userguide/pull/26

The userguide README.md says near the end - "If the view is not found, no exception or error will be shown! The curly brackets and view will simply be shown an the page as is.", but this functionally does not seem to have been implemented. I simply check to make sure the requested view exists, and if it doesn't I do not attempt to include it.

While you wait for the userguide to be fixed, you can always use my fork. https://github.com/xenakis/userguide