RSS
Home Forum v3
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Customising Fields
#3776
Customising Fields 1 Year, 7 Months ago Karma: 2
Hi,

In Products/Features, I don't use any of the buttons, but I do use some of the HIDDE text fields.

Is it possible to delete all the radio buttons and make the text fields wider?

Chris
Expert Boarder
Posts: 109
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3777
Re:Customising Fields 1 Year, 7 Months ago Karma: 1
Hi,
Open default_addproperty
components/com_properties/views/panel/tmpl

find that code
Code:

for ($x=2;$x<41;$x++){
if(JText::_('extra'.$x)!='HIDDE'){
echo '<tr>
<td class="key"><label for="extra'.$x.'">'. JText::_( 'extra'.$x ).'</label></td>
<td>
';
$chequeado0 = $extra[$x] ? JText::_( '' ) : JText::_( 'checked="checked"' );
$chequeado1 = $extra[$x] ? JText::_( 'checked="checked"' ) : JText::_( '' );
echo'
<input name="extra'.$x.'" id="extra'.$x.'_0" value="0" '.$chequeado0.' type="radio">
<label for="extra'.$x.'_0">'.JText::_( 'No' ).'</label>
<input name="extra'.$x.'" id="extra'.$x.'_1" value="1" '.$chequeado1.' type="radio">
<label for="extra'.$x.'_1">'.JText::_( 'Yes' ).'</label> 

</td></tr>
';
}
}



Delate that,
and change that code

Code:

for ($x=41;$x<81;$x++){
if(JText::_('extra'.$x)!='HIDDE'){
echo '
<tr>
<td class="key"><label for="extra">'. JText::_( 'extra'.$x ).'</label></td>
<td><input class="text_area" type="text" name="extra'.$x.'" id="extra'.$x.'" size="20" maxlength="255" value="'.$extra[$x].'" /></td>
</tr>
';
}
}



in that
Code:

for ($x=2;$x<81;$x++){
if(JText::_('extra'.$x)!='HIDDE'){
echo '
<tr>
<td class="key"><label for="extra">'. JText::_( 'extra'.$x ).'</label></td>
<td><input class="text_area" type="text" name="extra'.$x.'" id="extra'.$x.'" size="20" maxlength="255" value="'.$extra[$x].'" /></td>
</tr>
';
}
}

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
 
#3779
Re:Customising Fields 1 Year, 7 Months ago Karma: 2
Hi, thanks for your quick reply.

Unfortunately the changes you suggest make no difference. Even if I delete ALL the code in default_addpropety.php it makes no difference!? I am using Ver 0624

Is there another file I should change? What am I doing wrong?
Chris
Expert Boarder
Posts: 109
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3784
Re:Customising Fields 1 Year, 7 Months ago Karma: 5
default_addproperty is for frontend. I dont know file for front. somebody know?
TuteMdz
Gold Boarder
Posts: 170
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3787
Re:Customising Fields 1 Year, 7 Months ago Karma: 1
Hi, thanks for your quick reply.

Unfortunately the changes you suggest make no difference. Even if I delete ALL the code in default_addpropety.php it makes no difference!? I am using Ver 0624

Is there another file I should change? What am I doing wrong?


You want change in front end or in back end????
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
 
#3794
Re:Customising Fields 1 Year, 7 Months ago Karma: 2
Sorry I should have said.

I would like to change the Backend.


Chris
Chris
Expert Boarder
Posts: 109
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3846
Re:Customising Fields 1 Year, 6 Months ago Karma: 2
Yuri Hi,

Is there an answer?

Can I remove these unwanted buttons from the back end?

Chris
Chris
Expert Boarder
Posts: 109
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3850
Re:Customising Fields 1 Year, 6 Months ago Karma: 1
I would like to change the Backend.


i'ts same work

Can I remove these unwanted buttons from the back end?

what button?
Please came in my website, contact me in the support and i help you!
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
 
Go to topPage: 1