 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
June 29th, 2006, 12:46 PM
|
#1 (permalink)
| | Member
Join Date: Apr 2006
Posts: 63
| Changing "SOLD IT!" for some templates?
I"m trying to change the "SOLD IT!" that appears in a poster's add along with some other values as some of my categories do not involve an actual Sale.
I customized the "Wanted" templates for some other ad types and wanted to change it to say other things depending on what template I'm using for that category.
I did find this in english.php: Code: Content visible to verified customers only.
But of course, I want to keep this for the "for sale" and some other ad types.
So I did the following for a job ad template (editproduct4.php): Code: Content visible to verified customers only.
Sadly, this made no difference. Any ideas?
|
| |
June 29th, 2006, 02:10 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
Only if your using template 4 would the language files be used and they must exist under the languages/english directory Code: Content visible to verified customers only.
|
| |
June 30th, 2006, 06:40 AM
|
#3 (permalink)
| | Member
Join Date: Apr 2006
Posts: 63
|
I notice that the "SOLD IT" link, once clicked, displays, SOLD in the price section of an ad using the "for sale" template.
Is that the only purpose for this function? What I mean is, does it not remove the ad itself (doesnt' appear to)..meaning the "SOLD IT" is only usable on the "For Sale" templates?
|
| |
June 30th, 2006, 09:49 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
SOLD IT or the function is within all templates The special language files load a different name like wanted is FOUND IT.
|
| |
July 13th, 2006, 06:26 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
My system use words from showproduct1.php, but for some reason it's not using "sold". So Wanted ads displays "SOLD IT!"...
|
| |
July 13th, 2006, 08:34 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
If your assigning the category to the wanted type in edit categories it will load the additional language file
|
| |
July 13th, 2006, 10:17 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
I'm using the Wanted template, and it's using the other words from showproduct1.php, but for some reason not the word defined for "sold".
|
| |
July 13th, 2006, 03:15 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
what does the showproduct1.php file have for the string sold? I show FOUND IT
|
| |
July 13th, 2006, 04:00 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
It is set to "FOUND IT!". But the string stored in $Globals['pp_lang']['soldit'] is used...
|
| |
July 13th, 2006, 04:14 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
what do you mean its used?
this is the content of the showproduct1.php language file change sold to soldit Code: Content visible to verified customers only.
|
| |
July 13th, 2006, 06:59 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
I mean that the program, for wanted ads, is using $Globals['pp_lang']['soldit'] from the main language file instead of $Globals['pp_lang']['sold'] from showproduct1.php.
But it's only this string thats wrong, the other words in showproduct1.php are displayed correctly. (Contact Buyer etc.)
|
| |
July 13th, 2006, 09:06 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
Yes as stated change sold to soldit in the language string in that file.
|
| |
July 14th, 2006, 06:29 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
Ok, problem solved now, I misunderstood. Now realize that what you say is that there is an error in showproduct1.php.
Last edited by daxter; July 15th, 2006 at 02:18 PM.
|
| |
July 15th, 2006, 02:08 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
edit.
Last edited by daxter; July 15th, 2006 at 02:14 PM.
|
| |
July 25th, 2006, 12:20 AM
|
#15 (permalink)
| | Member
Join Date: Apr 2006
Posts: 63
|
I want to change the "SOLD IT!" to something more generic like. "DELIST AD" or "REMOVE AD" as it appears in many ad types that it doesn't seem suited for (ie: Wanted and other category types I have created). Code: Content visible to verified customers only.
Can I simply edit this code in english.php: Quote: |
$Globals['pp_lang']['soldit'] = "SOLD IT!";
| to something like this: Quote: |
$Globals['pp_lang']['soldit'] = "REMOVE AD";
| |
| |
September 13th, 2006, 02:05 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
Have a related question.
What about "Wanted" ads? If you use template set 1 you can mark you ad as "FOUND IT!".
But what is supposed to happen then?
|
| |
September 13th, 2006, 02:26 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
same as sold it it closes the ad.
|
| |
September 13th, 2006, 04:28 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
Ok. But for Sold ads, the price is replaced by "SOLD" in the cat column and Sold is displayed in the ad beside the price.
For the "Wanted" ads I can se no difference at all afted marking it "FOUND!"
Hence my question...
Last edited by daxter; September 13th, 2006 at 04:38 PM.
|
| |
September 13th, 2006, 05:55 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
Because price is not a part of the wanted ads templates so the template sets are just different.
|
| |
September 14th, 2006, 06:21 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
I dont get this. Whats the point in making an ad "Found!" when noone except the poster can see that it has been marked?
My users gets confused by this, which I understand...
|
| | |
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 09:12 AM. | |