Recent Topics

SkinTag for skin head

Started by on Dec 04, 2005 – Contents updated: Dec 04, 2005

Dec 04, 2005 19:28    

If I want a plugin to insert some code into the head and body of a skin, how should I do it? I can't use the SkinTag function in both places, can I?

Dec 04, 2005 21:53

Yabba explained this to me, but I'll post it here in case it could help someone else. The params can be used to display the skintag more than once.

if ( $params['display'] == 'head' ) { // Display the head code
        echo 'Put your head stuff here';
        } else { // Display the code for the body
echo 'Put the body stuff here';
}


Form is loading...

Photo gallery software – This forum is powered by b2evolution CMS, a complete engine for your website.