Posts

Showing posts from May, 2013

How to Create Own Form in Interspire

There are Four files should be Created for to Create own Interspire Form ,steps  mention below before you should make herf link for Sony idea in topmenu.html file in panel directory and pass the link interspire/master.php. Steps 1. Create Master.php → interspire/master.php and paste the given below code include(dirname(__FILE__)."/init.php"); require(dirname(__FILE__).'/includes/classes/class.master.php'); $GLOBALS['ISC_CLASS_GIFT_CERTIFICATES'] = GetClass('ISC_MASTER'); $GLOBALS['ISC_CLASS_GIFT_CERTIFICATES']->HandlePage(); Step 2. Create class.master.php → interspire/include/class/class.master.php and paste given below code class ISC_MASTER { public function HandlePage() { //$GLOBALS['ISC_CLASS_TEMPLATE']->SetPageTitle(sprintf("%s - %s", GetConfig('StoreName'), GetLang('Master'))); //$GLOBALS['ISC_CLASS_TEMPLATE']->SetTemplate("giftcertifica

How to Create Panel and Snippets in Interspire

How to create Panel and snippets in Interspire only 3 Steps Step 1. Create php file Cat.php in include/display/Cat.php and copy the hole code and pasted on it <?php //$GLOBALS['MyPlaceholder'] = "This is some bharat <b>text</b> to show"; CLASS ISC_Cat_PANEL extends PANEL { function SetPanelSettings() { $GLOBALS['Category'] = "Sony" ; This %%GLOBAL_Category%% syntex to define global variable put on Cat.html file which is belong to panel directory in default then Panel being dynamic.. you can put in snippets also ...accoding to req. // we can using a text or image-based logo? $test="i love Sony Mobile"; $test .= $GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet("Cat"); I I In GetSnippet("Cat"); Cat is the snippets name we can render to dynamic snippets //$GLOBALS['ISC_CLASS_TEMPLATE']->GetSnippet(&quo