Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 11-03-2010 23:52:33

Design_Wholesale
Member
From: England!
Registered: 11-21-2008
Posts: 1104
Website

How Do I Use $skinfunc In The Main (Splash) Page Area?

I am trying to move the login/create account link...

Code:

$skinfunc->namespace($app_id,'miniacctlogin');

...so it displays in the main  area, but I cannot get it working once it is added to that webpage.

I have tried adding...

Code:

$skinfunc =& $this->include_skinfunc('KHXC_SkinFunc');
extract($skinfunc->startup());

...to see if that will make it work (it did not), and I have tried adding the above as...

Code:

$this->include_file($app_id,'miniacctlogin');

...which did not work, either.

Can anyone offer any insight on this, please?

Offline

 

#2 11-04-2010 03:03:32

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: How Do I Use $skinfunc In The Main (Splash) Page Area?

For the last one you tried did you set the $app_id variable before trying the include (though I'm pretty sure that won't work anyway)?

You need to get the application ID and call include_namespace directly.

Code:

$app_id = $this->globals('khxc.app');
$this->include_namespace($app_id,'miniacctlogin');

Offline

 

#3 11-04-2010 11:19:49

Design_Wholesale
Member
From: England!
Registered: 11-21-2008
Posts: 1104
Website

Re: How Do I Use $skinfunc In The Main (Splash) Page Area?

Worked perfectly. - Thank-you once again.

Offline

 

Board footer