overall_header

Heartless

Up-and-Coming Sensation
Joined
Nov 8, 2009
Messages
435
Reaction score
0
FP$
6
I just added an extra link to my sites navigation in the overall_header. But when i change to a different page like search.php or ucp.php the link will vanish, i want it to show on every page and don't understand why it keeps vanishing. It appears on the index page and on all the topics/forums.

Just not the other main pages, any ideas ... ?

This is the code i added

Code:
<!-- IF U_MCP --><a href="{U_MCP}" class="leftlink">{L_MCP}</a><!-- ENDIF -->
 
That's simple.

It's because you don't have access to the MCP on those pages.

Code:
<!-- IF U_MCP --><a href="{U_MCP}" class="leftlink">{L_MCP}</a><!-- ENDIF -->

Means that it will only show if the MCP is enabled on that page.
 
Zaborg, you realise that will just make the link visible for everybody, right?

It's better as it is now, Heartless.
 
Nathan said:
That's simple.

It's because you don't have access to the MCP on those pages.

Code:
<!-- IF U_MCP --><a href="{U_MCP}" class="leftlink">{L_MCP}</a><!-- ENDIF -->

Means that it will only show if the MCP is enabled on that page.

I had a feeling this may be the reason, thanks for clearing that up.

Zaborg said:
Remove <!-- --> stuffs, you don't need them 🙂

I don't want the link to show to people who are not moderators.

DirTek said:
Zaborg, you realise that will just make the link visible for everybody, right?

It's better as it is now, Heartless.

I agree, thanks.
 
Back
Top Bottom