[pmwiki-users] Inconsistency of Titlespaced on two different sites
Chris Cox
ccox at airmail.net
Wed Nov 15 20:22:06 CST 2006
I recently unified two sites to using the same
skin.
One is at http://www.ntlug.org
however, just for this example, use
http://www.ntlug.org/Main/SiteMap
The banner at the top comes in
from the skin template which contains...
<div id='wikititle'>
<div class='pagegroup'>
<!--wiki:{$Group}.Title {$SiteGroup}.Title-->
</div>
</div>
So... it pulls in Site.Title if there isn't
some kind of {$Group}.Title page.... which is
find.
My Site.Title contains:
![[{$Group}/{$Name}|{$Titlespaced}]]
Which is why Main/SiteMap
shows up as "Site Map" on the banner
for that page.
However, take a look at:
http://theendlessnow.com/ten/Main/HomePage
Notice how it says "HomePage" (not spaced)
it now uses the same skin with the
same Site.Title file... yet the AsSpaced
function doesn't get called at all (I
even put some weird thing into it.. it
simply never gets called). I can't
find anywhere where I might be manipulating
AsSpaced or AsSpacedFunction.. not in
the cookbooks either. As I said, it
looks like it's not even firing.
Any hints?
Chris
More information about the pmwiki-users
mailing list