From 8a8beb5f0453b81895b3c3e796bbe816b79fefeb Mon Sep 17 00:00:00 2001 From: "http://jmtd.livejournal.com/" Date: Sun, 30 Oct 2011 17:22:29 -0400 Subject: [PATCH] Added a comment: override/edit `page.tmpl` --- ..._fac71839175ba2868b8b54f233425a16._comment | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 doc/forum/Can_I_change_the_default_menu_items__63__/comment_1_fac71839175ba2868b8b54f233425a16._comment diff --git a/doc/forum/Can_I_change_the_default_menu_items__63__/comment_1_fac71839175ba2868b8b54f233425a16._comment b/doc/forum/Can_I_change_the_default_menu_items__63__/comment_1_fac71839175ba2868b8b54f233425a16._comment new file mode 100644 index 000000000..a909b88f7 --- /dev/null +++ b/doc/forum/Can_I_change_the_default_menu_items__63__/comment_1_fac71839175ba2868b8b54f233425a16._comment @@ -0,0 +1,37 @@ +[[!comment format=mdwn + username="http://jmtd.livejournal.com/" + ip="188.222.50.68" + subject="override/edit `page.tmpl`" + date="2011-10-30T21:22:29Z" + content=""" +I'm looking for a way to change the RecentChanges, Preferences, Branchable, Comment menu items from my wiki page. I can see that the value for these items are set in template variables. Is there a way I can change these variables? If so can you tell me how? + +Thanks, + +Maria + +> You need to define a `templatedir` and put a copy of your current version of ikiwiki's `page.tmpl` file into that directory. Then, edit around line 62 or thereabouts, e.g. + +
  • \" rel=\"nofollow\">Edit
  • + + + -
  • \">RecentChanges
  • + +
  • \">Recent Changes
  • +
    + + -
  • \">History
  • + +
  • \">Site history
  • +
    + + -
  • \">Source
  • + +
  • \">View Source
  • +
    + + -
  • \">Preferences
  • + +
  • \">Your Preferences
  • +
    + + + +> — [[Jon]] +"""]] -- 2.39.5