Re: [Tiki-users] How to edit wiki page title displayed on browser tab
Alessandro Martinelli <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonny,
I've tried and it works fine.
Thank you!
Il 08/11/2020 14:05, Jonny Bradley via TikiWiki-users ha scritto:
> Hi Alessandro and all again
>
> I've try sand avoid forking any tpls if you can help it, it becomes a maintenance nightmare pretty quickly when the upstream one changes (and i usually don't notice!) but there is another (hacky) way i devised for a client a while back.
>
> It's documented here (woo) http://doc.tiki.org/PluginList---Hacks-and-Fun
>
> {DIV(class="d-none")}{LIST()}
> {pagination max="1"}
> {OUTPUT()}{display name="mytitle" pagetitle="y"}{OUTPUT}
> {FORMAT(name="mytitle")}This is the page title, not the wiki page title{FORMAT}
> {LIST}{DIV}
>
> HTH
>
> jonny
>
>
>
>> On 8 Nov 2020, at 12:50, Bsfez Tiki via TikiWiki-users <[email protected]> wrote:
>>
>> Hello,
>>
>> I remember it is header.tpl
>>
>> However it is tricky to edit it (we agreed many time it should be improved/split).
>> However there is an option to use wiki page description as browser title… may be you can work out something from there ?
>>
>> Bernard
>>
>>
>>> On 8 Nov 2020, at 12:21 , Alessandro Martinelli <[email protected]> wrote:
>>>
>>> Hi everyone,
>>>
>>> I'd like to understand if it possible to add an option that, if enabled, would cause the browser tab title to equals not the whole wiki page name but only the part after the namespace.
>>>
>>> If I understand correctly, the browser uses the html tag "title" content as tab title. So I'd like to understand which tiki file should I edit in order to modify how the <title> tag is actually filled. I've tried looking for it myselft... but is is just too much stuff 😅
>>>
>>> Thank you,
>>>
>>> Alessandro
>>>
>>>
>>>
>>> _______________________________________________
>>> TikiWiki-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>>
>>
>> _______________________________________________
>> TikiWiki-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>
>
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users