I don't know how "More" ended up being an "oops" function, but it's really inappropriate. Oops doesn't render %META, so you can't use the normal suite of tags. Further, the pages are constructed in a wierd way; and the script title, "oops", is hardly confidence-inspiring or intention-revealing.

It seems to me that rendering it using view with a different skin is the right way to go.

I just tried this experiment:

  1. Change the "More" ref in view.tmpl to use "view" instead of "oops", with ?skin=more
  2. Copy oopsmore.tmpl to view.more.tmpl

Worked first time!

Probably not so simple with other skins.

See also Item2416, Item2881

CC

Hm this stuff is more of a view_template task.

How about a ?template=WebMore (or whatever you all it) approach similar to the WebCreateNewTopicViewTemplate. That way you don't have to tinker with the skin path to extend it.

MD

Sounds reasonable to me. Marking for Arthur's attention, see what he thinks.

-- CrawfordCurrie - 08 May 2009

I vote for template as well.

-- ArthurClemens - 08 May 2009

Not sure why this was marked for my feedback; it's a skin change, which is not something I normally dabble in. I'm raising the priority of this, because I want to do more with oops to make it more error-report oriented, and this is the main thing blocking me frown, sad smile

-- CrawfordCurrie - 30 May 2009

It is not in patttern skin, but in templates oopsmore.tmpl and viewtopicactionbuttons.tmpl.

I have changed the script name from "oops" to "view", and added ?template=more.

-- ArthurClemens - 30 May 2009

ItemTemplate edit

Summary More should not be an "oops" function
ReportedBy TWiki:Main.CrawfordCurrie
Codebase
SVN Range TWiki-4.1, Mon, 18 Sep 2006, build 11511
AppliesTo Engine
Component Templates
Priority Normal
CurrentState Closed
WaitingFor
Checkins FoswikiSiteSkin:e7ac72a57054
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r13 - 04 Oct 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy