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

Sidebar Customizing

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

  1. TheSalt

    TheSalt Active Member

    Hello Gang,

    As some of you might already know I'm using the gallery as a coral identification tool and I will be the only one uploading to it for now. Because of this I would like to dumb it down a bit so there is not so much to look at.

    Can you help me with hiding a few of the side bar blocks? I would like to hide Media Navigation, Albums, Recent Comments, and Top Contributors. Are these things that I can just be commented out and if so do you know what template they are in?

    Thank you for your help,
    Nick

    http://www.reefpeeps.com/media/
     
  2. TheSalt

    TheSalt Active Member

    Anyone?
     
  3. Amaury

    Amaury Well-Known Member

    Comment out the blocks in the template. To find the template, do a search for one of the phrases, as I said in your other thread. :)
     
  4. TheSalt

    TheSalt Active Member

    Thank you. I'm trying, I'm searching those phrases in the search bar but no templates or coming up for them. Some of them don't even have results.
     
  5. Amaury

    Amaury Well-Known Member

    What did you search for, exactly?
     
  6. TheSalt

    TheSalt Active Member

    Media Navigation, Albums, Recent Comments, and Top Contributors.
     
  7. Amaury

    Amaury Well-Known Member

    Search the phrase names, not the phrases themselves. Try {xen:phrase media_navigation}.
     
  8. TheSalt

    TheSalt Active Member

    I'm kind of a new noob... :unsure:
     
  9. TheSalt

    TheSalt Active Member

    I searched {xen:phrase media_navigation} and nothing came back then I tried "xengallery_media_navigation" and it came back the option for "phrase".

    Screen Shot 2014-12-23 at 11.08.49 PM.png
     
  10. Russ

    Russ Well-Known Member

    Check out the: xengallery_category_wrapper template
     
    Amaury likes this.
  11. TheSalt

    TheSalt Active Member

    Hello Russ, I'm looking over it now.
     
  12. TheSalt

    TheSalt Active Member

    It's a lot to look over. Should I be looking for Media Navigation, Albums, Recent Comments, and Top Contributors within the code?
     
  13. Amaury

    Amaury Well-Known Member

  14. Russ

    Russ Well-Known Member

    Actually have you seen Applications -> Gallery Options -> Block Options?
     
  15. TheSalt

    TheSalt Active Member

    Yes thank you. I was able to remove Recent Comments but that is all. You would think all the blocks would be in there but I dont know anything about this stuff so I'm sure there is a good reason. On another note I messed up something and I'm having to restore... lol
     
  16. Russ

    Russ Well-Known Member

    There's an option to disable the Show Top Contributors Block as well.

    For the Media Navigation open: xengallery_wrapper_media_home

    you can clear out the contents of the template(will effect other pages where it shows the navigation)



    For the albums, remove/comment out this:

    Code:
        <xen:if is="{$canViewAlbums}">
           <div class="section">
             <dl class="secondaryContent">
               <h3>{xen:phrase xengallery_albums}</h3>
               <ol class="categoryList albumCategory">
                 <li class="{xen:if {$albumsSelected}, 'selected'}">
                   <a href="{xen:link 'xengallery/albums'}">{xen:phrase xengallery_browse_albums}</a>
                 </li>
                 <xen:if is="{$visitor.user_id}">
                   <li class="{xen:if {$ownMediaSelected}, ' selected'}">
                     <a href="{xen:link 'xengallery/users/albums', $visitor}">{xen:phrase xengallery_your_albums}</a>
                   </li>
                   <li class="{xen:if {$sharedMediaSelected}, ' selected'}">
                     <a href="{xen:link 'xengallery/albums/shared'}">{xen:phrase xengallery_albums_shared_with_you}</a>
                   </li>
                 </xen:if>
               </ol>
             </dl>
           </div>
         </xen:if>
    
    Inside the xengallery_category_wrapper
     
    Chris D and TheSalt like this.
  17. TheSalt

    TheSalt Active Member

    Thank you Russ! I will give it a shot as soon as I get back up and running. I really appreciate everyone's help, thank you all.
     
  18. TheSalt

    TheSalt Active Member

    Thank you!, this worked perfect!
     

Share This Page