[pmwiki-users] Make :title unvisible

H. Fox haganfox at users.sourceforge.net
Sat Nov 19 14:44:47 CST 2005


On 11/19/05, Fick, Martin <fick at fgm.com> wrote:
>
> Not elegant, but you you could write:
>
>  (:title My Page Name:)
>  (:if false:)
>  !{$Title}
>  (:if:)

Or try

    (:title My Page Name:)
    (:notitle:)
    !{$Title}

Better yet, put

    (:notitle:)
    !{$Title}

in your GroupHeader.  See also:
http://www.pmwiki.org/wiki/Cookbook/AllGroupHeader if you want
sitewide swapping of titles for H1 headings.

The swap works especially well with the Light Skin because the Light
Skin is specifically designed so you can substitute an H1 heading for
the title without changing the page's appearance.
http://www.pmwiki.org/wiki/Test/HeadingNoTitle?skin=light&view=site

Hagan

>  -Martin
>
>
>
>
>  -----Original Message-----
>  From: pmwiki-users-bounces at pmichaud.com on behalf of
> Daniel Hofer
>  Sent: Sat 11/19/2005 6:33 AM
>  To: pmwiki-users at pmichaud.com
>  Subject: [pmwiki-users] Make :title unvisible
>
>  Hello all
>
>  perhaps I didn't understand but...;-)
>
>  I change the titles of my pages with
>  (:title My Page Name:)
>
>  That works fine, but now I implemented Searchhighligtning
>  (http://www.pmwiki.org/wiki/Cookbook/SearchHighLight)
>  It seems that this script doesn't search within the title.
>  OK, instead of the text above I write:
>  (:title My Page Name:)
>  !{$Title}
>
>  That works, but the title appears twice, one time as title, second as
>  heading.
>  The searchhighlight works fine, but is it possible to make the :title
>  unvisible?
>
>  Thanks a lot!!
>
>  Daniel
>
>
>
>
>  _______________________________________________
>  pmwiki-users mailing list
>  pmwiki-users at pmichaud.com
>  http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>




More information about the pmwiki-users mailing list