cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item12591 (08 Jul 2015, MichaelDaum)Edit Attach

Item12591: VIEW_TEMPLATE needs fully qualified topic name

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: Documentation, SkinCustomization
Branches: master
Reported By: JulianLevens
Waiting For:
Last Change By: MichaelDaum
When setting this preference variable it's necessary to provide a fully qualified topic name.

For example, when creating a topic in a sub-web
   * Set VIEW_TEMPLATE = MyLocalViewTemplate
Will not find the template, you need instead
   * Set VIEW_TEMPLATE = Web/SubWeb.MyLocalViewTemplate

The Web/SubWeb must be finished with a '.' as per the example.

Tested on FW 1.0.8 which is quite old, however probably still an issue: see http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2013-10-03,Thu&sel=50#l46 where this was discussed a little

Of course this almost certainly applies to EDIT_TEMPLATE as well

-- JulianLevens - 03 Oct 2013

Julian, Looks like you proposed a documentation change and addtion of VarVIEWTEMPLATE to further document the operation. Can you get this done for 1.2?

-- GeorgeClark - 21 Dec 2014

OK, I'll take it on. What's the timeframe?

-- JulianLevens - 22 Jan 2015

 

ItemTemplate edit

Summary VIEW_TEMPLATE needs fully qualified topic name
ReportedBy JulianLevens
Codebase 1.0.8
SVN Range
AppliesTo Engine
Component Documentation, SkinCustomization
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:7f71f69840fc distro:fcfa898fee6d
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:7f71f69840fc distro:fcfa898fee6d
ItemBranchCheckins
Release01x01Checkins
Topic revision: r7 - 08 Jul 2015, MichaelDaum - This page was cached on 22 Jun 2018 - 07:12.

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