PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   making auction template - help? (http://www.photopost.com/forum/classifieds-installation-upgrades/119710-making-auction-template-help.html)

Martyn@BB November 22nd, 2005 05:30 PM

making auction template - help?
 
Hi guys, I've sucessfully created an aution template and copied over/renamed the templates as instructed. I've edited the language files as far as I can (is there a list of language vars somewhere?).

My main question is how do i set the little yellow checkbox to a deafuly tick, on the upload ad screen? If possible, I would like to remove the checkbox altogether as the category is for all auctions.

Also, I would also like to set a zero (0) into the reserve price thingy as a default value.

Any ideas? I'm guessing this will be edited in the uploadproduct.tmpl somewhere....

Here maybe?

Code:

Content visible to verified customers only.
I've tried setting value="1" to value="0" for askbid, but that doesn't give me a default checked box. That would've been a temporary fix anyway, as I really want to remove the askbid <tr> altogether and just have it as default checked in the background.

PS - If I manage to get it all sorted, I'll upload my template set for others to download.

Martyn@BB November 22nd, 2005 05:51 PM

Ahhh, found all the language variables, they're in "english.php" - that's half the battle. :)

Chuck S November 22nd, 2005 09:05 PM

this is for the bid checkbox check out the code in bold ;)

Code:

Content visible to verified customers only.
as far as price I dont know why you want to set it to 0 on an auction the seller places there lowest price in the price field to start the bid

Martyn@BB November 22nd, 2005 10:08 PM

Quote:

Originally Posted by Chuck S
this is for the bid checkbox check out the code in bold ;)

Code:

Content visible to verified customers only.
as far as price I dont know why you want to set it to 0 on an auction the seller places there lowest price in the price field to start the bid

OK thanks Chuck, that's improved things a lot, I'm getting there. The box is now checked by default.

But what I'd really like to do is remove the <td> altogether which contains the checkbox option, while obviously still having the sale set to "auction". If some bright spark decides to uncheck the checkbox, my auction category will revert to a straight sale will it not?

Any ideas?

Martyn@BB November 22nd, 2005 10:13 PM

Oh, and do you know where I can correct this spelling error?

Quote:

Your maximium bid:

Chuck S November 23rd, 2005 07:09 AM

Remove this row

Code:

Content visible to verified customers only.
Down the bottom of the file where the hidden input tags are add this

<input type="hidden" name="askbid" value="1" />

Thats it

Now as far as language things just edit the language file and correct any strings you wish


All times are GMT -5. The time now is 04:29 PM.

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