PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 30th, 2008, 02:19 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Limit the options for...

"How long do you want your ad to run?" to exclude anything more than 30 days?

Also, what must I do to remove the "Condition of this item?" option, as this would not be much of a factor in my classifieds site.
doc1975 is offline   Reply With Quote
Old January 30th, 2008, 02:26 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Both Options edit your uploadproduct templates and remove the html for the condition and as far as duration remove the options you do not wish.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 30th, 2008, 02:39 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Okay, i did remove the duration options as mentioned, appears fine.

As far as the condition deal, instead of removing it, i attempted to add 3 more options to choose from, ie: 'Import', 'Captive Bred', and 'N/A'.

The way I tried to do it is by simply copying 3 lines of the code and replacing the text accordingly. When I tested the drop down, I see there are blanks where the new options should be... what am I missing?

Thanks for the super quick reply!
doc1975 is offline   Reply With Quote
Old January 30th, 2008, 03:13 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
if there are blanks you must place hard coded wording as you have not defined the language strings it would appear in the language file so either add the language strings or hard code the strings in the options.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 30th, 2008, 03:24 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Quote:
Originally Posted by Chuck S View Post
if there are blanks you must place hard coded wording as you have not defined the language strings it would appear in the language file so either add the language strings or hard code the strings in the options.
I feel like such a schmuck for saying this but... huh?
doc1975 is offline   Reply With Quote
Old January 30th, 2008, 04:03 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
well I cant really respond here I dont know what you have done so I am stabbing here in the dark

If you add options to a select box you must add hard coded options. It appears you have tried adding ones with language strings that do not exist. Therefore try posting what you have done.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 31st, 2008, 09:37 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Okay, so this is what I did...

I took the original code:

Code:
Content visible to verified customers only.
and then I copied/pasted 3 lines, and substituted the text as such:

Code:
Content visible to verified customers only.
That's all, just copied existing 3 lines of code, and substituted what I assumed was necessary. Again, the end result, the dropdown had adjusted for the new options, but they showed blank (3 empty spots).
doc1975 is offline   Reply With Quote
Old January 31st, 2008, 09:52 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Correct you would need to define those language strings in your language file plus look at your html your missing a < in front of one of your options.

$Globals['pp_lang']['Import']
$Globals['pp_lang']['Captive Bred']
$Globals['pp_lang']['N/A']
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 31st, 2008, 12:06 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Chuck, I did as you recommended...

Code:
Content visible to verified customers only.
and then added the following to the language file:

Code:
Content visible to verified customers only.
Code:
Content visible to verified customers only.
and left this as is, as it was already in the file:

Code:
Content visible to verified customers only.
But the results were the same as before, they show as blanks slots in the drop down menu.

Last edited by doc1975; January 31st, 2008 at 12:13 PM.
doc1975 is offline   Reply With Quote
Old January 31st, 2008, 02:22 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
That would be impossible as the language file is loading so they would not be blank. But I see your issue look at your options your capitalizing your language strings
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 1st, 2008, 09:48 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Thanks again for your help Chuck, after some tinkering, I finally understood the concept here, and have adjusted the drop-down accordingly! Woot woot!
doc1975 is offline   Reply With Quote
Old February 1st, 2008, 10:10 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Yes variable names are explicit meaning you can not define it as a lower case and then do capitals and have it work.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:56 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0