PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   I need to add more time to ad duration (http://www.photopost.com/forum/classifieds-how-do-i/111744-i-need-add-more-time-ad-duration.html)

sail247 January 26th, 2005 08:06 AM

I need to add more time to ad duration
 
I have followed the directions given to someone else in the following thread regarding adding different times to the ad duration options:

http://www.photopost.com/members/for...d.php?t=111170

However, anytime I enter a three digit number, it come out blank when using the actual template on the site. Perhaps I have to make another adjustment in order for a 3 digit number to fit in the pull down menu?

(one digit works just fine, i.e. 3 days. And two digit works just fine, i.e. 30 days. But three digits don't work, i.e. 300 days - I just see a blank space in the pull down menu where '300 days' should be)

Thanks.

Lonny
Sail247.com

Chuck S January 26th, 2005 09:56 AM

It will work as stated. Notice you need to add the language string to the language file

sail247 January 26th, 2005 10:30 AM

Thanks for the quick reply, Chuck. I am guessing you said
"Notice you need to add the language string to the language file"
becuase that was not mentioned in the thread that I referred to in my original post.

However, I have done that and gotten the same result.

In other words I can just add a digit and it does't work. For instance, I edit the template uplaodproduct.tmpl by simply adding a '1' in front of the '60' to make it '160' and it doesn't show up in the pull down menu while using the template on the site.

I changed:

<option value="60">{$Globals['pp_lang']['60days']}</option>

to:

<option value="160">{$Globals['pp_lang']['160days']}</option>

and now there is only a blank spot in the pull down menu where '160 days' should be while actually using the template on the site.

I am probably missing something simple, huh?

Lonny
Sail 24/7

Chuck S January 26th, 2005 10:40 AM

Yes your not editing the language file as instructed to make it say 160 days

languages/english/uploadphoto.php

You can also add rows and hard code the working

<option value="160">6 Months</option>

sail247 January 26th, 2005 10:48 AM

Ohhhh, now I see (said the blind man)!

Thanks so much. It works great, of course.

Lonny


All times are GMT -5. The time now is 07:31 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97