Smart Tags

This is an archive of old posting to the User Forum

Smart Tags

Postby A Stewart » Mon Apr 29, 2002 11:05 am

SC Pro 5.0.1

Do we need to close smart tags
e.g.
<rename="Ealing">...... </recname>

e.g.
<curdb="products">
.....
</curdb>


Ship
A Stewart
 

Re: Smart Tags

Postby loren_d_c » Mon Apr 29, 2002 11:05 am

No, closing tags aren't required. Can you cut-and-paste some of the
exact code that is not being replaced? Perhaps something from the
original custom page, and what that section of code looks like in the
resulting published page?

-Loren

A Stewart wrote:

SC Pro 5.0.1

Do we need to close smart tags
e.g.
rename="Ealing">...... </recname

e.g.
curdb="products"
....
/curdb

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

Re: Smart Tags

Postby A Stewart » Mon Apr 29, 2002 11:19 am

Loren

Here is a page that doesnt seem have the <recname> tags
being replaced properly.
Mind you, FWIW, the <curdb> tag seems to disappear okay.
Oh, BTW, I am using a dreamweaver template to help
generate the source HTML.



<HTML><!-- #BeginTemplate "/Templates/smart_html_sides_02.dwt" -->
<HEAD>
<TITLE>Shipton & Heneage Direct Mail Shoe Shop (UK) - </TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>

<BODY bgcolor="#FFFFFF" text="#000000" background="../images/bg_stripe_with_logo.gif" leftmargin="7" topmargin="8" marginwidth="7"
marginheight="8"><curdb="products">
<TABLE width="599" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD align="left" valign="top">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD><A href="../welcome.html"><IMG src="../images/small_logo.gif" width=80 height=62 border=0 alt="Home Page"></A></TD>
</TR>
<TR>
<TD><IMG src="../images/upper_shoe.gif" width=80 height=96 border=0 alt=""></TD>
</TR>
<TR>
<TD><!-- #BeginEditable "premium_region" --><A href="premium.html"><IMG src="images/premium.gif" width=80 height=30 border=0
alt="'Premium' - our top range shoes"></A><!-- #EndEditable --></TD>
</TR>
<TR>
<TD><!-- #BeginEditable "grade_region" --><A href="grade.html"><IMG src="images/grade_burg.gif" width=80 height=30 border=0
alt="'Grade' range - less expensive leather"></A><!-- #EndEditable --></TD>
</TR>
<TR>
<TD><!-- #BeginEditable "slippers_region" --><A href="slippers.html"><IMG src="images/slippers.gif" width=80 height=30 border=0
alt="Slippers"></A><!-- #EndEditable --></TD>
</TR>
<TR>
<TD><!-- #BeginEditable "sailing_region" --><A href="sailing.html"><IMG src="images/sailing.gif" width=80 height=30 border=0
alt="Sailing Shoes"></A><!-- #EndEditable --></TD>
</TR>
<TR>
<TD><!-- #BeginEditable "ladies_region" --><A href="ladies.html"><IMG src="images/ladies.gif" width=80 height=30 border=0
alt="Ladies Shoes and Boots"></A><!-- #EndEditable --></TD>
</TR>
<TR>
<TD><!-- #BeginEditable "socks_region" --><A href="socks.html"><IMG src="images/socks.gif" width=80 height=30 border=0
alt="Slippers"></A><!-- #EndEditable --></TD>
</TR>
<TR>
<TD><!-- #BeginEditable "accessories_region" --><A href="extras.html"><IMG src="images/extras.gif" width=80 height=30 border=0
alt="Extras"></A><!-- #EndEditable --></TD>
</TR>
<TR>
<TD><A href="http://www.shiptonandheneage.fr/en/home.html"><IMG alt=" Buy from our luxury store in Paris - Even higher quality!
" border=0 height=100 src="../images/lower_shoe_paris_but.gif" width=80></A></TD>
</TR>
</TABLE>
</TD>
<TD valign="top" align="center">
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR align="center">
<TD><A href="../why_us.html"><IMG src="../images/why_us.gif" width=96 height=62 border=0 alt="Why buy from us - how we're
different." hspace="3"></A></TD>
<TD><A href="../products.html"><IMG src="../images/products_semi.gif" width=96 height=62 border=0 alt="Buy from our catalogue
on-line." hspace="3"></A></TD>
<TD><A href="../sizing.html"><IMG src="../images/sizing.gif" width=96 height=62 border=0 alt="Sizing - will it fit ?"
hspace="3"></A></TD>
<TD height="3"><A href="../contact_us.html"><IMG src="../images/contact_us.gif" width=96 height=62 border=0 alt="Get in contact
with us." hspace="3"></A></TD>
<TD><A href="../search.html"><IMG src="../images/search.gif" width=96 height=62 border=0 alt="Search through our brochure."
hspace="3"></A></TD>
</TR>
</TABLE>
<TABLE width="100%" border="0" cellspacing="0" cellpadding="15">
<TR>
<TD align="left"><!-- #BeginEditable "top_body_region" -->
<P align="center"><IMG src="images/grade_brogues.gif" width="218" height="20" alt=" GRADE BROGUES "></P>
<DIV align="left"><FONT size="2">The brogue remains the English Gentleman's shoe of choice. Despite its ubiquitous presence
very few people are aware as to how this distinctive style arose.
</FONT></DIV>
<P align="left"><FONT size="2">Amazingly enough the holes were introduced in Scotland and Ireland in the 4th/5th Century. This
meant that the locals did not have to wander around with shoes full of water as they negotiated the sodden terrain of their
homeland! The holes became decorative and although from an evolutionary point of view obsolete this legacy exists today.</FONT></P>
<P align="left"><FONT size="2">Our GRADE range of shoes and boots are made from Side Leather, which is the leather from a
mature hide, unless otherwise stated.</FONT></P>
<P align="left"><FONT size="2">For&nbsp;<FONT color=#990066>more
information</FONT>&nbsp;on any of the products below&nbsp;<FONT
color=#990066>please click on the relevant
picture</FONT>.<BR>
</FONT></P>
<TABLE width="100%" border="0" cellspacing="0" cellpadding="11">
<TR>
<TD><A name="geali01"></A><recname="EALING (Black)"><A
href="g-eali01.html"><IMG
height=130 alt=Click&nbsp;for&nbsp;Further&nbsp;Information
hspace=20 src="images/g-eali01_200.jpg" width=200
align=left vspace=20 border=0></A></TD>
<TD><FONT size="2"><FIELD name="Product Description"><BR>
<BR>
</FONT>
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR>
<TD><A href="g-eali01.html"><IMG
height=44 alt= BACK src="images/more_info.gif" width=44 vspace=0 border=0 hspace="6"></A></TD>
<TD><order><IMG src="images/add_to_basket.gif" width="44" height="44" hspace="6" border="0"></order></TD>
</TR>
</TABLE>
<FONT size="2">
<BR>
</FONT></TD>
</TR>
<TR>
<TD><A name="2"></A><A
href="g-egha04.html"><recname="EGHAM (Black Suede)"><IMG
height=130 alt=Click&nbsp;for&nbsp;Further&nbsp;Information
hspace=20 src="images/g-egha04_200.jpg" width=200
align=left vspace=20 border=0></A></TD>
<TD><FONT size="2"><FIELD name="Product Description"><BR>
<BR>
</FONT>
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR>
<TD><A href="g-egha04.html"><IMG
height=44 alt= BACK src="images/more_info.gif" width=44 vspace=0 border=0 hspace="6"></A></TD>
<TD><ORDER><IMG src="images/add_to_basket.gif" width="44" height="44" hspace="6" border="0"></ORDER></TD>
</TR>
</TABLE>
<FONT size="2">
<BR>
</FONT></TD>
</TR>
<TR>
<TD><A name="gelgi02"></A><A
href="g-elgi02.html"><recname="ELGIN (Burgundy Polished)"><IMG
height=130 alt=Click&nbsp;for&nbsp;Further&nbsp;Information
hspace=20 src="images/g-elgi02_200.jpg" width=200
align=left vspace=20 border=0></A></TD>
<TD><FONT size="2"><FIELD name="Product Description"><BR>
<BR>
</FONT>
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR>
<TD><A href="g-elgi02.html"><IMG
height=44 alt= BACK src="images/more_info.gif" width=44 vspace=0 border=0 hspace="6"></A></TD>
<TD><ORDER><IMG src="images/add_to_basket.gif" width="44" height="44" hspace="6" border="0"></ORDER></TD>
</TR>
</TABLE>
<FONT size="2">
<BR>
</FONT></TD>
</TR>
<TR>
<TD><A name="genfi01"></A><A
href="g-enfi01.html"><recname="ENFIELD (Black)"><IMG
height=130 alt=Click&nbsp;for&nbsp;Further&nbsp;Information
hspace=20 src="images/g-enfi01_200.jpg" width=200
align=left vspace=20 border=0></A></TD>
<TD><FONT size="2"><FIELD name="Product Description"><BR>
<BR>
</FONT>
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR>
<TD><A href="g-enfi01.html"><IMG
height=44 alt= BACK src="images/more_info.gif" width=44 vspace=0 border=0 hspace="6"></A></TD>
<TD><ORDER><IMG src="images/add_to_basket.gif" width="44" height="44" hspace="6" border="0"></ORDER></TD>
</TR>
</TABLE>
<FONT size="2">
<BR>
</FONT></TD>
</TR>
<TR>
<TD><A name="geust03"></A><A
href="g-eust03.html"><recname="EUSTON (Havana Suede)"><IMG
height=130 alt=Click&nbsp;for&nbsp;Further&nbsp;Information
hspace=20 src="images/g-eust03_200.jpg" width=200
align=left vspace=20 border=0></A></TD>
<TD><FONT size="2"><FIELD name="Product Description"><BR>
<BR>
</FONT>
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR>
<TD><A href="g-eust03.html"><IMG
height=44 alt= BACK src="images/more_info.gif" width=44 vspace=0 border=0 hspace="6"></A></TD>
<TD><ORDER><IMG src="images/add_to_basket.gif" width="44" height="44" hspace="6" border="0"></ORDER></TD>
</TR>
</TABLE>
<FONT size="2">
<BR>
</FONT></TD>
</TR>
<TR>
<TD><A name="gcobhCHO"></A><A
href="g-cobh-CHO.html"><recname="COBHAM (Chocolate Suede)"><IMG
height=130 alt=Click&nbsp;for&nbsp;Further&nbsp;Information
hspace=20 src="images/g-cobh-CHO_200.jpg" width=200
align=left vspace=20 border=0></A></TD>
<TD><FONT size="2"><FIELD name="Product Description"><BR>
<BR>
</FONT>
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR>
<TD><A href="g-cobh-CHO.html"><IMG
height=44 alt= BACK src="images/more_info.gif" width=44 vspace=0 border=0 hspace="6"></A></TD>
<TD><ORDER><IMG src="images/add_to_basket.gif" width="44" height="44" hspace="6" border="0"></ORDER></TD>
</TR>
</TABLE>
<FONT size="2">
<BR>
</FONT></TD>
</TR>
</TABLE>
<P>&nbsp;
</P>
<!-- #EndEditable --></TD>
</TR>
</TABLE>
<IMG src="../images/any_worries.gif" width=518 height=44 border=0 alt="" vspace="5"><BR>
<A href="#top"><IMG src="../images/top.gif" width=44 height=44 border=0 alt="Top of This Page" vspace="12"></A><BR>
<BR>
<BR>
<FONT size="-2" color="#999999">Copyright &copy; 1999-2002 Shipton & Heneage Shoes Ltd. (UK) <BR>
Photography: <A href="mailto:karen.ward@shiphen.com">karen.ward@shiphen.com</A><BR>
Web Design: <A href="mailto:alec@venus.co.uk">alec@venus.co.uk</A><BR>
Last Updated: 29th Apr 2002</FONT><FONT color="#999999"><BR>
</FONT>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</TD>
</TR>
<TR>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
</BODY>
<!-- #EndTemplate --></HTML>


The page in question is in fact here:
source:
http://www.shiptonandheneage.com/smarth ... ogues.html
output
http://www.shiptonandheneage.com/grade_brogues.html

(But because I am still working on it, it may
have changed by the time you look there!)

Ship
A Stewart
 

Re: Smart Tags

Postby A Stewart » Tue Apr 30, 2002 10:04 am

I tried a two liner smart html file that just said

<curdb="products">
<rename="Ealing">

And shopsite stripped out the curdb but left the recname!!

Dont worry I have now abandoned the <recname> tag
completely because it screws up browsers if it is left
behind. I now use the parameter record="...."
e.g. within the <order> tag but it's much messier and more
work for me!


Ship



"Loren" <loren_d_c@yahoo.com> wrote in message news:3CCD8A09.263EBDDC@yahoo.com...
No, closing tags aren't required. Can you cut-and-paste some of the
exact code that is not being replaced? Perhaps something from the
original custom page, and what that section of code looks like in the
resulting published page?

-Loren

A Stewart wrote:

SC Pro 5.0.1

Do we need to close smart tags
e.g.
rename="Ealing">...... </recname

e.g.
curdb="products"
....
/curdb

Ship
A Stewart
 

Re: Smart Tags

Postby loren_d_c » Tue Apr 30, 2002 11:53 am

Ship,

I tried the same thing and it worked. Except I spelled 'recname' with a 'c' instead of
'rename'. My resulting file looked like (between the '-'):

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


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

There are a few little things that someone can do to screw up the tags besides
misspellings, the other day I saw a case where someone forgot to put a closing quote
after one of the values and that screwed up the parsing of the file for the rest of
that page.

-Loren


A Stewart wrote:

I tried a two liner smart html file that just said

curdb="products"
rename="Ealing"

And shopsite stripped out the curdb but left the recname!!

Dont worry I have now abandoned the <recname> tag
completely because it screws up browsers if it is left
behind. I now use the parameter record="...."
e.g. within the <order> tag but it's much messier and more
work for me!

Ship

"Loren" <loren_d_c@yahoo.com> wrote in message news:3CCD8A09.263EBDDC@yahoo.com...
No, closing tags aren't required. Can you cut-and-paste some of the
exact code that is not being replaced? Perhaps something from the
original custom page, and what that section of code looks like in the
resulting published page?

-Loren

A Stewart wrote:

SC Pro 5.0.1

Do we need to close smart tags
e.g.
rename="Ealing">...... </recname

e.g.
curdb="products"
....
/curdb

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

Re: Smart Tags

Postby A Stewart » Tue Apr 30, 2002 12:17 pm

Loren

Genius! Sometime you just get too darned close to a problem.
Thanks


Ship


"Loren" <loren_d_c@yahoo.com> wrote in message news:3CCEE81B.8E032CDD@yahoo.com...
Ship,

I tried the same thing and it worked. Except I spelled 'recname' with a 'c' instead of
'rename'. My resulting file looked like (between the '-'):

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


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

There are a few little things that someone can do to screw up the tags besides
misspellings, the other day I saw a case where someone forgot to put a closing quote
after one of the values and that screwed up the parsing of the file for the rest of
that page.

-Loren


A Stewart wrote:

I tried a two liner smart html file that just said

curdb="products"
rename="Ealing"

And shopsite stripped out the curdb but left the recname!!

Dont worry I have now abandoned the <recname> tag
completely because it screws up browsers if it is left
behind. I now use the parameter record="...."
e.g. within the <order> tag but it's much messier and more
work for me!

Ship

"Loren" <loren_d_c@yahoo.com> wrote in message news:3CCD8A09.263EBDDC@yahoo.com...
No, closing tags aren't required. Can you cut-and-paste some of the
exact code that is not being replaced? Perhaps something from the
original custom page, and what that section of code looks like in the
resulting published page?

-Loren

A Stewart wrote:

SC Pro 5.0.1

Do we need to close smart tags
e.g.
rename="Ealing">...... </recname

e.g.
curdb="products"
....
/curdb

Ship

A Stewart
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 23 guests