Sidebar Customizing

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/
 
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.
 
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
 
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
 
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.
 
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!
 
Back
Top Bottom