a name reference in custom templates

This is an archive of old posting to the User Forum

a name reference in custom templates

Postby Katrina Morris » Tue Jul 17, 2001 1:43 pm

Hi all,

Is there a way to designate an <a name> reference for products in custom
templates? This is important, as when a search returns a product, it no
longer sends the user directly to the product, but rather just to that page,
as an <a name> has not been generated. The search refers to the product #
that is uniquely assigned by Shopsite. Is there a command for it in product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!
Katrina Morris
 

Re: 'a name' reference in custom templates

Postby loren_d_c » Tue Jul 17, 2001 2:48 pm

From the ShopSite On-Line help at
http://www.shopsite.com/help/5.0/en-US/ ... .spec.html
:

--------------------------------------------------------------------------------------

[-- PRODUCT.RecordNumber --]
Inserts the record number of the product. You can use this tag to create
HTML anchor tags to link directly to a specific product, such as
<a name="#[-- PRODUCT.RecordNumber --]">
---------------------------------------------------------------------------------------

Note that this is the 5.0 help so it is not guaranteed to work on previous
versions unless you look it up in that version of the help and it says so there.

-Loren



Katrina Morris wrote:

Hi all,

Is there a way to designate an <a name> reference for products in custom
templates? This is important, as when a search returns a product, it no
longer sends the user directly to the product, but rather just to that page,
as an <a name> has not been generated. The search refers to the product #
that is uniquely assigned by Shopsite. Is there a command for it in product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: 'a name' reference in custom templates

Postby Katrina Morris » Fri Jul 20, 2001 1:58 pm

Hi Loren,

Thank you!

Also, I've been having somewhat of a problem with the Text1 field when using
custom page templates. Some pages are dropping the Text1 field, while
others are not. Have you run into this before?

Thanks,

Katrina
http://www.rexart.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B54B2CA.C37CD2A9@yahoo.com...

/install/custom.template.spec.html
:

--------------------------------------------------------------------------
------------

[-- PRODUCT.RecordNumber --]
Inserts the record number of the product. You can use this tag to
create
HTML anchor tags to link directly to a specific product, such as
a name="#[-- PRODUCT.RecordNumber --]"
--------------------------------------------------------------------------
-------------

Note that this is the 5.0 help so it is not guaranteed to work on previous
versions unless you look it up in that version of the help and it says so
there.

-Loren



Katrina Morris wrote:

Hi all,

Is there a way to designate an <a name> reference for products in custom
templates? This is important, as when a search returns a product, it no
longer sends the user directly to the product, but rather just to that
page,
as an <a name> has not been generated. The search refers to the product
#
that is uniquely assigned by Shopsite. Is there a command for it in
product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!
Katrina Morris
 

Re: 'a name' reference in custom templates

Postby loren_d_c » Mon Jul 23, 2001 12:41 pm

No, I have not heard of this happening before. Do the ones that are being
dropped have quite a bit more text that the ones that are working? Maybe there
is some kind of buffer overflow? If you can find something in common between the
ones that don't work then we could take a look. Thanks.

-Loren

Katrina Morris wrote:

Hi Loren,

Thank you!

Also, I've been having somewhat of a problem with the Text1 field when using
custom page templates. Some pages are dropping the Text1 field, while
others are not. Have you run into this before?

Thanks,

Katrina
http://www.rexart.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B54B2CA.C37CD2A9@yahoo.com...
From the ShopSite On-Line help at

http://www.shopsite.com/help/5.0/en-US/ ... /5.0/en-US
/install/custom.template.spec.html
:

--------------------------------------------------------------------------
------------

[-- PRODUCT.RecordNumber --]
Inserts the record number of the product. You can use this tag to
create
HTML anchor tags to link directly to a specific product, such as
a name="#[-- PRODUCT.RecordNumber --]"
--------------------------------------------------------------------------
-------------

Note that this is the 5.0 help so it is not guaranteed to work on previous
versions unless you look it up in that version of the help and it says so
there.

-Loren



Katrina Morris wrote:

Hi all,

Is there a way to designate an <a name> reference for products in custom
templates? This is important, as when a search returns a product, it no
longer sends the user directly to the product, but rather just to that
page,
as an <a name> has not been generated. The search refers to the product
#
that is uniquely assigned by Shopsite. Is there a command for it in
product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: 'a name' reference in custom templates

Postby Katrina Morris » Wed Jul 25, 2001 10:01 am

Hi Loren,

I have figured out the problem, but not why it happens. It seems that if
you have a mailto href in the text1 field, custom templates drop the text.
Any reason?

Thanks for your help,

Katrina
http://www.rexart.com


"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B5C7DF3.8D4724D6@yahoo.com...
No, I have not heard of this happening before. Do the ones that are being
dropped have quite a bit more text that the ones that are working? Maybe
there
is some kind of buffer overflow? If you can find something in common
between the
ones that don't work then we could take a look. Thanks.

-Loren

Katrina Morris wrote:

Hi Loren,

Thank you!

Also, I've been having somewhat of a problem with the Text1 field when
using
custom page templates. Some pages are dropping the Text1 field, while
others are not. Have you run into this before?

Thanks,

Katrina
http://www.rexart.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B54B2CA.C37CD2A9@yahoo.com...
From the ShopSite On-Line help at


http://www.shopsite.com/help/5.0/en-US/ ... /5.0/en-US
/install/custom.template.spec.html
:


--------------------------------------------------------------------------
------------

[-- PRODUCT.RecordNumber --]
Inserts the record number of the product. You can use this tag to
create
HTML anchor tags to link directly to a specific product, such as
a name="#[-- PRODUCT.RecordNumber --]"

--------------------------------------------------------------------------
-------------

Note that this is the 5.0 help so it is not guaranteed to work on
previous
versions unless you look it up in that version of the help and it says
so
there.

-Loren



Katrina Morris wrote:

Hi all,

Is there a way to designate an <a name> reference for products in
custom
templates? This is important, as when a search returns a product,
it no
longer sends the user directly to the product, but rather just to
that
page,
as an <a name> has not been generated. The search refers to the
product
#
that is uniquely assigned by Shopsite. Is there a command for it in
product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!

Katrina Morris
 

Re: 'a name' reference in custom templates

Postby Katrina Morris » Mon Jul 30, 2001 9:50 am

Hi Loren,

I've figured it out! It seems that if the text field contains the word
"if", it drops the text. It must think that it is an "if" statement, even
when it is not encased in brackets. Interesting. I thought it was the
mailto reference, but that was simply in this text string:

<P>If there is a particular size or type you are looking for, please<A
HREF="mailto:service@rexart.com"> e-mail us,</A> and <b>we will order, or
make it for you!</b></p>

Please let me know if there is a workaround for this problem.

Thanks,

Katrina

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B5C7DF3.8D4724D6@yahoo.com...
No, I have not heard of this happening before. Do the ones that are being
dropped have quite a bit more text that the ones that are working? Maybe
there
is some kind of buffer overflow? If you can find something in common
between the
ones that don't work then we could take a look. Thanks.

-Loren

Katrina Morris wrote:

Hi Loren,

Thank you!

Also, I've been having somewhat of a problem with the Text1 field when
using
custom page templates. Some pages are dropping the Text1 field, while
others are not. Have you run into this before?

Thanks,

Katrina
http://www.rexart.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B54B2CA.C37CD2A9@yahoo.com...
From the ShopSite On-Line help at


http://www.shopsite.com/help/5.0/en-US/ ... /5.0/en-US
/install/custom.template.spec.html
:


--------------------------------------------------------------------------
------------

[-- PRODUCT.RecordNumber --]
Inserts the record number of the product. You can use this tag to
create
HTML anchor tags to link directly to a specific product, such as
a name="#[-- PRODUCT.RecordNumber --]"

--------------------------------------------------------------------------
-------------

Note that this is the 5.0 help so it is not guaranteed to work on
previous
versions unless you look it up in that version of the help and it says
so
there.

-Loren



Katrina Morris wrote:

Hi all,

Is there a way to designate an <a name> reference for products in
custom
templates? This is important, as when a search returns a product,
it no
longer sends the user directly to the product, but rather just to
that
page,
as an <a name> has not been generated. The search refers to the
product
#
that is uniquely assigned by Shopsite. Is there a command for it in
product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!

Katrina Morris
 

Re: 'a name' reference in custom templates

Postby loren_d_c » Mon Jul 30, 2001 10:36 am

Your store is using ShopSite 4.2. This problem was discovered after the 4.3
release and a patch was made for 4.3. So if you would like the fix you would
need at least 4.3 with the patch, preferably 5.0.1, the latest version.

-Loren

P.S. here is what the readme says in the 4.3 patch directory on the shopsite.com
anonymous ftp site:


customparser.pl Solution ID: S03951
The customparser.pl fixes a problem with custom
templates in v4.3 of ShopSite. The bug occurs when
using custom page or product templates and the
word "if" is found in any text field for a page or
product. This would cause the parser to terminate
parsing of that record so the data for that field
would not be inserted on the html page. Download
customparser.pl and replace the one found in the
ShopSite merchant (back office) CGI directory.


Katrina Morris wrote:

Hi Loren,

I've figured it out! It seems that if the text field contains the word
"if", it drops the text. It must think that it is an "if" statement, even
when it is not encased in brackets. Interesting. I thought it was the
mailto reference, but that was simply in this text string:

P>If there is a particular size or type you are looking for, please<A
HREF="mailto:service@rexart.com"> e-mail us,</A> and <b>we will order, or
make it for you!</b></p

Please let me know if there is a workaround for this problem.

Thanks,

Katrina

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B5C7DF3.8D4724D6@yahoo.com...
No, I have not heard of this happening before. Do the ones that are being
dropped have quite a bit more text that the ones that are working? Maybe
there
is some kind of buffer overflow? If you can find something in common
between the
ones that don't work then we could take a look. Thanks.

-Loren

Katrina Morris wrote:

Hi Loren,

Thank you!

Also, I've been having somewhat of a problem with the Text1 field when
using
custom page templates. Some pages are dropping the Text1 field, while
others are not. Have you run into this before?

Thanks,

Katrina
http://www.rexart.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B54B2CA.C37CD2A9@yahoo.com...
From the ShopSite On-Line help at


http://www.shopsite.com/help/5.0/en-US/ ... /5.0/en-US
/install/custom.template.spec.html
:


--------------------------------------------------------------------------
------------

[-- PRODUCT.RecordNumber --]
Inserts the record number of the product. You can use this tag to
create
HTML anchor tags to link directly to a specific product, such as
a name="#[-- PRODUCT.RecordNumber --]"

--------------------------------------------------------------------------
-------------

Note that this is the 5.0 help so it is not guaranteed to work on
previous
versions unless you look it up in that version of the help and it says
so
there.

-Loren



Katrina Morris wrote:

Hi all,

Is there a way to designate an <a name> reference for products in
custom
templates? This is important, as when a search returns a product,
it no
longer sends the user directly to the product, but rather just to
that
page,
as an <a name> has not been generated. The search refers to the
product
#
that is uniquely assigned by Shopsite. Is there a command for it in
product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!

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

Re: 'a name' reference in custom templates

Postby Katrina Morris » Tue Jul 31, 2001 7:46 am

Thanks Loren...

My previous host recommended against upgrading before, saying they had had
problems with version 5. But my new host says they haven't had any
problems, so I'm going to upgrade asap.

Thanks alot,

Kat
http://www.rexart.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B659B0B.4CF2D7E@yahoo.com...
Your store is using ShopSite 4.2. This problem was discovered after the
4.3
release and a patch was made for 4.3. So if you would like the fix you
would
need at least 4.3 with the patch, preferably 5.0.1, the latest version.

-Loren

P.S. here is what the readme says in the 4.3 patch directory on the
shopsite.com
anonymous ftp site:


customparser.pl Solution ID: S03951
The customparser.pl fixes a problem with custom
templates in v4.3 of ShopSite. The bug occurs
when
using custom page or product templates and the
word "if" is found in any text field for a page or
product. This would cause the parser to
terminate
parsing of that record so the data for that field
would not be inserted on the html page. Download
customparser.pl and replace the one found in the
ShopSite merchant (back office) CGI directory.


Katrina Morris wrote:

Hi Loren,

I've figured it out! It seems that if the text field contains the word
"if", it drops the text. It must think that it is an "if" statement,
even
when it is not encased in brackets. Interesting. I thought it was the
mailto reference, but that was simply in this text string:

P>If there is a particular size or type you are looking for, please<A
HREF="mailto:service@rexart.com"> e-mail us,</A> and <b>we will order,
or
make it for you!</b></p

Please let me know if there is a workaround for this problem.

Thanks,

Katrina

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B5C7DF3.8D4724D6@yahoo.com...
No, I have not heard of this happening before. Do the ones that are
being
dropped have quite a bit more text that the ones that are working?
Maybe
there
is some kind of buffer overflow? If you can find something in common
between the
ones that don't work then we could take a look. Thanks.

-Loren

Katrina Morris wrote:

Hi Loren,

Thank you!

Also, I've been having somewhat of a problem with the Text1 field
when
using
custom page templates. Some pages are dropping the Text1 field,
while
others are not. Have you run into this before?

Thanks,

Katrina
http://www.rexart.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3B54B2CA.C37CD2A9@yahoo.com...
From the ShopSite On-Line help at



http://www.shopsite.com/help/5.0/en-US/ ... /5.0/en-US
/install/custom.template.spec.html
:



--------------------------------------------------------------------------
------------

[-- PRODUCT.RecordNumber --]
Inserts the record number of the product. You can use this
tag to
create
HTML anchor tags to link directly to a specific product, such
as
a name="#[-- PRODUCT.RecordNumber --]"


--------------------------------------------------------------------------
-------------

Note that this is the 5.0 help so it is not guaranteed to work on
previous
versions unless you look it up in that version of the help and it
says
so
there.

-Loren



Katrina Morris wrote:

Hi all,

Is there a way to designate an <a name> reference for products
in
custom
templates? This is important, as when a search returns a
product,
it no
longer sends the user directly to the product, but rather just
to
that
page,
as an <a name> has not been generated. The search refers to the
product
#
that is uniquely assigned by Shopsite. Is there a command for
it in
product
templates, i.e.

[-- PRODUCT.ProductNumber --] ?

Would appreciate any feedback.

Thanks,

Katrina Morris
http://www.rexart.com

PS - Am LOVING custom templates!


Katrina Morris
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 3 guests