Tags:
create new tag
view all tags
It seems that there is a "path" for templates
  1. twiki/templates/$webName/$scriptName.tmpl
  2. twiki/templates/$scriptName.tmpl
Arguably with skins providing a third path element.

Idea: there could be per user path elements.

Not just the skin specification - which is a per user path element selected from some preinstalled templates in the skins directory.

But, e.g. the user could have a page, say Main.UserNameTemplates, to which the various template files *.tmpl would be attachments.

I.e., basically it would be adding

  • twiki/pub/Main/UserNameTemplates/$scriptname.tmpl
to the path for templates.

-- AndyGlew - 24 Jun 2003

if you really need this level of flexibility, you might be better off writing some code so that templates are defined in TwikiTopics, and then a user can set which topic to use as a template.

-- SvenDowideit - 24 Jun 2003

It's worth remembering that you don't always know who the user is.

-- JohnTalintyre - 24 Jun 2003

True, but if you take the approach I suggest in DynamicallyChangeableSkins you could use your skins without logging in - you just bookmark your start point. Added benefit for users is "no" tracking on the server for the paranoid, and means users can share what their views of a site look like without changing their preferences or logging in. For example all 4 of us had a personal skin installed we could look at this page using it thus: (changing the examples slightly)

Or even perhaps:

I know this is similar to the current ?skin= approach, but unlike the ?skin= approach if you click through to more links in that web you will continue with the same skin. As noted in the other topic part of this thinking comes from wondering what the implications are if templates are made into topics and user editable and what happens when that is combined with LogicallyNestedWebs. (I suppose you do that after a big refactor smile )

-- MichaelSparks - 24 Jun 2003

A "sticky" skin could also be done with this enhancement: If the URL has a ?skin= parameter, add that skin parameter to all internal links in the topic. That way user's could bookmark their favorite skin.

But then, users can already set their favorite skin in the personal preferences.

-- PeterThoeny - 24 Jun 2003

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2003-06-24 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.