Author Topic: Upload button in header>>>>> New question here  (Read 16377 times)

0 Members and 1 Guest are viewing this topic.

Offline knsin0

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Upload button in header>>>>> New question here
« Reply #15 on: January 11, 2007, 06:58:37 PM »
it says "Rellene el campo categoria" that mean something like "fill the category area" or "select a category"

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: Upload button in header>>>>> New question here
« Reply #16 on: January 11, 2007, 08:02:09 PM »
Ok try this, open /templates/<yourtemplate>/member_uploadform.html

Find:
Code: [Select]
<input type="hidden" name="cat_id" value="{cat_id}" />
Replace with:
Code: [Select]
{if cat_id}<input type="hidden" name="cat_id" value="{cat_id}" />{endif cat_id}

Of course any javascript that you are using I can not help on as I do not know javascript, but if you can at least get the uploadform working then javascript would not be needed, unless you wanted to try to add that as a second option.

Offline knsin0

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Upload button in header>>>>> New question here
« Reply #17 on: January 11, 2007, 11:42:44 PM »
that works!  :lol: thanks a lot cejay, you can see it working by clicking in the image at the right of the banner in header,
thanks!  :D

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: Upload button in header>>>>> New question here
« Reply #18 on: January 12, 2007, 12:59:47 AM »
Glad to hear that worked!