if (is_single() && get_post_type()== 'wpsc-product' ) {
echo "its a product pag";
}else{
echo "it is not product page";
}?>
echo "its a product pag";
}else{
echo "it is not product page";
}?>
Application development and sharing our knowledge to developer to developer for helping knowledge to build a effective solution for web architect.
here is the solutation :
$document = &JFactory::getDocument(); $document->addScript(
JPATH_SITE.'/media/system/js/thickbox.js' ); $noconflict = 'jQuery.noConflict();'; $document->addScriptDeclaration( $noconflict );