Форуми / Cotonti / Extensions / Setting stand alone page title.

lukgoh
#1 17.01.2012 11:44

I was wondering what the correct method was for setting a stand alone plugins title. At the minuet it is displaying "Tags" for some reason and I can't work out why. (Tags - Website Name)

Twiebie
#2 17.01.2012 12:49

Try putting something like this in the lang file of the plugin:

$L['plu_title'] = 'Title Here';
lukgoh
#3 17.01.2012 12:54

I have this:

$L['plugin_title'] = 'Categories';
Trustmaster
#4 17.01.2012 13:45

In Siena it is this:

$out['subtitle'] = 'Some string or $L here';
May the Source be with you!
lukgoh
#5 17.01.2012 14:48

Thank you Trustmaster, for the fun of learning, why does it adopt "Tags" as its defualt? 

Trustmaster
#6 17.01.2012 16:22

Because that's the last plugin that sets $L['plu_title'] by that moment. As Twiebie noticed, $L['plu_title'] can also be used to set a plugin title, but $out['subtitle'] has higher priority.

May the Source be with you!
lukgoh
#7 17.01.2012 17:16

Okay got it, thanks for the reply.