Editing theme and removing info from page

samb0005

Joined: 2010-03-31
Posts: 2
Posted: Thu, 2010-04-01 15:33

Hi
Am new to gallery and am sorry if this has been asked before - have looked through the forum and gallery site but cant seem to find the answer! Basically i want to intergrate gallery with my website but I dont know how to find where certain things are. For instance i want to remove the text that says 'Gallery, this is the main page of your gallery', as well as date and owner info, but I just cant find where to do it.

Also I know this probably the most basic question ever asked but if you want to change the background of the album etc from grey, is this done in the CSS file found in themes/Matrix/template.css.

Any help or any links to instructions really would be appreciated!

The test site I'm currently using is http://www.mussendenlodge.co.uk/gallery2/gallery2Embedded.php if you want to see what I'm talking about!

Many Thanks
Sam

AttachmentSize
Untitled-1.gif35.61 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2010-04-01 16:06

@"this is the main...." :
http://codex.gallery2.org/Gallery2:Quick_Start_Guide#Configure_the_Root_Album
BUt I suspect you want to remove more not just rename/reword:
edit your themes album.tpl file. Read the top before you start editing
remove

         <table style="width: 100%"> 
             <tr> 
               <td> 
                 {if !empty($theme.item.title)} 
                 <h2> {$theme.item.title|markup} </h2> 
                 {/if} 
                 {if !empty($theme.item.description)} 
                 <p class="giDescription"> 
                   {$theme.item.description|markup} 
                 </p> 
                 {/if} 
               </td> 
               <td style="width: 30%"> 
                          item=$theme.item 
                           showDate=true 
                           showSize=true 
                           showOwner=$theme.params.showAlbumOwner                            class="giInfo"} 
              </td> 
            </tr> 
          </table> 

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team