Forum
Blog Search results template
I am wanting to have my search results show in the same way as the blog/ post_in_list.html template. What is the most effective way to do this please?
template is:
<div class="registration">
<div class="postname"><h4><perch:blog id="postTitle" type="text" /></h4></div>
<div class="price"><p><perch:blog id="word" type="text" label="Registration Word" required="true" /></p></div>
<div class="buynow"><p><span><perch:blog id="price" type="text" label="Website Price" required="true" /></span></p></div>
<div class="number"><p>Enquire</p></div>
<div class="number">
<p>
<span>
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="hosted_button_id" value="9AMHPFPDY8628">
<input type="image" style="color: #2574A9;font-size: 18px;font-weight: bold;margin: 0;padding: 0;border: none; background-color:#ECF0F1;" name="submit" alt="Buy Now">
<input type="hidden" name="item_name" value="Perch_Buy_Button" />
<input type="hidden" name="item_number" value='<perch:blog id="postTitle" type="text" />' />
<input type="hidden" name="amount" value="250" />
<input type="hidden" name="currency_code" value="EUR" />
<input type="hidden" name="return" value="https://www.right-registrations.co.uk/perch/addons/apps/paypal_integration/success/" />
<input type="hidden" name="cancel_return" value="https://www.right-registrations.co.uk/perch/addons/apps/paypal_integration/success/" />
</form>
</span>
</p>
</div>
<!--registration--></div>
All the above information needs to show within the search results as there is no link to another page its just the post_in_list that show on the website!
Help appreciated,
Thanks.
You need to edit the search result template to include the fields you want.
Thank you!