vaviv Posted June 19, 2011 Share Posted June 19, 2011 I use osc 2.3.1 for example: I want to insert html code in to language infobox or another infobox.. How to do that? Thanks Link to comment Share on other sites More sharing options...
PupStar Posted June 19, 2011 Share Posted June 19, 2011 I use osc 2.3.1 for example: I want to insert html code in to language infobox or another infobox.. How to do that? Thanks Just add it into the $data section, open any infobox and you will see what I mean. Mark Link to comment Share on other sites More sharing options...
vaviv Posted June 19, 2011 Author Share Posted June 19, 2011 Just add it into the $data section, open any infobox and you will see what I mean. Mark because i'm a rookie :-) where is the $data section Link to comment Share on other sites More sharing options...
PupStar Posted June 19, 2011 Share Posted June 19, 2011 because i'm a rookie :-) where is the $data section This is the code from the languages.php infobox $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_LANGUAGES_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents" style="text-align: center;">' . $languages_string . '</div>' . '</div>'; Link to comment Share on other sites More sharing options...
vaviv Posted June 19, 2011 Author Share Posted June 19, 2011 This is the code from the languages.php infobox $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_LANGUAGES_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents" style="text-align: center;">' . $languages_string . '</div>' . '</div>'; and the html code --------------- <p> <iframe name="I1" src="html link here.htm" width="223" height="931" marginwidth="0" marginheight="0" scrolling="no" border="0" frameborder="0"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe></p> --------------- where to insert it ? sorry for my english... Link to comment Share on other sites More sharing options...
PupStar Posted June 19, 2011 Share Posted June 19, 2011 and the html code --------------- <p> <iframe name="I1" src="html link here.htm" width="223" height="931" marginwidth="0" marginheight="0" scrolling="no" border="0" frameborder="0"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe></p> --------------- where to insert it ? sorry for my english... to ask a daft question ...... why on earth would you want to put that into an infobox? Link to comment Share on other sites More sharing options...
vaviv Posted June 19, 2011 Author Share Posted June 19, 2011 to ask a daft question ...... why on earth would you want to put that into an infobox? I do some tests on how to working? Link to comment Share on other sites More sharing options...
PupStar Posted June 19, 2011 Share Posted June 19, 2011 I do some tests on how to working? $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_LANGUAGES_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents" style="text-align: center;">' . $languages_string . '</div>' . ' <p>' . ' <iframe name="I1" src="html link here.htm" width="223" height="931" marginwidth="0" marginheight="0" scrolling="no" border="0" frameborder="0">Your browser does not support inline frames or is currently configured not to display inline frames.' . ' </iframe></p>' . '</div>'; Link to comment Share on other sites More sharing options...
vaviv Posted June 19, 2011 Author Share Posted June 19, 2011 $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_LANGUAGES_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents" style="text-align: center;">' . $languages_string . '</div>' . ' <p>' . ' <iframe name="I1" src="html link here.htm" width="223" height="931" marginwidth="0" marginheight="0" scrolling="no" border="0" frameborder="0">Your browser does not support inline frames or is currently configured not to display inline frames.' . ' </iframe></p>' . '</div>'; WOWWWWWWWWWWWW Many thanks.... You are super... Link to comment Share on other sites More sharing options...
PupStar Posted June 19, 2011 Share Posted June 19, 2011 WOWWWWWWWWWWWW Many thanks.... You are super... If look at how the code is laid out then you should have no problems replicating it in the future :thumbsup: Link to comment Share on other sites More sharing options...
vaviv Posted June 19, 2011 Author Share Posted June 19, 2011 If look at how the code is laid out then you should have no problems replicating it in the future :thumbsup: Mark, one question again in to products_new.php where to insert the same html code? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.