Bug Report #2479

Allow default userguide page to be configurable

Added by Kiall Mac Innes almost 5 years ago. Updated over 4 years ago.

Status:ClosedStart date:01/05/2010
Priority:LowDue 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

Revision 4c2274bb
Added by Kiall Mac Innes over 4 years ago

Fixing #2479 - Allow default userguide page to be configurable

History

#1 Updated by Woody Gilk over 4 years ago

  • Project changed from Kohana v3.x to Userguide
  • Category deleted (Modules:Userguide)

#2 Updated by Michael Peters over 4 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.

#3 Updated by Kiall Mac Innes over 4 years ago

  • Status changed from Closed to Feedback
  • Resolution deleted (fixed)

This has been re-introduced, I'll get it sorted now.

#4 Updated by Kiall Mac Innes over 4 years ago

  • Status changed from Feedback to Closed
  • Resolution set to fixed

#5 Updated by Woody Gilk over 4 years ago

  • Target version set to v3.0.7

Commit link please?

#6 Updated by Kiall Mac Innes over 4 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

Also available in: Atom PDF