Hello another problem that my client pointed out to me was the fields section. They enter no information into the fields but that field still shows on frontend when they are wanting to hide the fields with no data entered.
So what we want to know is how can we hide the fields that have no data entered into them so that those fields with no data entered do not show on the frontend. Fields must only show on the frontend when one enters data into them. I hope this makes sense.
Hello thanks for the reply yes we know for that. The fields we are referring to is the bedroom & Bathrooms fields. My clients notes:
it displays the beds and bathrooms as 0 if no value is entered on joomla. Is there no way to make this only to appear if they are entered? I notice with the other info like parking it only displays if a value is entered
Hi 2fast2hot
Your issues have been fixed. Please check again then tell me your idea. Here is the list of things I fixed for you:
- i change line code from 74 to 77 in folder components/com_jux_real_estate/views/realties/tmpl/default_grid.php
<div class="bedrooms"><span><?php if($this->item->beds>0){ echo $this->item->beds; }?></span></div>
<div class="bathrooms"><span><?php if($this->item->baths > 0) {echo $this->item->baths;} ?></span> </div>
Best regards,
Falcao