1

I have added the tab using catalog-Manage categories->Add subcategory and added the tab 'as quick service'

Added the form in below path

app/design/frontend/ultimo/default/template/quickservice/form.phtml

and added the cms page with the content

 <p>{{block type='core/template' name='quickservice' template="quickservice/form.phtml"}}</p>

But it is showing the empty page when I click on the tab.Please anyone can help me.

form.phtml

 <form action="<?php echo $this->getFormAction(); ?>" id="quickservice" method="post">
 <li class="fields">
            <div class="field">
                <label for="Servicetype" class="required"><em>*</em><?php echo $this->__('Service Type') ?></label>
                        <div class="input-box">
                            <select name="servicetype" class="input-text required-entry validate-select" style="width: 150px;" />
                                    <option value=""><?php echo $this->__('--Please Select--')?></option>
                                    <option value="Lab"><?php echo $this->__('Lab')?></option>
                                    <option value="Hospital"><?php echo $this->__('Hospital')?></option>
                                    <option value="Food"><?php echo $this->__('Food')?></option>
                                    <option value="Gym"><?php echo $this->__('Gym')?></option>
                                    <option value="Physio"><?php echo $this->__('Physio')?></option>
                                    <option value="Nurse"><?php echo $this->__('Nurse')?></option>
                            </select>
                        </div>
            </div>
</li>
 </form>
  • remove this <?php echo $this->getFormAction(); ?> and check – Qaisar Satti Nov 13 '15 at 5:48
  • No,It is not working – Mouni Nov 13 '15 at 5:53
  • is this admin side – Qaisar Satti Nov 13 '15 at 6:01
  • no,for frontend in admin i had created the subcategory and cms page . – Mouni Nov 13 '15 at 6:08
  • is it displaying footer? – Qaisar Satti Nov 13 '15 at 6:13
2

Have you applied the latest security patch? If so you might need to add a permission for "core/template" under "System -> Permissions -> Blocks"

| improve this answer | |
  • Ni,I have not applied the latest security patch – Mouni Nov 13 '15 at 6:56
  • What version of Magento are you using? Which setting did you choose for "display mode" under "Display Settings" in the Category? – CCK1979 Nov 13 '15 at 7:06
  • magento version is=1.8.1 and static block only under dispaly mode – Mouni Nov 13 '15 at 7:07
  • Can you add some more text to the static block and see if that shows up (or look if the <p> Tags show up)? – CCK1979 Nov 13 '15 at 7:10
  • I have added the image in the static block and checked it is displaying – Mouni Nov 13 '15 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.