View Full Version : Changing Values from numbers to test.
newguy
11-19-2009, 05:49 PM
I'd like to know if it is possible to change the numbers that appear in the option label to the actual category name.
Example:
<option label="| |___Antiques" value="22">| |___Antiques</option>
and change to
<option label="| |___Antiques" value="|___Antiques
">| |___Antiques</option>
I believe it can be done in the functions.php file but even if that is true I have no idea how to change it or what to change it to.
Any help would nice. I'm using version 2.1.2
James
11-19-2009, 06:19 PM
You really REALLY do not want to do that as that is the ID of the category and the script uses it
newguy
11-19-2009, 06:43 PM
Maybe not, but I would like to try it to see what happens. I wouldn't mind dropping you a few bucks if we can get it to work.
Content visible to registered users only.
James
11-19-2009, 06:46 PM
I will not do this maybe you can be Bruleo to do it.
It just opens the door for headaches down the road upon submitals, editing the link, moving it around
newguy
11-19-2009, 07:15 PM
I already have the submit form set up the way I want it, the only draw back is that when I receive the payment via paypal, paypal will only send me the value id instead of the actual category name. For example, here is what I get in my email:
175 (this should say Shopping)
www)website.net
test title
test description
And here is what paypal says needs to happen.
"You have the value set to "175". If you are wanting to show shopping for example you would need to set the value to "Shopping" instead of "175"
That is the reason I want to change it. I really hate the fact that people can submit to the directory but not even have to pay first, this just floods my email box. For the most part it is working I just need it to send the actual category name instead of the id.
You can see the submit page here wwwinetos.org/submit.php.
Hope that makes sense.
Content visible to registered users only.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.