Forums / Cotonti / Extensions / Setting stand alone page title.

lukgoh
#1 2012-01-17 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 2012-01-17 12:49

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

$L['plu_title'] = 'Title Here';
lukgoh
#3 2012-01-17 12:54

I have this:

$L['plugin_title'] = 'Categories';
Trustmaster
#4 2012-01-17 13:45

In Siena it is this:

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

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

Trustmaster
#6 2012-01-17 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 2012-01-17 17:16

Okay got it, thanks for the reply.