NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.
er, and now it looks like i can't escape.

Page 1 of 1788 Next >

%STARTSECTION{"createpopup"}%
   * %ITEMTOPIC% - %IF{
  "istopic '%ITEMTOPIC%'"
  then="is a topic"
  else="not a topic"
}%
   * Set S_ITEMWEB = %IF{"defined ITEMWEB" then="%ITEMWEB%" else="%WEB%"}%
   * Set S_ITEMTOPIC = %IF{"defined ITEMTOPIC" then="%ITEMTOPIC%" else="ThisTopicShouldNotBeThere"}%
      * %S_ITEMWEB% . %S_ITEMTOPIC% %IF{
  "istopic '%S_ITEMWEB%.%S_ITEMTOPIC%'"
  then="is a topic"
  else="not a topic"
}%%ENDSECTION{"createpopup"}%

yup. nothing to see here - just added an unescaped INCLUDE - it almost worked, which makes it even harder to debug :/

-- SvenDowideit - 18 Apr 2012
 

ItemTemplate edit

Summary having issues with a IF and parametarised INCLUDE
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r2 - 18 Apr 2012, SvenDowideit
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads