Add Photo Preset to 'Current' Category?
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
I'd like have the 'Add Photo' functionality preselect the current category in the drop down.
On my site I allow users to upload lots of pictures. So I added a "Add Photo" link in the templates so when they are viewing a category, the can select "Add Phot" and the resultant page should have the category preselected to the current category. However, the drop down for Categories is always set to nothing. I'd like it to be preset to the current categfory where the add photo link was clicked.
Suggestions?
Votes:1
Average:0.00
msg# 1.1
Found it in another template. Looks like I overwrote the default.
The code is:
<{if $lang_add_photo}><a href="submit.php?cid=<{$category_id}>"><{$lang_add_photo}><img src="<{$mod_url}>/images/pictadd.gif" border="0" alt="<{$lang_add_photo}>" title="<{$lang_add_photo}>" /></a><{/if}>
Note the CID part.
Votes:1
Average:0.00
msg# 1.1.1
Yes.
Just set 'cid' for submit.php
Votes:0
Average:0.00