See
Support.OverridePageTitle
for history.
I have a Pattern Skin cover that is working perfectly. If I put
* Set PAGETITLE = Vicki Loves Bagels
into a page, the page title changes as expected. Tra la.
However, if I set PAGETITLE based on a form field, that is, if I put
<!--
* Set PAGETITLE = %IFDEFINED{"%FORMFIELD{"ProjectName"}%" then="%FORMFIELD{"ProjectName"}%" else="%TOPIC%"}%
-->
into the page, the page Title becomes
%IFDEFINED{
Not as expected.
--
TWiki:Main/VickiBrown
- 26 Jul 2007
You allocated this to
Engine
but you are actually reporting a problem against a plugin, I think. You can do the same thing with %IF; just in case that's what you meant, let's try it:
-
Set PAGETRIPE = %IF{"'%FORMFIELD{"ReportedBy"}%'" then="%FORMFIELD{"AppliesTo"}%" else="%TOPIC%"}%
expands to:
- Set PAGETRIPE = Engine
-
%FORMFIELD{"ReportedBy"}%
is TWiki:Main.VickiBrown
-
%FORMFIELD{"AppliesTo"}%
is Engine
- =%PAGETRIPE% is Engine
Looks OK to me, so I guess your problem is with a plugin after all. Can you confirm that?
--
CrawfordCurrie - 27 Jul 2007
Perhaps this is hit by a similar issue to
Item4391.
Please re-open with more information.
--
TWiki:Main.SteffenPoulsen
- 17 Sep 2007