Thread:Project:Support desk/ Hooks Functions Hooks function not work in other skin (work in default skin)

Dear all,

I am developing a special page and I need to add a page tab in navigation bar (top of the page). When I am doing my development, I am using default skin (Vector) and the codes work fine.

This is how I add a hook function:

But today when I changed other skin (for example:Monobook) in 'preferences' page, the tab disappear. But I change the default skin back, the tag appear again. So I think it's the problem about skin.

So I try to output some text in my hook function, such like:

The text will appear when I am using default skin (Vector)but not in other skin, thus I think the hooks function is not be loaded.

So is that possible to add a tab in navigation bar for all skins? if it's possible, is there's any problem in my code? (My mediawiki version:1.17.0)

Thanks in advance!