Body Tags

This is an archive of old posting to the User Forum

Body Tags

Postby Charlie Arak » Fri Dec 27, 2002 5:50 pm

How do I modify the default page template to only modify the body tags to
recognize an onload java script command in Version 6.1 Manager?

Charlie
Charlie Arak
 

Re: Body Tags

Postby loren_d_c » Fri Dec 27, 2002 10:44 pm

The default templates are built-in and are not editable. If you have
something you need to put in the HEAD section you could do that in the
Meta Description field. I don't know of any way to modify the BODY tag
in the built-in templates.

-Loren


Charlie Arak wrote:
How do I modify the default page template to only modify the body tags to
recognize an onload java script command in Version 6.1 Manager?

Charlie
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Body Tags

Postby charlie A » Sat Dec 28, 2002 1:43 pm

Then I guess that I should build (modify) a custom page template???

Most of my problem lies in trying to get my page to the top left corner of
the screen
specifically leftmargin="0" topmargin="0"
Secondarily the page generation in ShopSite is causing a few problems with
the java script. Somehow I feel that if I get one thing working, the other
will fall into place.

I have a newly designed home page http://www.cookiebaskets.com/
and have tried inserting the code into header and footer areas of Manager
6.1.1 and get this resulting page
http://www.cookiebaskets.com/ShopSite/feature.html


I read at one point that I shouldn't put the header info in this custom
template?? That I should leave it in the /preferences/page header area of
ShopSite?? True or not??


Also, what does this mean? What is a VAR??
(This was taken from your Sample Custom Page Template)

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

My page titles are currently in Text 1 section of Page Content (essentially
another nested table) so that is what I need to print.

Then I found this in the zip download of custom and product pages.
(Different from the sample template??)
<!------ End Table of Links ------->

</td>

<td valign="top" >
<center>
<b>[--PAGE.Text1--]</b>
</center>

<!------ Begin Table of Products------->


I would like to pull the following from Text 1 via a custom template and
assume the correct code to be <center><b>[--PAGE.Text1--]</b></center>.

<table width="700">
<tr valign=top>
<td valign=top>
<center><img border="0" src="holidayceleb.gif"></center>
</td>
</tr>
</table>


Also assuming that if I use the Custom Page Templates that I can change from
100% table width to whatever I need??

Thanks.

Charlie


"Loren" <loren_d_c@yahoo.com> wrote in message
news:3E0D2C2C.5971D55C@yahoo.com...
The default templates are built-in and are not editable. If you have
something you need to put in the HEAD section you could do that in the
Meta Description field. I don't know of any way to modify the BODY tag
in the built-in templates.

-Loren


Charlie Arak wrote:

How do I modify the default page template to only modify the body tags
to
recognize an onload java script command in Version 6.1 Manager?

Charlie
charlie A
 

Re: Body Tags

Postby jim » Sat Dec 28, 2002 2:51 pm

Charlie,
Here are answers to some of your questions.
With a custom page template you can have the layout pretty much however you want
it. so if you need to set the margins that could be done in a custom page
template.
Header information could be placed either in the template itself or in the
Preferences > header/footer section and included in the template by using the
[-- Header --] template tag. It may simplify the template if you use just the
tag instead of including the whole thing in the template itself. This could be
especially helpful if you plan on using the same template for multiple stores
that would have different header/footer text.
A VAR is a variable (temporary storage location). You can create a VAR that
contains information that will be used later in the template as a means of
altering what is displayed, using if - else syntax, or as a means of passing
information from one type of template to another. For example if you want your
more information pages for products to contain certain information from a page
you would create a VAR to pass that information as shown in your Text2 example
below. If the information that you need is already available in the template
you are working on there is no need to put it in a VAR you simply use the tag
that displays the information. I.E. in a page template you can put
[--PAGE.text1--] to display the contents of the text1 field. If you want to use
that same information in a product moreinfo page you would need to create a VAR
to pass the information to the product template so it could be used. So in the
page template you would have [--VAR.TEXT1 PAGE.Text1 --] and in the product
template you would use the variable information by inserting the tag
[--VAR.TEXT1--].

You can specify whatever layout you need for a table in a custom template.

Jim

charlie A wrote:

Then I guess that I should build (modify) a custom page template???

Most of my problem lies in trying to get my page to the top left corner of
the screen
specifically leftmargin="0" topmargin="0"
Secondarily the page generation in ShopSite is causing a few problems with
the java script. Somehow I feel that if I get one thing working, the other
will fall into place.

I have a newly designed home page http://www.cookiebaskets.com/
and have tried inserting the code into header and footer areas of Manager
6.1.1 and get this resulting page
http://www.cookiebaskets.com/ShopSite/feature.html

I read at one point that I shouldn't put the header info in this custom
template?? That I should leave it in the /preferences/page header area of
ShopSite?? True or not??

Also, what does this mean? What is a VAR??
(This was taken from your Sample Custom Page Template)

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

My page titles are currently in Text 1 section of Page Content (essentially
another nested table) so that is what I need to print.

Then I found this in the zip download of custom and product pages.
(Different from the sample template??)
!------ End Table of Links -------

/td

td valign="top"
center
b>[--PAGE.Text1--]</b
/center

!------ Begin Table of Products-------

I would like to pull the following from Text 1 via a custom template and
assume the correct code to be <center><b>[--PAGE.Text1--]</b></center>.

table width="700"
tr valign=top
td valign=top
center><img border="0" src="holidayceleb.gif"></center
/td
/tr
/table

Also assuming that if I use the Custom Page Templates that I can change from
100% table width to whatever I need??

Thanks.

Charlie

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3E0D2C2C.5971D55C@yahoo.com...
The default templates are built-in and are not editable. If you have
something you need to put in the HEAD section you could do that in the
Meta Description field. I don't know of any way to modify the BODY tag
in the built-in templates.

-Loren


Charlie Arak wrote:

How do I modify the default page template to only modify the body tags
to
recognize an onload java script command in Version 6.1 Manager?

Charlie
jim
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 43 guests