[EMAIL PROTECTED] wrote:
>
> Hi there
>
> I have problem with the code posted here. A short description of the problem is,
>that all %%-%% calls are executed, with one exception; the %%show_item%% call.
> Did I do anything wrong? The original item.tpl file is okay, so it can't be my web-
>or newsserver which fails (IIS 5.0, DNEWS 5.4). Hobe You can help me!
It isn't obvious but basically %%show_item%% isn't a normal variable and
it must be put at the start of the line.
So if you change it so that the %%show_item%% is at the very beginning
of the line in the template it will
work fine.
e.g.
<TD>
%%h_subject%%<br>
%%h_date%%<br>
%%h_from%%<br>
%%h_newsgroups%%
%%show_item%%
</TD>
Regards,
Brian
--------------------------------------------------------------
Note: If you are using Dnewsweb version prior to 5.4f3 we recommend
you upgrade due to a potential security issue found in those versions.
Customer Support (private) -- [EMAIL PROTECTED]
Mailing list Support (public) -- [EMAIL PROTECTED]
Online Manual -- http://netwinsite.com/dnews/manual.htm
Netwinsite search engine -- http://www.netwinsite.com/find.htm
Online FAQ -- http://netwinsite.com/dnews/faq.htm
Mailing list archive --
http://www.netwinsite.com/cgi/dnewsweb.cgi?cmd=xover&group=netwin.dnews
ftp://ftp.netwinsite.com/pub/netwinsite
Note: To UNSUBSCRIBE from the dnews mailing list send
to [EMAIL PROTECTED] a message with the body
containing one line, unsubscribe
To post to the mailing list send to [EMAIL PROTECTED]
>
> Regards
> Kenneth
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <TITLE>%%group%% : %%h_subject%%</TITLE>
> <META NAME="Generator" CONTENT="EditPlus">
> <META NAME="Author" CONTENT="">
> <META NAME="Keywords" CONTENT="">
> <META NAME="Description" CONTENT="">
> </HEAD>
>
> <BODY BGCOLOR="#FFFFFF">
>
> <FORM METHOD=GET ACTION="%%b_action%%">
> <INPUT TYPE="hidden" NAME="utag" VALUE="%%utag%%">
> <INPUT TYPE="hidden" NAME="group" VALUE="%%group%%">
> <INPUT TYPE="hidden" NAME="xrelated" VALUE="%%item%%">
>
> <input name="cmd_related" type="submit" value="Related Items">
> <input name="cmd_latest" type="submit" value="Latest Items">
> <input name="cmd_follow" type="submit" value="Post Response">
> %%ifdef%%item_last%%
> <input name="cmd_last" type="submit" value="Last">
> %%endif%%
> %%ifdef%%item_next%%
> <input name="cmd_next" type="submit" value="Next">
> %%endif%%
> %%ifdef%%cancel%%
> <input name="cmd_cancel" type="submit" value="Cancel This Item">
> %%endif%%
>
> <TABLE>
> <TR>
> <TD>
> <TABLE>
> <TR>
> <TD> </TD>
> <TD> </TD>
> </TR>
> <TR>
> <TD>
> Emne:<br>
> Dato:<br>
> Afsender:<br>
> Nyhedsgruppe:
> </TD>
> <TD>
> %%h_subject%%<br>
> %%h_date%%<br>
> %%h_from%%<br>
> %%h_newsgroups%%
> %%show_item%%
> </TD>
> </TR>
> </TABLE>
> </TD>
> </TR>
> </TABLE>
> %%copyright%%
> </FORM>
>
> </BODY>
> </HTML>