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

MG 1.1 Ads Location

Discussion in 'Media Gallery Support' started by rexxxy, Sep 19, 2015.

  1. rexxxy

    rexxxy Active Member

    How do I add an ads below the video on the viewing page?

    for eg. below the video on a page like this
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You would just need to edit the xengallery_media_view template and place it below the privateControls div (or thereabouts).
     
    rexxxy likes this.
  3. rexxxy

    rexxxy Active Member

    thanks chris
     
  4. a.tushkanov

    a.tushkanov Active Member

    @Chris D , how to add adsense ad on left sidebar on XMG index page? Thank you
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    Depending on exactly where you want it you will need to look at the following templates:
    • xengallery_wrapper_media_home
    • xengallery_category_wrapper
    • xengallery_album_wrapper
     
    a.tushkanov likes this.
  6. a.tushkanov

    a.tushkanov Active Member

    @Chris D point me please to right template where i can put one ad-code so that will show up on every /media/ page right after breadcrumbs
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Unless you use one of the default XF ad templates you'll just have to add the code to every single template.

    You can identify the template name in the HTML source code of each page.
     
    a.tushkanov likes this.

Share This Page