G2 content wont go into tables

GFXDashboard

Joined: 2008-04-08
Posts: 1
Posted: Tue, 2008-04-08 03:07

No matter what i do, i cant get the content of G2 to display inside the my table..

Its annoying me. lol

Heres the site that im trying to use it on:
http://gfxdashboard.lasglade.com/gallery2/main.php

and heres the code that im editing:

{*
 * $Revision: 15506 $
 * 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 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="{g->language}">
  <head>
    {* Let Gallery print out anything it wants to put into the <head> element *}
    {g->head}

    {if $theme.pageType == 'album' || $theme.pageType == 'photo'}
    <meta name="keywords" content="{$theme.item.keywords}" />
    <meta name="description" content="{$theme.item.description|markup:strip}" />
    {/if}
    {if $theme.pageType != 'admin'}

    {/if}

    {* 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="../../../../style.css">

  </head>
  <body>
  
<center>  
  
  <table width="100%" border="0">
  <tr>
    <td height="182" colspan="4" scope="col"><div align="center"><img src="/header.png" width="570" height="180" /></div></td>
  </tr>
  </table>
  
  
  <table width="1005">
  <tr>
    <td width="17%" height="55"></td>
    <td width="65%" style="background-image:url(/linkbg.png); background-repeat:no-repeat; background-position:center;" scope="col">
      
	  
	  <a href="/index.php"><img src="/home.png" width="117px" height="28px"></a>&nbsp;&nbsp;
	  
	    <a href="/gallery2/main.php"><img src="/gallery.png" width="117px" height="28px"></a>&nbsp;&nbsp;   
		 
		<a href="/forum.php"><img src="/forum.png" width="117px" height="28px"></a>&nbsp;&nbsp;
		 
		 <a href="/links.php"><img src="/links.png" width="117px" height="28px"></a>
		 
 </td>
    <td width="18%"></td>
  </tr>
</table>


    <script type="text/javascript" src="{g->url href='themes/carbon/theme.js'}"></script>

  
  
  

  

    {if !empty($jsWarning)}
      {include file="gallery:modules/core/templates/JavaScriptWarning.tpl" l10Domain="modules_core"}
    {/if}


      {*
       * 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}
      {elseif $theme.pageType == 'progressbar'}
          {if !empty($theme.params.logoImageLocation)}
	  <img src="{$theme.params.logoImageLocation}" alt=""/>
          {else}
	  <img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
          {/if}

	{g->theme include="progressbar.tpl"}
      {else}
      




	  {if !empty($theme.params.extraLink) && !empty($theme.params.extraLinkUrl)}
	  <span class="block-core-SystemLink">
	    <a href="{$theme.params.extraLinkUrl}">{$theme.params.extraLink}</a>
	  </span>
	  &laquo;
	  {/if}
	  {g->block type="core.SystemLinks"
		    order="core.SiteAdmin core.YourAccount core.Login core.Logout"
		    separator="&laquo;"
		    othersAt=4}
	  {if $theme.pageType != 'admin'}
	  <span class="block-core-SystemLink">
	    <a href="{g->url params=$theme.pageUrl arg1="jsWarning=true"}" 
	      onclick="toggleSidebar('sidebar'); return false;">{g->text text="Sidebar"}</a>
	  </span>
	  {/if}

<table width="65%" style="background-color:#333333; border:dashed; border-color:#999999; border-width:1px;">

	  {g->block type="core.BreadCrumb" separator="&raquo;"}



      {* 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"}
      {/if}
</center>
</table>


<table width="65%" style="background-color:#333333; border:dashed; border-color:#999999; border-width:1px;">
	  <tr>
	    <td align="left" width="50%">
	      {g->logoButton type="validation"}
	      {g->logoButton type="gallery2"}
	      {g->logoButton type="gallery2-version"}
	      {g->logoButton type="donate"}
	    </td>
	    <td align="right">
	      {strip}
	      {if !empty($theme.params.copyright)}
		{$theme.params.copyright}
	      {/if}
	      {/strip}
	      {g->block type="core.GuestPreview"}
	    </td>
	  </tr>
	</table>
      {/if}  {* end of full screen check *}
   

    {*
     * 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}
	
	
	
	
	
	
	</table>
<table>
<tr>
<td>
Site Desined and Coded by <a href="mailto:Mr.Valentia@gmail.com">Sin</a><br />
Hosted by <a href="http://www.lasglade.com">Lasglade Designs</a>
</td>
</tr>
</table>
</center>

	
	
	
	
  </body>
</html>