Customizing pages question/html question

General ShopSite user discussion

Re: The page correction

Postby Jim » Mon Apr 03, 2006 2:32 pm

Please reply to the newsgroup as others may be able to learn from the
discussion.

Jim

Whitt Wilkins wrote:
Jim, do you want me to email you so I can communicate easier?

"Jim" <jstavast@xmission.com> wrote in message
news:e0rvrs$95d$1@eval.shopsite.com...
I'm not sure I understand what you are asking can you show an example of
where it is appearing twice? What are you doing to create it when it
appears twice? Maybe a copy of the template you are using would help.

Jim

Whitt Wilkins wrote:
Good idea. I asked my original question.. is there a way to keep the
different category page's sidebar from appearing so it doesn't appear
twice?
Thanks.


"Jim" <jstavast@xmission.com> wrote in message
news:e0rfsr$vbc$1@eval.shopsite.com...
You could either put the hardcode for the javascript that generates the
links right into the template or you could put the javascript into an
include file that is inserted by ShopSite when the pages are generated.

Jim

Whitt Wilkins wrote:
The website the link bar is on is:
http://www.velocity-performance.net/store/

Instead of the one I posted.

Thanks!

"Whitt Wilkins" <whittw@gmail.com> wrote in message
news:e0kl5i$27s$1@eval.shopsite.com...
Thanks for the help. I have a question about link bars, etc. It there
a
way
to not automatically generate a link bar based on the subcategories I
define
when I publish a page?

I guess this ties into my other question: How would I set up a
page/template
with a java link bar from www.velocity-performance.net/store.html so
it
keeps the link bar the same and just adds the products/prices/add to
cart
button in certain frames in the center?

Thanks. I'm sure I'll think of a few more questions in a little bit.

Whitt

"jim" <jstavast@xmission.com> wrote in message
news:e0aaic$qfj$1@eval.shopsite.com...
You need to put your html between the [-- define - --] and [--
end_define - --] tags. Then you replace the sections of your
html
where data from the store database needs to be placed with the
appropriate tag such as [-- page.name --] or [-- page.text1 --] etc.
Then save that file as a template under Merchandising > Custom
Templates
making sure you put it in the proper location (page, product, search
etc)
In the Edit Page Layout or Edit Product Layout, etc section you
select
the template you created and want to use. Then when the store is
published that template will be used to generate the page. Note
that
this will overwrite any page that has the same filename as what you
specify on the Edit Page Info section. It is not a partial
replacement
but will replace the entire page. If you have sections that you
want
to
keep intact you need to use the [-- include - --] tag to read
that
data into the page that ShopSite is generating.

Jim

Whitt Wilkins wrote:
So I have to do insert those tags into my desired output html file,
then
make sure it is in the right directory, then publish it... Right?
What
changes do I need to make to the "pages" section of the shopsite
control
panel before I publish it so specific parts of a page don't get
overwritten?
Thanks.


"jim" <jstavast@xmission.com> wrote in message
news:e02ja4$9kb$1@eval.shopsite.com...
Custom templates aren't too difficult once you get the hang of how
they
work. Basically all fields that you can enter data in in the
ShopSite
back office have a tag that will display that information on a
page
when
it is generated. The tags look like [-- -.yyyyy --] where
-
is
the main reference to where the item is located in the back
office,
i.e.
Page, product, store etc. and the yyyyy is the specific item
being
referenced like Name, Price, image etc. You can find a list of
the
tags
here:

http://shopsite.com/help/8.0/en-US/temp ... sheet.html
The templates contain sections which define how specific items are
laid
out. These sections begin with [-- DEFINE - --] and end with
[--
End_DEFINE - --] where - is the section title like Page,
Product,
Search, More_info_Page etc. You can find example templates here:

http://shopsite.com/help/8.0/en-US/sc/p ... .page.html
There is a tutorial here:
http://www.shopsite.com/templates/tutorial/
Once you are somewhat familiar with the available tags and what a
template looks like you can start modifying your designed html
page
to
contain the ShopSite tags which will generate the output you are
looking
for. So for example in your designed html page you may show the
page
name. You simply edit the html of your page and replace the text
for
your page name with the proper tag [-- page.name --] If you have a
main
graphic on the page you could replace the graphic with the tag [--
page.graphic --] Similarly for the product template you would
take
the
section of your page where you are displaying products use the
code
for
a single product and create a template that represents that
product
[--
product.name --] [-- product.price --] etc.

There are loop tags that allow you to repeat items like navigation
links, a series of products or subproduct, search results etc.

It can take some time to create the initial template and get
things
the
way you want them but once you do it you can simply publish your
store
after making any changes in the back office and you don't have to
manually edit the pages any more.

If you don't feel comfortable doing this type of work there are
Certified ShopSite Designers listed at
http://shopsite.com/csd.html
who
you can hire to help you with the templates.

If you decide to tackle it yourself you can post specific
questions
here.
Jim

Whitt Wilkins wrote:
How do I get custom templates made?
Right now what I am doing is adding things and publishing to
un-numbered
pages(that aren't linked to) and copying the shopping cart links
shopsite
produces onto my existing pages. Templates would seem to work a
hell
of
a
lot better.

Thanks for the help

Whitt
"jim" <jstavast@xmission.com> wrote in message
news:dvvs2q$spi$1@eval.shopsite.com...
ShopSite will regenerate the pages in the store whenever you
push
the
publish tab or Utilities > Publish > Regenerate. This would
wipe
out
any editing that you may do to them. The files could be placed
in
different directories if 1) you create the directories by hand
ahead
of
time. 2) ensure that they have proper permissions for the
webserver
to
write to them 3) specify the full path in the File Name location
on
Edit
Page Layout screen.

The better way to do this would be to use a custom template that
either
has your links built into the template or that uses an [--
include
-
--] statement to read the links in from a separate file.

It would also be possible to put the links in one of the page
fields
(Text 1, Text 2, Text 3) and depending on which template you are
using
the could be placed in various locations on the page.

Jim

Whitt Wilkins wrote:
Hey everyone, I am using shopsite to add a store on a friend of
mine's
site.
I have certain features(java link bar,etc) that I want to use
instead
of
the
links that shopsite gives me. Is there a way to edit the
shopsite
files
to
be saved in different directories, and to edit their html/links
so
I
can
incorporate the site I already made into the site?

Thanks.

Whitt Wilkins




Jim
 

Re: The page correction

Postby Whitt Wilkins » Mon Apr 03, 2006 2:37 pm

I want the layout to look like this:

http://www.velocity-performance.net/sto ... xtest.html

But with the previously mentioned link bar on the left side instead of that
one.

Do you follow what I am saying?

Whitt

"Jim" <jstavast@xmission.com> wrote in message
news:e0s4a3$bth$1@eval.shopsite.com...
Please reply to the newsgroup as others may be able to learn from the
discussion.

Jim

Whitt Wilkins wrote:
Jim, do you want me to email you so I can communicate easier?

"Jim" <jstavast@xmission.com> wrote in message
news:e0rvrs$95d$1@eval.shopsite.com...
I'm not sure I understand what you are asking can you show an example
of
where it is appearing twice? What are you doing to create it when it
appears twice? Maybe a copy of the template you are using would help.

Jim

Whitt Wilkins wrote:
Good idea. I asked my original question.. is there a way to keep the
different category page's sidebar from appearing so it doesn't appear
twice?
Thanks.


"Jim" <jstavast@xmission.com> wrote in message
news:e0rfsr$vbc$1@eval.shopsite.com...
You could either put the hardcode for the javascript that generates
the
links right into the template or you could put the javascript into an
include file that is inserted by ShopSite when the pages are
generated.

Jim

Whitt Wilkins wrote:
The website the link bar is on is:
http://www.velocity-performance.net/store/

Instead of the one I posted.

Thanks!

"Whitt Wilkins" <whittw@gmail.com> wrote in message
news:e0kl5i$27s$1@eval.shopsite.com...
Thanks for the help. I have a question about link bars, etc. It
there
a
way
to not automatically generate a link bar based on the subcategories
I
define
when I publish a page?

I guess this ties into my other question: How would I set up a
page/template
with a java link bar from www.velocity-performance.net/store.html
so
it
keeps the link bar the same and just adds the products/prices/add
to
cart
button in certain frames in the center?

Thanks. I'm sure I'll think of a few more questions in a little
bit.

Whitt

"jim" <jstavast@xmission.com> wrote in message
news:e0aaic$qfj$1@eval.shopsite.com...
You need to put your html between the [-- define - --] and [--
end_define - --] tags. Then you replace the sections of your
html
where data from the store database needs to be placed with the
appropriate tag such as [-- page.name --] or [-- page.text1 --]
etc.
Then save that file as a template under Merchandising > Custom
Templates
making sure you put it in the proper location (page, product,
search
etc)
In the Edit Page Layout or Edit Product Layout, etc section you
select
the template you created and want to use. Then when the store is
published that template will be used to generate the page. Note
that
this will overwrite any page that has the same filename as what
you
specify on the Edit Page Info section. It is not a partial
replacement
but will replace the entire page. If you have sections that you
want
to
keep intact you need to use the [-- include - --] tag to read
that
data into the page that ShopSite is generating.

Jim

Whitt Wilkins wrote:
So I have to do insert those tags into my desired output html
file,
then
make sure it is in the right directory, then publish it... Right?
What
changes do I need to make to the "pages" section of the shopsite
control
panel before I publish it so specific parts of a page don't get
overwritten?
Thanks.


"jim" <jstavast@xmission.com> wrote in message
news:e02ja4$9kb$1@eval.shopsite.com...
Custom templates aren't too difficult once you get the hang of
how
they
work. Basically all fields that you can enter data in in the
ShopSite
back office have a tag that will display that information on a
page
when
it is generated. The tags look like [-- -.yyyyy --] where
-
is
the main reference to where the item is located in the back
office,
i.e.
Page, product, store etc. and the yyyyy is the specific item
being
referenced like Name, Price, image etc. You can find a list of
the
tags
here:


http://shopsite.com/help/8.0/en-US/temp ... sheet.html
The templates contain sections which define how specific items
are
laid
out. These sections begin with [-- DEFINE - --] and end with
[--
End_DEFINE - --] where - is the section title like Page,
Product,
Search, More_info_Page etc. You can find example templates
here:

http://shopsite.com/help/8.0/en-US/sc/p ... .page.html
There is a tutorial here:
http://www.shopsite.com/templates/tutorial/
Once you are somewhat familiar with the available tags and what
a
template looks like you can start modifying your designed html
page
to
contain the ShopSite tags which will generate the output you are
looking
for. So for example in your designed html page you may show the
page
name. You simply edit the html of your page and replace the
text
for
your page name with the proper tag [-- page.name --] If you have
a
main
graphic on the page you could replace the graphic with the tag
[--
page.graphic --] Similarly for the product template you would
take
the
section of your page where you are displaying products use the
code
for
a single product and create a template that represents that
product
[--
product.name --] [-- product.price --] etc.

There are loop tags that allow you to repeat items like
navigation
links, a series of products or subproduct, search results etc.

It can take some time to create the initial template and get
things
the
way you want them but once you do it you can simply publish your
store
after making any changes in the back office and you don't have
to
manually edit the pages any more.

If you don't feel comfortable doing this type of work there are
Certified ShopSite Designers listed at
http://shopsite.com/csd.html
who
you can hire to help you with the templates.

If you decide to tackle it yourself you can post specific
questions
here.
Jim

Whitt Wilkins wrote:
How do I get custom templates made?
Right now what I am doing is adding things and publishing to
un-numbered
pages(that aren't linked to) and copying the shopping cart
links
shopsite
produces onto my existing pages. Templates would seem to work a
hell
of
a
lot better.

Thanks for the help

Whitt
"jim" <jstavast@xmission.com> wrote in message
news:dvvs2q$spi$1@eval.shopsite.com...
ShopSite will regenerate the pages in the store whenever you
push
the
publish tab or Utilities > Publish > Regenerate. This would
wipe
out
any editing that you may do to them. The files could be
placed
in
different directories if 1) you create the directories by hand
ahead
of
time. 2) ensure that they have proper permissions for the
webserver
to
write to them 3) specify the full path in the File Name
location
on
Edit
Page Layout screen.

The better way to do this would be to use a custom template
that
either
has your links built into the template or that uses an [--
include
-
--] statement to read the links in from a separate file.

It would also be possible to put the links in one of the page
fields
(Text 1, Text 2, Text 3) and depending on which template you
are
using
the could be placed in various locations on the page.

Jim

Whitt Wilkins wrote:
Hey everyone, I am using shopsite to add a store on a friend
of
mine's
site.
I have certain features(java link bar,etc) that I want to use
instead
of
the
links that shopsite gives me. Is there a way to edit the
shopsite
files
to
be saved in different directories, and to edit their
html/links
so
I
can
incorporate the site I already made into the site?

Thanks.

Whitt Wilkins




Whitt Wilkins
 

Re: The page correction

Postby jim » Mon Apr 03, 2006 6:39 pm

That page is using the Lefty theme which is one of the older C code
based templates. There is no way to insert your links into that
particular template. If you use the Sidebar template which is very
similar you would be able to modify it so that your javascript is in the
left instead of the ShopSite generated links.
Here are simple steps that would allow you to do this.
1. Go to Merchandising > Custom Templates
2. In the Pages section click on the Copy ShopSite template which will
open another page.
3. From the list of templates displayed select Sidebar and enter a name
in the text box. (lets call it MySidebar) and click the Copy Button.
4. Now select the MySidebar template and click Edit Template.
5. Scroll down in the edit screen to where you see
[-- LOOP LINKS --]
<tr>
[-- LINK Sidebar --]
</tr>
[-- END_LOOP LINKS --]
6. Place your javascript code in the place of [-- Link Sidebar --]
7. Remove the 2 lines [-- LOOP LINKS --] and [-- END_LOOP LINKS --]
8. Save the template by clicking Save Changes button
(NOTE: Steps 9 to 12 will affect all pages in the store. If you don't
want to do all of them Edit Product Layout for each page individually
and change the template there)
9. Now go to the Pages screen and Select all your pages from the list
10. Click the Power Edit button
11. From the Layout box select the Template option and click the Global
radio button.
12. Select the MySidebar template from the list of templates and Save
Changes.
13. The Publish tab should now be visible so Click it to publish the store.

You should now see your links instead of the ShopSite links on the page.

If you don't like the Sidebar theme you could create a custom template
page exactly like the Lefty page by copying the page source and
modifying it to be a custom template. This would be more work than
modifying a copy of the Sidebar template but it would be possible.

Jim


Whitt Wilkins wrote:
I want the layout to look like this:

http://www.velocity-performance.net/sto ... xtest.html

But with the previously mentioned link bar on the left side instead of that
one.

Do you follow what I am saying?

Whitt

"Jim" <jstavast@xmission.com> wrote in message
news:e0s4a3$bth$1@eval.shopsite.com...
Please reply to the newsgroup as others may be able to learn from the
discussion.

Jim

Whitt Wilkins wrote:
Jim, do you want me to email you so I can communicate easier?

"Jim" <jstavast@xmission.com> wrote in message
news:e0rvrs$95d$1@eval.shopsite.com...
I'm not sure I understand what you are asking can you show an example
of
where it is appearing twice? What are you doing to create it when it
appears twice? Maybe a copy of the template you are using would help.

Jim

Whitt Wilkins wrote:
Good idea. I asked my original question.. is there a way to keep the
different category page's sidebar from appearing so it doesn't appear
twice?
Thanks.


"Jim" <jstavast@xmission.com> wrote in message
news:e0rfsr$vbc$1@eval.shopsite.com...
You could either put the hardcode for the javascript that generates
the
links right into the template or you could put the javascript into an
include file that is inserted by ShopSite when the pages are
generated.
Jim

Whitt Wilkins wrote:
The website the link bar is on is:
http://www.velocity-performance.net/store/

Instead of the one I posted.

Thanks!

"Whitt Wilkins" <whittw@gmail.com> wrote in message
news:e0kl5i$27s$1@eval.shopsite.com...
Thanks for the help. I have a question about link bars, etc. It
there
a
way
to not automatically generate a link bar based on the subcategories
I
define
when I publish a page?

I guess this ties into my other question: How would I set up a
page/template
with a java link bar from www.velocity-performance.net/store.html
so
it
keeps the link bar the same and just adds the products/prices/add
to
cart
button in certain frames in the center?

Thanks. I'm sure I'll think of a few more questions in a little
bit.
Whitt

"jim" <jstavast@xmission.com> wrote in message
news:e0aaic$qfj$1@eval.shopsite.com...
You need to put your html between the [-- define - --] and [--
end_define - --] tags. Then you replace the sections of your
html
where data from the store database needs to be placed with the
appropriate tag such as [-- page.name --] or [-- page.text1 --]
etc.
Then save that file as a template under Merchandising > Custom
Templates
making sure you put it in the proper location (page, product,
search
etc)
In the Edit Page Layout or Edit Product Layout, etc section you
select
the template you created and want to use. Then when the store is
published that template will be used to generate the page. Note
that
this will overwrite any page that has the same filename as what
you
specify on the Edit Page Info section. It is not a partial
replacement
but will replace the entire page. If you have sections that you
want
to
keep intact you need to use the [-- include - --] tag to read
that
data into the page that ShopSite is generating.

Jim

Whitt Wilkins wrote:
So I have to do insert those tags into my desired output html
file,
then
make sure it is in the right directory, then publish it... Right?
What
changes do I need to make to the "pages" section of the shopsite
control
panel before I publish it so specific parts of a page don't get
overwritten?
Thanks.


"jim" <jstavast@xmission.com> wrote in message
news:e02ja4$9kb$1@eval.shopsite.com...
Custom templates aren't too difficult once you get the hang of
how
they
work. Basically all fields that you can enter data in in the
ShopSite
back office have a tag that will display that information on a
page
when
it is generated. The tags look like [-- -.yyyyy --] where
-
is
the main reference to where the item is located in the back
office,
i.e.
Page, product, store etc. and the yyyyy is the specific item
being
referenced like Name, Price, image etc. You can find a list of
the
tags
here:

http://shopsite.com/help/8.0/en-US/temp ... sheet.html
The templates contain sections which define how specific items
are
laid
out. These sections begin with [-- DEFINE - --] and end with
[--
End_DEFINE - --] where - is the section title like Page,
Product,
Search, More_info_Page etc. You can find example templates
here:
http://shopsite.com/help/8.0/en-US/sc/p ... .page.html
There is a tutorial here:
http://www.shopsite.com/templates/tutorial/
Once you are somewhat familiar with the available tags and what
a
template looks like you can start modifying your designed html
page
to
contain the ShopSite tags which will generate the output you are
looking
for. So for example in your designed html page you may show the
page
name. You simply edit the html of your page and replace the
text
for
your page name with the proper tag [-- page.name --] If you have
a
main
graphic on the page you could replace the graphic with the tag
[--
page.graphic --] Similarly for the product template you would
take
the
section of your page where you are displaying products use the
code
for
a single product and create a template that represents that
product
[--
product.name --] [-- product.price --] etc.

There are loop tags that allow you to repeat items like
navigation
links, a series of products or subproduct, search results etc.

It can take some time to create the initial template and get
things
the
way you want them but once you do it you can simply publish your
store
after making any changes in the back office and you don't have
to
manually edit the pages any more.

If you don't feel comfortable doing this type of work there are
Certified ShopSite Designers listed at
http://shopsite.com/csd.html
who
you can hire to help you with the templates.

If you decide to tackle it yourself you can post specific
questions
here.
Jim

Whitt Wilkins wrote:
How do I get custom templates made?
Right now what I am doing is adding things and publishing to
un-numbered
pages(that aren't linked to) and copying the shopping cart
links
shopsite
produces onto my existing pages. Templates would seem to work a
hell
of
a
lot better.

Thanks for the help

Whitt
"jim" <jstavast@xmission.com> wrote in message
news:dvvs2q$spi$1@eval.shopsite.com...
ShopSite will regenerate the pages in the store whenever you
push
the
publish tab or Utilities > Publish > Regenerate. This would
wipe
out
any editing that you may do to them. The files could be
placed
in
different directories if 1) you create the directories by hand
ahead
of
time. 2) ensure that they have proper permissions for the
webserver
to
write to them 3) specify the full path in the File Name
location
on
Edit
Page Layout screen.

The better way to do this would be to use a custom template
that
either
has your links built into the template or that uses an [--
include
-
--] statement to read the links in from a separate file.

It would also be possible to put the links in one of the page
fields
(Text 1, Text 2, Text 3) and depending on which template you
are
using
the could be placed in various locations on the page.

Jim

Whitt Wilkins wrote:
Hey everyone, I am using shopsite to add a store on a friend
of
mine's
site.
I have certain features(java link bar,etc) that I want to use
instead
of
the
links that shopsite gives me. Is there a way to edit the
shopsite
files
to
be saved in different directories, and to edit their
html/links
so
I
can
incorporate the site I already made into the site?

Thanks.

Whitt Wilkins




jim
 

Re: The page correction

Postby Whitt Wilkins » Mon Apr 03, 2006 7:12 pm

Thanks Jim. That seems to have solved the link bar problem. However, when I
try to add the site logo to the main page, it splits the screen into two
columns with two different background colors.

Also, how would I change the background to an image? I did it in the page
edit view, and it only does it for a portion of the page. Is that somewhere
in the template code or something?

Thanks alot for your help.


"jim" <jstavast@xmission.com> wrote in message
news:e0siod$krs$1@eval.shopsite.com...
That page is using the Lefty theme which is one of the older C code
based templates. There is no way to insert your links into that
particular template. If you use the Sidebar template which is very
similar you would be able to modify it so that your javascript is in the
left instead of the ShopSite generated links.
Here are simple steps that would allow you to do this.
1. Go to Merchandising > Custom Templates
2. In the Pages section click on the Copy ShopSite template which will
open another page.
3. From the list of templates displayed select Sidebar and enter a name
in the text box. (lets call it MySidebar) and click the Copy Button.
4. Now select the MySidebar template and click Edit Template.
5. Scroll down in the edit screen to where you see
[-- LOOP LINKS --]
tr
[-- LINK Sidebar --]
/tr
[-- END_LOOP LINKS --]
6. Place your javascript code in the place of [-- Link Sidebar --]
7. Remove the 2 lines [-- LOOP LINKS --] and [-- END_LOOP LINKS --]
8. Save the template by clicking Save Changes button
(NOTE: Steps 9 to 12 will affect all pages in the store. If you don't
want to do all of them Edit Product Layout for each page individually
and change the template there)
9. Now go to the Pages screen and Select all your pages from the list
10. Click the Power Edit button
11. From the Layout box select the Template option and click the Global
radio button.
12. Select the MySidebar template from the list of templates and Save
Changes.
13. The Publish tab should now be visible so Click it to publish the
store.

You should now see your links instead of the ShopSite links on the page.

If you don't like the Sidebar theme you could create a custom template
page exactly like the Lefty page by copying the page source and
modifying it to be a custom template. This would be more work than
modifying a copy of the Sidebar template but it would be possible.

Jim


Whitt Wilkins wrote:
I want the layout to look like this:

http://www.velocity-performance.net/sto ... xtest.html

But with the previously mentioned link bar on the left side instead of
that
one.

Do you follow what I am saying?

Whitt

"Jim" <jstavast@xmission.com> wrote in message
news:e0s4a3$bth$1@eval.shopsite.com...
Please reply to the newsgroup as others may be able to learn from the
discussion.

Jim

Whitt Wilkins wrote:
Jim, do you want me to email you so I can communicate easier?

"Jim" <jstavast@xmission.com> wrote in message
news:e0rvrs$95d$1@eval.shopsite.com...
I'm not sure I understand what you are asking can you show an example
of
where it is appearing twice? What are you doing to create it when
it
appears twice? Maybe a copy of the template you are using would
help.

Jim

Whitt Wilkins wrote:
Good idea. I asked my original question.. is there a way to keep the
different category page's sidebar from appearing so it doesn't
appear
twice?
Thanks.


"Jim" <jstavast@xmission.com> wrote in message
news:e0rfsr$vbc$1@eval.shopsite.com...
You could either put the hardcode for the javascript that generates
the
links right into the template or you could put the javascript into
an
include file that is inserted by ShopSite when the pages are
generated.
Jim

Whitt Wilkins wrote:
The website the link bar is on is:
http://www.velocity-performance.net/store/

Instead of the one I posted.

Thanks!

"Whitt Wilkins" <whittw@gmail.com> wrote in message
news:e0kl5i$27s$1@eval.shopsite.com...
Thanks for the help. I have a question about link bars, etc. It
there
a
way
to not automatically generate a link bar based on the
subcategories
I
define
when I publish a page?

I guess this ties into my other question: How would I set up a
page/template
with a java link bar from www.velocity-performance.net/store.html
so
it
keeps the link bar the same and just adds the products/prices/add
to
cart
button in certain frames in the center?

Thanks. I'm sure I'll think of a few more questions in a little
bit.
Whitt

"jim" <jstavast@xmission.com> wrote in message
news:e0aaic$qfj$1@eval.shopsite.com...
You need to put your html between the [-- define - --] and
[--
end_define - --] tags. Then you replace the sections of
your
html
where data from the store database needs to be placed with the
appropriate tag such as [-- page.name --] or [-- page.text1 --]
etc.
Then save that file as a template under Merchandising > Custom
Templates
making sure you put it in the proper location (page, product,
search
etc)
In the Edit Page Layout or Edit Product Layout, etc section you
select
the template you created and want to use. Then when the store
is
published that template will be used to generate the page. Note
that
this will overwrite any page that has the same filename as what
you
specify on the Edit Page Info section. It is not a partial
replacement
but will replace the entire page. If you have sections that you
want
to
keep intact you need to use the [-- include - --] tag to read
that
data into the page that ShopSite is generating.

Jim

Whitt Wilkins wrote:
So I have to do insert those tags into my desired output html
file,
then
make sure it is in the right directory, then publish it...
Right?
What
changes do I need to make to the "pages" section of the
shopsite
control
panel before I publish it so specific parts of a page don't get
overwritten?
Thanks.


"jim" <jstavast@xmission.com> wrote in message
news:e02ja4$9kb$1@eval.shopsite.com...
Custom templates aren't too difficult once you get the hang of
how
they
work. Basically all fields that you can enter data in in the
ShopSite
back office have a tag that will display that information on a
page
when
it is generated. The tags look like [-- -.yyyyy --]
where
-
is
the main reference to where the item is located in the back
office,
i.e.
Page, product, store etc. and the yyyyy is the specific item
being
referenced like Name, Price, image etc. You can find a list
of
the
tags
here:


http://shopsite.com/help/8.0/en-US/temp ... sheet.html
The templates contain sections which define how specific items
are
laid
out. These sections begin with [-- DEFINE - --] and end
with
[--
End_DEFINE - --] where - is the section title like Page,
Product,
Search, More_info_Page etc. You can find example templates
here:
http://shopsite.com/help/8.0/en-US/sc/p ... .page.html
There is a tutorial here:
http://www.shopsite.com/templates/tutorial/
Once you are somewhat familiar with the available tags and
what
a
template looks like you can start modifying your designed html
page
to
contain the ShopSite tags which will generate the output you
are
looking
for. So for example in your designed html page you may show
the
page
name. You simply edit the html of your page and replace the
text
for
your page name with the proper tag [-- page.name --] If you
have
a
main
graphic on the page you could replace the graphic with the tag
[--
page.graphic --] Similarly for the product template you would
take
the
section of your page where you are displaying products use the
code
for
a single product and create a template that represents that
product
[--
product.name --] [-- product.price --] etc.

There are loop tags that allow you to repeat items like
navigation
links, a series of products or subproduct, search results etc.

It can take some time to create the initial template and get
things
the
way you want them but once you do it you can simply publish
your
store
after making any changes in the back office and you don't have
to
manually edit the pages any more.

If you don't feel comfortable doing this type of work there
are
Certified ShopSite Designers listed at
http://shopsite.com/csd.html
who
you can hire to help you with the templates.

If you decide to tackle it yourself you can post specific
questions
here.
Jim

Whitt Wilkins wrote:
How do I get custom templates made?
Right now what I am doing is adding things and publishing to
un-numbered
pages(that aren't linked to) and copying the shopping cart
links
shopsite
produces onto my existing pages. Templates would seem to work
a
hell
of
a
lot better.

Thanks for the help

Whitt
"jim" <jstavast@xmission.com> wrote in message
news:dvvs2q$spi$1@eval.shopsite.com...
ShopSite will regenerate the pages in the store whenever you
push
the
publish tab or Utilities > Publish > Regenerate. This would
wipe
out
any editing that you may do to them. The files could be
placed
in
different directories if 1) you create the directories by
hand
ahead
of
time. 2) ensure that they have proper permissions for the
webserver
to
write to them 3) specify the full path in the File Name
location
on
Edit
Page Layout screen.

The better way to do this would be to use a custom template
that
either
has your links built into the template or that uses an [--
include
-
--] statement to read the links in from a separate file.

It would also be possible to put the links in one of the
page
fields
(Text 1, Text 2, Text 3) and depending on which template you
are
using
the could be placed in various locations on the page.

Jim

Whitt Wilkins wrote:
Hey everyone, I am using shopsite to add a store on a
friend
of
mine's
site.
I have certain features(java link bar,etc) that I want to
use
instead
of
the
links that shopsite gives me. Is there a way to edit the
shopsite
files
to
be saved in different directories, and to edit their
html/links
so
I
can
incorporate the site I already made into the site?

Thanks.

Whitt Wilkins




Whitt Wilkins
 

Re: The page correction

Postby jim » Mon Apr 03, 2006 10:05 pm

The template is designed to have a background color and not a background
image for the area where the products are displayed. If you want a
background image you will need to find the spot in the template that
contains the section on the right of colored left band and change the
background color to a background image. It is probably the td here:
....
<td bgcolor="[-- PAGE.BackgroundColor --]" valign="top">
<table>

[-- IF PAGE.DisplayPageHeader --]
<tr>
....

Jim



Whitt Wilkins wrote:
Thanks Jim. That seems to have solved the link bar problem. However, when I
try to add the site logo to the main page, it splits the screen into two
columns with two different background colors.

Also, how would I change the background to an image? I did it in the page
edit view, and it only does it for a portion of the page. Is that somewhere
in the template code or something?

Thanks alot for your help.


"jim" <jstavast@xmission.com> wrote in message
news:e0siod$krs$1@eval.shopsite.com...
That page is using the Lefty theme which is one of the older C code
based templates. There is no way to insert your links into that
particular template. If you use the Sidebar template which is very
similar you would be able to modify it so that your javascript is in the
left instead of the ShopSite generated links.
Here are simple steps that would allow you to do this.
1. Go to Merchandising > Custom Templates
2. In the Pages section click on the Copy ShopSite template which will
open another page.
3. From the list of templates displayed select Sidebar and enter a name
in the text box. (lets call it MySidebar) and click the Copy Button.
4. Now select the MySidebar template and click Edit Template.
5. Scroll down in the edit screen to where you see
[-- LOOP LINKS --]
tr
[-- LINK Sidebar --]
/tr
[-- END_LOOP LINKS --]
6. Place your javascript code in the place of [-- Link Sidebar --]
7. Remove the 2 lines [-- LOOP LINKS --] and [-- END_LOOP LINKS --]
8. Save the template by clicking Save Changes button
(NOTE: Steps 9 to 12 will affect all pages in the store. If you don't
want to do all of them Edit Product Layout for each page individually
and change the template there)
9. Now go to the Pages screen and Select all your pages from the list
10. Click the Power Edit button
11. From the Layout box select the Template option and click the Global
radio button.
12. Select the MySidebar template from the list of templates and Save
Changes.
13. The Publish tab should now be visible so Click it to publish the
store.
You should now see your links instead of the ShopSite links on the page.

If you don't like the Sidebar theme you could create a custom template
page exactly like the Lefty page by copying the page source and
modifying it to be a custom template. This would be more work than
modifying a copy of the Sidebar template but it would be possible.

Jim


Whitt Wilkins wrote:
I want the layout to look like this:

http://www.velocity-performance.net/sto ... xtest.html

But with the previously mentioned link bar on the left side instead of
that
one.

Do you follow what I am saying?

Whitt

"Jim" <jstavast@xmission.com> wrote in message
news:e0s4a3$bth$1@eval.shopsite.com...
Please reply to the newsgroup as others may be able to learn from the
discussion.

Jim

Whitt Wilkins wrote:
Jim, do you want me to email you so I can communicate easier?

"Jim" <jstavast@xmission.com> wrote in message
news:e0rvrs$95d$1@eval.shopsite.com...
I'm not sure I understand what you are asking can you show an example
of
where it is appearing twice? What are you doing to create it when
it
appears twice? Maybe a copy of the template you are using would
help.
Jim

Whitt Wilkins wrote:
Good idea. I asked my original question.. is there a way to keep the
different category page's sidebar from appearing so it doesn't
appear
twice?
Thanks.


"Jim" <jstavast@xmission.com> wrote in message
news:e0rfsr$vbc$1@eval.shopsite.com...
You could either put the hardcode for the javascript that generates
the
links right into the template or you could put the javascript into
an
include file that is inserted by ShopSite when the pages are
generated.
Jim

Whitt Wilkins wrote:
The website the link bar is on is:
http://www.velocity-performance.net/store/

Instead of the one I posted.

Thanks!

"Whitt Wilkins" <whittw@gmail.com> wrote in message
news:e0kl5i$27s$1@eval.shopsite.com...
Thanks for the help. I have a question about link bars, etc. It
there
a
way
to not automatically generate a link bar based on the
subcategories
I
define
when I publish a page?

I guess this ties into my other question: How would I set up a
page/template
with a java link bar from www.velocity-performance.net/store.html
so
it
keeps the link bar the same and just adds the products/prices/add
to
cart
button in certain frames in the center?

Thanks. I'm sure I'll think of a few more questions in a little
bit.
Whitt

"jim" <jstavast@xmission.com> wrote in message
news:e0aaic$qfj$1@eval.shopsite.com...
You need to put your html between the [-- define - --] and
[--
end_define - --] tags. Then you replace the sections of
your
html
where data from the store database needs to be placed with the
appropriate tag such as [-- page.name --] or [-- page.text1 --]
etc.
Then save that file as a template under Merchandising > Custom
Templates
making sure you put it in the proper location (page, product,
search
etc)
In the Edit Page Layout or Edit Product Layout, etc section you
select
the template you created and want to use. Then when the store
is
published that template will be used to generate the page. Note
that
this will overwrite any page that has the same filename as what
you
specify on the Edit Page Info section. It is not a partial
replacement
but will replace the entire page. If you have sections that you
want
to
keep intact you need to use the [-- include - --] tag to read
that
data into the page that ShopSite is generating.

Jim

Whitt Wilkins wrote:
So I have to do insert those tags into my desired output html
file,
then
make sure it is in the right directory, then publish it...
Right?
What
changes do I need to make to the "pages" section of the
shopsite
control
panel before I publish it so specific parts of a page don't get
overwritten?
Thanks.


"jim" <jstavast@xmission.com> wrote in message
news:e02ja4$9kb$1@eval.shopsite.com...
Custom templates aren't too difficult once you get the hang of
how
they
work. Basically all fields that you can enter data in in the
ShopSite
back office have a tag that will display that information on a
page
when
it is generated. The tags look like [-- -.yyyyy --]
where
-
is
the main reference to where the item is located in the back
office,
i.e.
Page, product, store etc. and the yyyyy is the specific item
being
referenced like Name, Price, image etc. You can find a list
of
the
tags
here:

http://shopsite.com/help/8.0/en-US/temp ... sheet.html
The templates contain sections which define how specific items
are
laid
out. These sections begin with [-- DEFINE - --] and end
with
[--
End_DEFINE - --] where - is the section title like Page,
Product,
Search, More_info_Page etc. You can find example templates
here:
http://shopsite.com/help/8.0/en-US/sc/p ... .page.html
There is a tutorial here:
http://www.shopsite.com/templates/tutorial/
Once you are somewhat familiar with the available tags and
what
a
template looks like you can start modifying your designed html
page
to
contain the ShopSite tags which will generate the output you
are
looking
for. So for example in your designed html page you may show
the
page
name. You simply edit the html of your page and replace the
text
for
your page name with the proper tag [-- page.name --] If you
have
a
main
graphic on the page you could replace the graphic with the tag
[--
page.graphic --] Similarly for the product template you would
take
the
section of your page where you are displaying products use the
code
for
a single product and create a template that represents that
product
[--
product.name --] [-- product.price --] etc.

There are loop tags that allow you to repeat items like
navigation
links, a series of products or subproduct, search results etc.

It can take some time to create the initial template and get
things
the
way you want them but once you do it you can simply publish
your
store
after making any changes in the back office and you don't have
to
manually edit the pages any more.

If you don't feel comfortable doing this type of work there
are
Certified ShopSite Designers listed at
http://shopsite.com/csd.html
who
you can hire to help you with the templates.

If you decide to tackle it yourself you can post specific
questions
here.
Jim

Whitt Wilkins wrote:
How do I get custom templates made?
Right now what I am doing is adding things and publishing to
un-numbered
pages(that aren't linked to) and copying the shopping cart
links
shopsite
produces onto my existing pages. Templates would seem to work
a
hell
of
a
lot better.

Thanks for the help

Whitt
"jim" <jstavast@xmission.com> wrote in message
news:dvvs2q$spi$1@eval.shopsite.com...
ShopSite will regenerate the pages in the store whenever you
push
the
publish tab or Utilities > Publish > Regenerate. This would
wipe
out
any editing that you may do to them. The files could be
placed
in
different directories if 1) you create the directories by
hand
ahead
of
time. 2) ensure that they have proper permissions for the
webserver
to
write to them 3) specify the full path in the File Name
location
on
Edit
Page Layout screen.

The better way to do this would be to use a custom template
that
either
has your links built into the template or that uses an [--
include
-
--] statement to read the links in from a separate file.

It would also be possible to put the links in one of the
page
fields
(Text 1, Text 2, Text 3) and depending on which template you
are
using
the could be placed in various locations on the page.

Jim

Whitt Wilkins wrote:
Hey everyone, I am using shopsite to add a store on a
friend
of
mine's
site.
I have certain features(java link bar,etc) that I want to
use
instead
of
the
links that shopsite gives me. Is there a way to edit the
shopsite
files
to
be saved in different directories, and to edit their
html/links
so
I
can
incorporate the site I already made into the site?

Thanks.

Whitt Wilkins




jim
 

Previous

Return to User Forum

Who is online

Users browsing this forum: No registered users and 189 guests