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

Removing "Some" Fields

Discussion in 'Media Gallery Support' started by TheSalt, Dec 21, 2014.

  1. TheSalt

    TheSalt Active Member

    Hello Gang,

    I’m trying to dumb down a few of the fields in the sidebar when you click on an image. I’m using the gallery for identification purposes for now and it will only be me uploading images. Because of this I would like to remove some of the fields, Uploaded By, Date, Views, Comments. Is there a way to remove them but leaves the block so I can still add my own using custom fields?

    Thank you for any help!


    Screen Shot 2014-12-21 at 11.26.04 AM.png
  2. Amaury

    Amaury Well-Known Member

    Comment them out with <xen:comment></xen:comment> in the respective template.
    TheSalt likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    Which is... xengallery_media_view_sidebar
    Amaury and TheSalt like this.
  4. TheSalt

    TheSalt Active Member

    I'm sorry @Maru I'm not so good with this stuff. If you don't mind, can you give me an example of one of the fields commented out and the appropriate template to edit? I will try to adjust for the other fields myself. I understand if you don't have time, I'll keep looking. :)
  5. TheSalt

    TheSalt Active Member

    Looking now, thank you!
  6. TheSalt

    TheSalt Active Member

    Worked perfect thanks @Maru and @Chris D! I really appreciate it the help. Beautiful add-on by the way @Chris D.
    Amaury and Chris D like this.
  7. Amaury

    Amaury Well-Known Member

    I don't have the add-on, so that's all I was able to suggest. However, if you're ever unsure which template to edit, do a template search for one of the phrases.

    In this case, you could have done a template search for {xen:phrase uploaded_by} or even just uploaded_by and it would have returned you with a list of templates or even just one template, the one you needed.
  8. TheSalt

    TheSalt Active Member

    Thank You! I was looking in "xengallery_media_edit_fields" before.

Share This Page