search for template

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
juandiegonoguera
User
Posts: 5

search for template

Post by juandiegonoguera »

I have a problem. I make a search panel by template, which has two searches, one by code, which is very good and one by description, which does not work for me. I need someone to give me a solution


mobhar
User
Posts: 11660

Post by mobhar »

Please always post your code/customization for discussion.


juandiegonoguera
User
Posts: 5

Post by juandiegonoguera »

in ListPage/CustomTemplateSearch

<style>
#btnsubmit {
position: relative;
top: -75px;
left: 470px;
}
</style>
<div class="panel panel-default" style="width:640px;">
<div class="panel-heading">CONSULTAS</div>
<div class="panel-body">

<div class="row">
<div style="padding-bottom:20px" class="col-sm-12">

  <table border="0">
	  <tr><td>&nbsp;&nbsp;CÓDIGO:&nbsp;&nbsp;</td>&nbsp;<td>{{{value producto}}}</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>DESCRIPCIÓN:&nbsp;&nbsp;</td>&nbsp;<td>{{{value descripcion}}}</td></tr>
  </table>

</div>
</div>
</div>
</div>


mobhar
User
Posts: 11660

Post by mobhar »

Double check your code. Are you sure you are using "descripcion" instead of "description"?


juandiegonoguera
User
Posts: 5

Post by juandiegonoguera »

"Descripcion" it´s the name of the attribute, the fields names will be in spanish


mobhar
User
Posts: 11660

Post by mobhar »

Make sure you have already enabled "Descripcion" field from "Fields" setup -> "List Page" -> "List", and re-generate ALL the script files again.


Post Reply