Recent Topics

1 Feb 29, 2012 18:43    

Hey, I have an unusual question, how do I call a param from a different skin class?

Usually I'll call a param like this:

$Skin->get_setting( 'link_class' )

but what if I wish to call a param from one skin of another?

Example I am calling a param specified in skin B from code in skin A?

2 Mar 05, 2012 06:35

Don't forget to replace 2 with you blog ID

$BlogCache = & get_BlogCache();
$SkinCache = & get_SkinCache();

$BlogB= & $BlogCache->get_by_ID( 2 );
$SkinB = & $SkinCache->get_by_ID( $BlogB->skin_ID );

$blog_b_class = $SkinB->get_setting( 'link_class' );

3 Mar 05, 2012 18:52

Thanks Sam, solved it for me.


Form is loading...