 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
April 3rd, 2010, 01:26 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009
Posts: 16
| condition of this item?
i really dont have a need for this option but i would like to customize it to suit my needs.
how would i go about changing "condition of this item" to Finish Type? and change excellent, good, fair, poor to Gold, Metal, Wood, Plastic, Plaster?
which file(s) would i need to edit? and what would be the code?
thanks for your help.
sorry it looks like i may have posted this in the wrong section.
Last edited by 20KingSize; April 3rd, 2010 at 01:37 PM.
|
| |
April 3rd, 2010, 04:46 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Under Admin language section for edit strings you search for the wording you wish to change and use the phrase editor to change the actual wording in admin.
|
| |
April 3rd, 2010, 08:18 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009
Posts: 16
|
ok thanks for that, i can see how this can be done. Another question would be how do i go about adding more options? there is 5 that i have changed
excellent = gold
great = metal
good = wood
fair = plastic
poor = plaster
but i would also like to add bronze and silver, how would i go about doing that?
thanks for your help
|
| |
April 3rd, 2010, 08:33 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
You could possibly add more options lines for the rating select box under the uploadproduct template in admin edit templates.
note you need to use the exact wording bronze and silver in the options because there are no strings in the database.
|
| |
April 3rd, 2010, 11:18 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2009
Posts: 16
|
thanks for you help with this, i now have it all set up and working |
| |
April 4th, 2010, 08:11 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Happy Easter enjoy whats left of the holiday! Glad to help
|
| |
May 31st, 2010, 07:46 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Oct 2005
Posts: 119
|
Chuck, how do i add the phrase in the language file? Quote:
Originally Posted by Chuck S You could possibly add more options lines for the rating select box under the uploadproduct template in admin edit templates.
note you need to use the exact wording bronze and silver in the options because there are no strings in the database. |
Last edited by klaush; May 31st, 2010 at 08:34 AM.
|
| |
May 31st, 2010, 08:01 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
You would add a language string in the phrases.php file. However not too sure why your trying to add a phrase since it would not be used in our program naturally.
|
| |
May 31st, 2010, 08:43 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Oct 2005
Posts: 119
|
O.k., i want to add one or more conditions just as "Broken" or "Not Usable" to the exiating options such as good, fair or what ever. Quote:
Originally Posted by Chuck S You would add a language string in the phrases.php file. However not too sure why your trying to add a phrase since it would not be used in our program naturally. | |
| |
May 31st, 2010, 10:59 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
You can hard code any extra options in the templates if you want to keep it simple
|
| |
October 11th, 2012, 01:44 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2011 Location: Felixstowe -UK
Posts: 11
| Quote:
Originally Posted by Chuck S You can hard code any extra options in the templates if you want to keep it simple | I am trying to hard code as you suggest - see below ("test" option added)
<option selected="selected" value="$pp_phrase[excellent]">$pp_phrase[excellent]</option>
<option value="$pp_phrase[great]">$pp_phrase[great]</option>
<option value="$pp_phrase[good]">$pp_phrase[good]</option>
<option value="$pp_phrase[fair]">$pp_phrase[fair]</option>
<option value="$pp_phrase[poor]">$pp_phrase[poor]</option>
<option value="test">test</option>
This is not working for me - am I doing this right?
Regards
Stuart
__________________
Regards
Stuart
|
| |
October 11th, 2012, 02:06 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
well you just can not hard code things in and expect it to work.
This discussion was about a user changing the wording of an existing field to suit his specific needs.
Now this also is a very old discussion.
You can under Admin => Edit Categories define any type of extra fields you wish. You can define an additional field using a dropdown box and enter options there. Then your additional field would work. |
| |
October 11th, 2012, 02:10 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Aug 2011 Location: Felixstowe -UK
Posts: 11
|
Thanks Chuck
__________________
Regards
Stuart
|
| |
October 11th, 2012, 02:12 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Your welcome let us know if you need anything else.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:35 AM. | |