Intergrating gallery into page

bfwdesigns

Joined: 2006-11-12
Posts: 1
Posted: Sun, 2006-11-12 03:29

Hello,

I just downloaded the gallery software and learning it, so please bear with me. All I want is the pictures of the gallery on my page. I do not care for the side links like: search,view slideshow, add to cart or album, anything on the left side... How do I get rid of those links? Also, I can't get my header and footer to center..

Here is the code that I have:

Quote:
{*
* $Revision: 1.11 $
* If you want to customize this file, do not edit it directly since future upgrades
* may overwrite it. Instead, copy it into a new directory called "local" and edit that
* version. Gallery will look for that file first and use it if it exists.
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
{* Let Gallery print out anything it wants to put into the <head> element *}
{g->head}

{* If Gallery doesn't provide a header, we use the album/photo title (or filename) *}
{if empty($head.title)}
<title>{$theme.item.title|default:$theme.item.pathComponent|markup:strip}</title>
{/if}

{* Include this theme's style sheet *}
<link rel="stylesheet" type="text/css" href="{g->theme url="theme.css"}"/>
</head>
<body class="gallery">
<div {g->mainDivAttributes}>
{*
* Some module views (eg slideshow) want the full screen. So for those, we
* don't draw a header, footer, navbar, etc. Those views are responsible for
* drawing everything.
*}
{if $theme.useFullScreen}
{include file="gallery:`$theme.moduleTemplate`" l10Domain=$theme.moduleL10Domain}
{else}
<div id="gsHeader">
<img border="0" src="/images/globe2.jpg" width="750" height="250" alt="Globe Header" />
</div>

{* Include the appropriate content type for the page we want to draw. *}
{if $theme.pageType == 'album'}
{g->theme include="album.tpl"}
{elseif $theme.pageType == 'photo'}
{g->theme include="photo.tpl"}
{elseif $theme.pageType == 'admin'}
{g->theme include="admin.tpl"}
{elseif $theme.pageType == 'module'}
{g->theme include="module.tpl"}
{elseif $theme.pageType == 'progressbar'}
{g->theme include="progressbar.tpl"}
{/if}

<div id="gsFooter">
{g->logoButton type="validation"}
{g->logoButton type="gallery2"}
{g->logoButton type="gallery2-version"}
{g->logoButton type="donate"}
</div>
{/if} {* end of full screen check *}
</div>

{*
* Give Gallery a chance to output any cleanup code, like javascript that
* needs to be run at the end of the <body> tag. If you take this out, some
* code won't work properly.
*}
{g->trailer}

{* Put any debugging output here, if debugging is enabled *}
{g->debug}
<a href="index.shtml" class="footer" style="padding-left: 10px">home</a><a href="services.shtml" class="footer">services</a><a href="networking.shtml" class="footer">networking</a><a href="/support" class="footer">support</a><a href="/support/contact.php" class="footer">contact</a><a href="privacy.shtml" class="footer">privacy</a><a href="terms.shtml" class="footer">terms</a><a href="sitemap.shtml" class="footer">site map</a></td>
<td class="copyright" style="width: 250px"><div align="center">&copy;copyright judi 2006</div>
</body>
</html>

Thanks in advance!