Dual Headers - How to?

Charisma posted 29th of May 2008 in Community Voice. 3 comments.

Hi there,

I have a high custom menu i am building at the moment,

I would like to have 1 piece of graphics for normal visitors

and a seperate piece of graphics for users that are logged in.

 

i.e:

Visitor sees _header.php

Member Logged in see _header2.php

 

is this possible?

if so, could you make a recommendation to what would be the best way to work on this?

 

Many Thanks Guys

RESPECT! :)


Cheers,

Charisma

 
Comments
·Oldest
·Top
Please login to post a comment.
AndreyP
You can realize this ..
if you will provide importing this header via key too :)
... just add another one key to design.inc.php
and use here logged variable ..
and in place where imported header set this variable ..


something like this
Charisma
hey Andrey, thankyou

I partly follow this, could you please simplify this a bit for me
please...

A section in the design.inc.php,
could you please elaborate?

Many Thanks
Aramis
Just look at this file
function PageCode() {
here are
function TmplKeysReplace($m) {
switch( $m[1] ) {
just use it :) (or try :) )
here you can check - logged member or not (using new key in template file)
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.051287889480591