Bug Report #2479
Allow default userguide page to be configurable
| Status: | Closed | Start date: | 01/05/2010 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | Kohana v3.x - v3.0.7 | |||
| Resolution: | fixed | Points: |
Description
Currently, about.kohana is hard coded. Making this configurable would be great as we're using the module for our own application documentation.
For anyone who wants this now .. the change is very small:
Change:
$this->request->redirect($this->guide->uri(array('page' => 'about.kohana')));
To:
$this->request->redirect($this->guide->uri(array('page' => Kohana::config('userguide')->default_page)));
and add a default_page option to your userguide config.
Associated revisions
Fixing #2479 - Allow default userguide page to be configurable
History
Updated by Woody Gilk about 3 years ago
- Project changed from Kohana v3.x to Userguide
- Category deleted (
Modules:Userguide)
Updated by Michael Peters about 3 years ago
- Status changed from New to Closed
- Resolution set to fixed
This no longer applies, due to recent changes to the userguide. It uses index.md pages now.
Updated by Kiall Mac Innes almost 3 years ago
- Status changed from Closed to Feedback
- Resolution deleted (
fixed)
This has been re-introduced, I'll get it sorted now.
Updated by Kiall Mac Innes almost 3 years ago
- Status changed from Feedback to Closed
- Resolution set to fixed
Updated by Kiall Mac Innes almost 3 years ago
Whoops - I thought redmine did that for us - forgot about the submodules not being read correctly!
http://github.com/kohana/userguide/commit/4c2274bb3658049f29cee6c1418bfe03e4fb417a