Need help...
Permalink Browser Info Environment
Just bought this and need to get a custom template. I would like to simply embed the block in the template, using:
What other controller items can I put in there, and how do I get a template to work, adequately? I have a customized form (layout) that I need to integrate. Here is how I would like the form to be output:
You can see the (nonfunctioning) version here:
70.32.116.104/index.php
Thanks!
<?php $bt_main = BlockType::getByHandle('extended_form'); $bt_main->render('templates/custom.php'); ?>
What other controller items can I put in there, and how do I get a template to work, adequately? I have a customized form (layout) that I need to integrate. Here is how I would like the form to be output:
<form name="form" enctype="multipart/form-data" id="extendedFormSurveyView73" class="extendedFormSurveyView" method="post" action="/index.php?cID=1&bID=73&arHandle=Main&ccm_token=1272018811:3566c00d2fb9300b5b3868a1cc271d36&btask=passthru&method=submit_form" style="z-index: 9999;"> <input name="qsID" type="hidden" value="1272018484" /> <input name="pURI" type="hidden" value="/index.php?cID=1" /> <input name="Question1" id="name-field" name="name" title="Name" type="text" value="" tabindex="1" class="required" /> <input name="Question2" id="email" type="text" name="email" title="Email Address" value="" tabindex="2" class="required" /> <input name="Question3" title="Phone Number" id="phone" type="text" value="" tabindex="3" class="required" /> <fieldset> <legend align="center">and</legend> <label>Cell Tower Property Location</label> <div class="clearThis"> </div> <input name="Question5" id="address" type="text" value="" tabindex="4" title="Address" class="pad" /> <input name="Question6" title="City" id="city" type="text" value="" tabindex="5" /> <input name="Question7" title="State" id="state" type="text" value="" tabindex="6" class="half" /> <input name="Question8" title="Zip Code" id="zip" type="text" value="" tabindex="7" class="half2" /> </fieldset>
Viewing 15 lines of 36 lines. View entire code block.
You can see the (nonfunctioning) version here:
70.32.116.104/index.php
Thanks!
Type: | Discussion |
---|---|
Status: | New |
It isn't so simple to change the complete template of the form.
My advise is to create a single page which uses the helper form. With this you can change the form as you like and you can use the helper to mail or save your form.
Regards,
Corretje