Footer Link Image

onedego

Joined: 2005-08-26
Posts: 4
Posted: Fri, 2005-08-26 14:59

Hi All,

I'm trying to get an image to link to a website on the footer of G2 RC1, but can't figure out how, or where to do it.

Can anyone help me please?

Thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-08-26 15:04
 
onedego

Joined: 2005-08-26
Posts: 4
Posted: Fri, 2005-08-26 15:10

aahhh, but you see i don't wanna read all that information on it... I want someone to give me the code.

What I am after is exactly the same effect as the 3 default images at the bottom of the Gallery.

Please help my lazyness

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-08-26 15:15
Quote:
Add your website header/footer/sidebar.
The place to start for customization to affect all pages is themes/matrix/templates/theme.tpl. Instructions at the top explain how to create a "local template" file that is used in place of the default file (same concept as "html_wrap" if you are familiar with G1).

 
onedego

Joined: 2005-08-26
Posts: 4
Posted: Fri, 2005-08-26 15:18

It doesn't make sense to me though... I've had a look at the thingy codes for it...

essentially would it be:

{html_image file="imagelocation" href="link"}

???

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-08-26 15:36

If you open up the theme.tpl you'll see the "header image" just uses straight HTML

      <div id="gsHeader">
        <img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
      </div>

The footers use CSS, but you can replace them with HTML if you like

      <div id="gsFooter">
        {g->logoButton type="validation"}
        {g->logoButton type="gallery2"}
        {g->logoButton type="gallery2-version"}
      </div>
 
onedego

Joined: 2005-08-26
Posts: 4
Posted: Fri, 2005-08-26 15:48

Done..

Thanks for the info.