Custom template issue

This is an archive of old posting to the User Forum

Custom template issue

Postby Dan Richards » Sat Oct 19, 2002 12:50 pm

Hi,

I'm trying to use a custom template for the first time. I want a 4 column
page template with NO links on the page. I've used the folowing code. The
problem is that when I view the resulting source code of the new page, it
adds in a empty table for the links automatically pushing the 4 product
columns to the right. Any help would be great. Here is the template I used
(taking out the Links section):

Dan

# Custom Four-Column Page Template for AboutRubberStamps
# <XMP> (this tag causes Internet Explorer to display this page as text,
# rather than trying to display it as HTML. You don't need it in your
# custom page template.)


# Begin defining the actual page
[--DEFINE PAGE--]
<html>
<head>
<title>[--PAGE.Name--]</title>
<meta name="keywords" content="[--PAGE.MetaKeywords--]">
<meta name="description" content="[--PAGE.MetaDescription--]">
</head>

<!-- Set background image and page colors -->
<body background="[--PAGE.BackgroundImage--]" width=1600 height=26
alt="pegbackground.gif" bgcolor="[--PAGE.BackgroundColor--]"
text="[--PAGE.TextColor--]" link="[--PAGE.LinkColor--]"
vlink="[--PAGE.VisitedLinkColor--]" alink="[--PAGE.ActiveLinkColor--]" >

#
#Load the Pages's text2 value into a VAR
#so it can be used in the product template
#
# use later [--VAR.TEXT2 PAGE.Text2 --]

[--IF PAGE.DisplayPageHeader--]
[--HEADER--]
[--END_IF--]

<center>
<h1>[--PAGE.Name--]</h1>
</center>

#
# This layout uses a four-column table, with the products in the columns
#

<!-- Begin Table of Products -->
#
# Change this value to change number of columns
# Can also use actual number or Page.Columns
#
[-- VAR.COL 4 --]

<table width="100%" cellspacing="5">
[--LOOP PRODUCTS VAR.col --]
<td valign=top align=left >
[--PRODUCT--]
</td>
[--END_LOOP PRODUCTS--]
</table>
<!-- End Table of Products -->

[--IF PAGE.SearchProductField--]
<center>
[--SEARCH_FORM--]
</center>
[--END_IF--]

</td>
</tr>
</center>

[--IF PAGE.DisplayPageFooter--]
[--FOOTER--]
[--END_IF--]

</body>
</html>
[--END_DEFINE PAGE--]
Dan Richards
 

Re: Custom template issue

Postby Dan Richards » Sat Oct 19, 2002 6:46 pm

Apparently there were some file directory (permission issues) that once
corrected, fixed the problem.

Tx


"Dan Richards" <danrichards@attbi.com> wrote in message
news:aosd8m$ata$1@support.shopsite.com...
Hi,

I'm trying to use a custom template for the first time. I want a 4 column
page template with NO links on the page. I've used the folowing code.
The
problem is that when I view the resulting source code of the new page, it
adds in a empty table for the links automatically pushing the 4 product
columns to the right. Any help would be great. Here is the template I
used
(taking out the Links section):

Dan

# Custom Four-Column Page Template for AboutRubberStamps
# <XMP> (this tag causes Internet Explorer to display this page as text,
# rather than trying to display it as HTML. You don't need it in your
# custom page template.)


# Begin defining the actual page
[--DEFINE PAGE--]
html
head
title>[--PAGE.Name--]</title
meta name="keywords" content="[--PAGE.MetaKeywords--]"
meta name="description" content="[--PAGE.MetaDescription--]"
/head

!-- Set background image and page colors --
body background="[--PAGE.BackgroundImage--]" width=1600 height=26
alt="pegbackground.gif" bgcolor="[--PAGE.BackgroundColor--]"
text="[--PAGE.TextColor--]" link="[--PAGE.LinkColor--]"
vlink="[--PAGE.VisitedLinkColor--]" alink="[--PAGE.ActiveLinkColor--]"

#
#Load the Pages's text2 value into a VAR
#so it can be used in the product template
#
# use later [--VAR.TEXT2 PAGE.Text2 --]

[--IF PAGE.DisplayPageHeader--]
[--HEADER--]
[--END_IF--]

center
h1>[--PAGE.Name--]</h1
/center

#
# This layout uses a four-column table, with the products in the columns
#

!-- Begin Table of Products --
#
# Change this value to change number of columns
# Can also use actual number or Page.Columns
#
[-- VAR.COL 4 --]

table width="100%" cellspacing="5"
[--LOOP PRODUCTS VAR.col --]
td valign=top align=left
[--PRODUCT--]
/td
[--END_LOOP PRODUCTS--]
/table
!-- End Table of Products --

[--IF PAGE.SearchProductField--]
center
[--SEARCH_FORM--]
/center
[--END_IF--]

/td
/tr
/center

[--IF PAGE.DisplayPageFooter--]
[--FOOTER--]
[--END_IF--]

/body
/html
[--END_DEFINE PAGE--]




Dan Richards
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 49 guests