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

Sidebar Customizing

TheSalt

Active member
#1
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/
 

Amaury

Well-known member
#3
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. :)
 

TheSalt

Active member
#4
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. :)
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.
 

TheSalt

Active member
#9
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
 

TheSalt

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

TheSalt

Active member
#15
Actually have you seen Applications -> Gallery Options -> Block Options?
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
 

Russ

Well-known member
#16
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
 

TheSalt

Active member
#17
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
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.
 

TheSalt

Active member
#18
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
Thank you!, this worked perfect!