Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [ic] item-field and interpolate



On Thu, 20 Dec 2001, Bob Ramstad wrote:

>    [strip reparse=1][item-field comment][/strip]
>
> I tried this, with no luck.  Upon further examination, I discovered
> that somehow the left bracket is getting changed to [ presumably
> making it so that Interchange doesn't see the right value.  Odd.  When
> I do a manual select out of the database using mysql from the command
> line, it appears the same.
>
> e.g. in comment for this particular item, I have:
>
> <MAP NAME="ccnavmap">
> <AREA SHAPE="rect" COORDS="0,0,91,14"
>   HREF="\[area samplers\]" ALT="Samplers">
> <AREA SHAPE="rect" COORDS="93,0,184,14"
>   HREF="[area spaceage]" ALT="Space Age">
>
> This appears this way in both the admin UI and when using mysql from
> the command line.
>
> Both
>
> [item-field comment]
>
> AND
>
> [strip reparse=1][item-field comment][/strip]
>
> in flypage.html produce the same output:
>
> <MAP NAME="ccnavmap">
> <AREA SHAPE="rect" COORDS="0,0,91,14"
>   HREF="\&#91;area samplers\]" ALT="Samplers">
> <AREA SHAPE="rect" COORDS="93,0,184,14"
>   HREF="&#91;area spaceage]" ALT="Space Age">

Oh, *that* problem. :) You need to set [pragma safe_data] somewhere on the
page, or put that section inside a [tag pragma safe_data] ... [/tag]
block. I think.

Jon

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: