RSS
Home Forum v3
Welcome, Guest
Please Login or Register.    Lost Password?

Extra not visible
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Extra not visible
#4640
Extra not visible 1 Year, 5 Months ago Karma: 1
Hi,

I try to get more extra fields in the pages.
But there are not visible.

Fields 33 to 44 and 73 to 80 and 89 to 92
In the dbase I have changes this in select boxes (yes or no)

Have some one any idea how I can get this working?
cvf1
Senior Boarder
Posts: 62
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4649
Re:Extra not visible 1 Year, 5 Months ago Karma: 26
In your com_properties detail configuration, what template do you use?

configuration -> file use
default -> details.php
default1 -> details1.php
default2 -> details2.php
default3 -> details3.php

if you use tabs
default -> details_tab.php
default1 -> details_tab1.php
default2 -> details_tab2.php
default3 -> details_tab3.php
in /Yoursite / components / com_properties / views / templates / '

Edit your file and find line like this :
<?php if($Product->extra11){echo '<tr><td align="right">'.JText::_('extra11') .':</td><td align="left"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" alt="'.JText::_('extra11') .'" /></td></tr>';} ?>
Copy this line where you want show the extra field, and change the nuber (60, 61, 62 ...)
<?php if($Product->extraXX){echo '<tr><td align="right">'.JText::_('extraXX') .':</td><td align="left"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" alt="'.JText::_('extraXX') .'" /></td></tr>';} ?>
sigouil
New job => Less time :(
Platinum Boarder
Posts: 411
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France Birthday: 12/31
The administrator has disabled public write access.
Sorry for my English. It is a Google translation.
 
#4650
Re:Extra not visible 1 Year, 5 Months ago Karma: 1
Thanks,

I have found out the pages to changes.

Do you now of it is possible that when you have select no that
images x changes in images y

For sample if yes then /img/icon-16-checkin.png
If no then /img/icon-no.png
cvf1
Senior Boarder
Posts: 62
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4673
Re:Extra not visible 1 Year, 5 Months ago Karma: 26
You can do this:

<?php if($Product->extra21){echo '<tr><td align="right">'.JText::_('extra21') .':</td><td align="left"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" alt="'.JText::_('extra21') .'" /></td></tr>';} else {echo '<tr><td align="right">'.JText::_('extra21') .':</td><td align="left"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra21') .'" /></td></tr>';}?>

sigouil
New job => Less time :(
Platinum Boarder
Posts: 411
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France Birthday: 12/31
The administrator has disabled public write access.
Sorry for my English. It is a Google translation.
 
#5065
Re:Extra not visible 1 Year, 5 Months ago Karma: 1
That not work, if set not in panel continue to show
img/icon-16-checkin.png

?
yuri1982
www.com-property-template.com CUSTOM WORK FOR PROP
Platinum Boarder
Posts: 442
graphgraph
User Offline Click here to see the profile of this user
Gender: Male yuri-cristodaro yuri_cristodaro@hotmail.com Location: ITALIA Birthday: 12/14
The administrator has disabled public write access.
If you need custom work for your Property add new field, customize template, please contact me in MNS yuri_cristodaro@hotmail.com
And go to www.com-property-template.com
 
#5086
Re:Extra not visible 1 Year, 5 Months ago Karma: 26
Try with this file.
It's details2.php with this modif and image No.
File Attachment:
File Name: Details2.zip
File Size: 7300


You obtain like this:
sigouil
New job => Less time :(
Platinum Boarder
Posts: 411
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France Birthday: 12/31
The administrator has disabled public write access.
Sorry for my English. It is a Google translation.
 
#5103
Re:Extra not visible 1 Year, 5 Months ago Karma: 1
Sorry sigouil,
work, i have make a big misstake,, because in List it's $row->... and not $product->...
Thanks
yuri1982
www.com-property-template.com CUSTOM WORK FOR PROP
Platinum Boarder
Posts: 442
graphgraph
User Offline Click here to see the profile of this user
Gender: Male yuri-cristodaro yuri_cristodaro@hotmail.com Location: ITALIA Birthday: 12/14
The administrator has disabled public write access.
If you need custom work for your Property add new field, customize template, please contact me in MNS yuri_cristodaro@hotmail.com
And go to www.com-property-template.com
 
#6534
Re:Extra not visible 1 Year, 3 Months ago Karma: 1
Hi,

Do I have to changes all $Products in to $Row?

If I choice for No now I get the text and not the no icoon.


Code:

<?php if($Product->extra75){echo '<tr><td class="td_left">'.JText::_('extra75') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra75') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra76){echo '<tr><td class="td_left">'.JText::_('extra76') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra76') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra77){echo '<tr><td class="td_left">'.JText::_('extra77') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra77') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra78){echo '<tr><td class="td_left">'.JText::_('extra78') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra78') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra79){echo '<tr><td class="td_left">'.JText::_('extra79') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra79') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra80){echo '<tr><td class="td_left">'.JText::_('extra80') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra80') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra81){echo '<tr><td class="td_left">'.JText::_('extra81') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra81') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra82){echo '<tr><td class="td_left">'.JText::_('extra82') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra82') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra83){echo '<tr><td class="td_left">'.JText::_('extra83') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra83') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra84){echo '<tr><td class="td_left">'.JText::_('extra84') .' :</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra84') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra73){echo '<tr><td class="td_left">'.JText::_('extra73') .':</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra73') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>
<?php if($Product->extra74){echo '<tr><td class="td_left">'.JText::_('extra74') .':</td><td class="td_right"><img src="'.JURI::base().'components/com_properties/includes/img/icon-16-checkin.png" /></td></tr>';}  else {echo '<tr><td align="left">'.JText::_('extra74') .':</td><td align="center"><img src="'.JURI::base().'components/com_properties/includes/img/icon-no.png" alt="'.JText::_('extra5') .'" /></td></tr>';}?>

cvf1
Senior Boarder
Posts: 62
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1