Forums / Developer / problem calling iframe / Comment51361
somnath sonawne
Tuesday 23 June 2009 12:31:06 am
Hi Seb,
I 've created one form using step described in the linkhttp://ez.no/developer/articles/how_to_create_ez_publish_forms
In the form's tpl file I inserted code given by you along with form code. the code is as below ----------------------------------------form.tpl------------- {* Somnath_Iframe - Full view *} <div class="m-top-15 clear-block"> <iframe src='http://IFRAMEURL.COM' width='990' height='380' frameborder="0" scrolling="no"></iframe> </div> <div class="border-box"> <div class="border-tl"> <div class="border-tr"> <div class="border-tc"></div> </div> </div> <div class="border-ml"> <div class="border-mr"> <div class="border-mc float-break"> <div class="content-view-full"> <div class="class-Somnath_Iframe"> <div class="attribute-header"> <h1>{$node.name|wash()}</h1> </div> {* validation *} {include name=Validation uri='design:content/collectedinfo_validation.tpl' class='message-warning' validation=$validation collection_attributes=$collection_attributes} <form method="post" action={"content/action"|ezurl}> {* Given Name *} <h4>{$node.data_map.given_name.contentclass_attribute.name}</h4> <div class="attribute-given-name"> {attribute_view_gui attribute=$node.data_map.form_name} </div> {* Form buttons - Processing *} <div class="content-action"> <input type="submit" class="defaultbutton" name="ActionCollectInformation" value="{"Send form"|i18n("design/ezwebin/full/feedback_form")}" /> <input type="hidden" name="ContentNodeID" value="{$node.node_id}" /> <input type="hidden" name="ContentObjectID" value="{$node.object.id}" /> <input type="hidden" name="ViewMode" value="full" /> </div> </form> </div> </div> </div> </div> </div> <div class="border-bl"> <div class="border-br"> <div class="border-bc"></div> </div> </div> </div>---------------code ends-----------------------
but it is showing only form at the site. Please,tell is there anything missing from my side orIs there any alternatine way to create control like iframe.
Thank YouSomnath