[ List Archives Home ] [ Thread index for 2008 ]
[ Date index for 2008 ]
[ Author index for 2008 ]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- Date: Wed, 01 Aug 2001 11:27:57 -0700
- From: "David Jones" <DJones@xxxxxxxxxx>
- Subject: Re: Help With SRCHHELP_X page and tokens
>>> Anne.Walsh@xxxxxxxxxx 07/31/01 01:59PM >>>
I am not a HTML guru but I thought I knew how to use Dreamweaver until
Innovative thru their pages at me.
<<<
Anne,
One thing to keep in mind is that Dreamweaver by default will reformat your HTML. There is a preference setting called "HTML Format" with options to "Indent" the HTML based on tables, paragraphs and what-not.
If that is turned on and if your page has any kind of structured formatting, then your tokens will very off end up not starting as the first character on a line or my have extra HTML following the token. Both of these will ruin a token as far as the Innovative web server is concerned.
Basically a token will only work if it is:
1) a valid token, entered as a HTML comment with no spaces between the element and the tags (and don't forget the curly braces! see #102136 for the valid tokens (r2001 web manual))
<!--{search}--> is valid
<!-- {search --> is not
2) starts with the first character on a line
<!--{search}--> is valid
<!--{search}--> is not
3) is the only text on the whole line
<!--{search}-->
is valid
<!--{search}--><some other html> or someother text
is not valid
Dreamweaver makes it hard to follow these pretty nonstandard rules (I can't think of another server-side include model that has anything even remotely similar), so I always edit the page in dreamweaver and then edit again in a plain HTML editor (notepad, BBedit, etc) just to place the tokens.
HTH,
David
--
This message was distributed through the Innovative Users Group INNOPAC list.
Private replies: "David Jones" <DJones@xxxxxxxxxx>
Public replies: INNOPAC@xxxxxxxxxx
Archives: http://innopacusers.org/list/archives/