Author Topic: Need Template Help  (Read 4479 times)

0 Members and 1 Guest are viewing this topic.

Offline IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Need Template Help
« on: August 02, 2005, 06:21:14 AM »
I have the FI_Apple_Blue template from Komy. I would post this question to his forum but he hasn't answered questions on there for about a year now.

I am trying to install the "New Images In Category Mod v2" http://www.4homepages.de/forum/index.php?topic=5654.0.
I have everything else done, but when it comes to:

Code: [Select]
In your home.html file

 :arrow: Add:

{new_image_cats}

where you want the "New images in Category" to appear.

It doesn't work because this template doesn't show the left column in the home.html. But the left column does show in the FI_Apple_Blue header.html.
I was told by a friend that I would probably have to add something to the header.html since this template was converted from PHPBB. I was hoping
someone here could tell me what I needed to put in and where so that it shows below my "Random Images"? This is the code to header.html.
Below that I'll post my home.html so you can see what it looks like. I would be forever grateful for any help!

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<link rel="stylesheet" href="{template_url}/fiappleblue.css" type="text/css" />
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
<!--
window.status="Log in to check your private messages"
// -->
<script language="javascript" type="text/javascript">
<!--
   
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;

//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
  if (new_window == 2 || new_window == 1) {
    var width_avail = screen.availWidth-15;
    var height_avail = screen.availHeight-60;
    var width_full = screen.width;
    var height_full = screen.height;

    // Callculate the spaces from left and top to center the new window:
    var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
    var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
    if (new_window == 2) {
      window_width = width_avail;
      window_height = height_avail;
      left_space = 0;
      top_space = 0;
      url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
    } // if complete picture (whole window)

    slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
  } // if new_window
  else {
    window.location.href=url;
  } // else new_window
} // openslideshow


// -->
</script>
</head>
<body><a name="top" id="top"></a>
<!-- Top Menu Table Cell -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">


<!-- Top Menu Table -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="index.php"><img src="{template_url}/images/spacer.gif" width="10" height="26" border="0" alt="" /></a></td>
<td><a href="index.php"><img src="{template_url}/images/top_bar_home.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
<td><a href="{url_top_images}"><img src="{template_url}/images/top_bar_top.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
<td><a href="{url_new_images}"><img src="{template_url}/images/top_bar_new.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
{if cp_link}
<td><a href="admin/index.php"><img src="{template_url}/images/top_bar_admin.gif" width="80" height="26" border="0" alt="Forum Images Forum Index" title="Forum Images Forum Index" /></a></td>
{endif cp_link}
</tr>
</table>
</td>
</tr>
</table>

<!-- {lang_registered_user} -->
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table class="bodyline" width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td valign="top" width="1">

<!-- Login Column -->
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="170" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_registered_user}</td>
</tr>
<tr>
<td class="row1" align="center">

{user_box}
{new_image_cats}
</td>
</tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />

<!-- {lang_random_image} -->
{if random_image}
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="170" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_random_image}</td>
</tr>
<tr>
<td class="row1" align="center">
<br />
{random_image}
<br />
<br />
</td>
</tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="150" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
{endif random_image}
<!-- End Left Column -->
</td>
<td valign="top">

<table border="0" cellpadding="0" cellspacing="0" class="scrn">

<tr>
<td><img src="{template_url}/images/scrn_tl.gif" alt="" width="14" height="14" /></td>
<td colspan="2" width="100%" class="scrntbkg"><img src="{template_url}/images/spacer.gif" alt="" width="10" height="14" /></td>
<td><img src="{template_url}/images/scrn_tr.gif" alt="" width="14" height="14" /></td>
</tr>

<tr>
<td class="scrnlbkg"><img src="{template_url}/images/spacer.gif" alt="" width="14" height="60" /></td>

<td class="scrnm">
<span class="maintitle">{site_name}</span>
<br />

</td>

<form method="post" action="{url_search}">
<td class="scrnm">
<input type="text" name="search_keywords" size="15" class="searchinput" />
<input type="submit" value="{lang_search}" class="button" name="submit" />
&nbsp;
<a href="{url_search}" class="smalltext">{lang_advanced_search}</a>
</td>
</form>

<td class="scrnrbkg"><img src="{template_url}/images/spacer.gif" alt="" width="14" height="60" /></td>
</tr>

<tr>
<td><img src="{template_url}/images/scrn_bl.gif" alt="" width="14" height="14" /></td>
<td colspan="2" width="100%" class="scrnbbkg"><img src="{template_url}/images/spacer.gif" alt="" width="10" height="14" /></td>
<td><img src="{template_url}/images/scrn_br.gif" alt="" width="14" height="14" /></td>
</tr>

</table>

<br />

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left">{clickstream}&nbsp;</td>
<td align="right">
<a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
<a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;

</td>
</tr>
</table>


Code: [Select]
{header} {if user_loggedout}{lang_no_permission}{endif user_loggedout} {if user_loggedin}

{if msg}<b>{msg}</b>{endif msg}

<br />

{if categories}

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_categories}</td>
</tr>

<tr>
<td class="row1" width="100%">
{categories}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />
{endif categories}{lang_site_stats}<br />
<br />

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_new_images}</td>
</tr>

<tr>
<td class="row1" width="100%">
{new_images}
</td>
</tr>

</table>

<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>

<br />

{whos_online}

<br />

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">{category_dropdown_form}</td>
<td align="right">{setperpage_dropdown_form}</td>
</tr>
</table>

{endif user_loggedin} {footer}

Namaste,
Tina