1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Uploading file from AdminCP?

Discussion in 'XenForo Development Discussions' started by Liam W, Mar 22, 2014.

  1. Liam W

    Liam W Well-Known Member

    How would I go about uploading files from an AdminCP page? I have a feeling it may be a bit tricky...

    Liam
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Search for <xen:uploadunit in admin templates. Then, review how the code works for admin avatar uploading or anything that allows you to upload like add ons, smilies etc
     
    Liam W likes this.
  3. Liam W

    Liam W Well-Known Member

    Ok, but how would you save the file? Is that in the avatar uploading?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Yeah should all be in there.
     
    Liam W likes this.

Share This Page