on 2/14/01 12:25 AM, Alan Knowles at [EMAIL PROTECTED] wrote:

>> <? mgd_include_snippet("/hklc_news_simple/newsbody"); ?>
> this should go in the style element <[news]>

Done.

> you should then put  <[news]> into the body of the page (and make sure it's
> style is using the news style)

Done.

> You may have to go in as system admin and change master news to a shared style
> (its on the details tab)

Done.

> did you set the number of articles to display -
> and create a new style based on master news.. (need to do the bit above first
> probably)

Done.

And here are the results:

On my ROOT page I end up getting the <[summary_item]> instead of the
<[news]>. The text displayed on this page is:

Title : First Article
Abstract of Article 1

And the url link seems to be wrong because it simply displays the same page
as the ROOT page when clicked. ie;
http://www.accollarts.net/artmetal//ROOT/Article1.html

Note the two //! When I create a sub-page and include the <[news]> tag, then
the <[summary_item]> is displayed and when the link is clicked, I get the
correct article. What I can't understand is why I am getting the
summary-item. I noticed in the <[news]> style which references the snippet
/hklc_news_simple/newsbody that there are references to other elements like
<[fullindex_header]> which are not part of the Master News Style. How do I
reference them?

>> Now, I know I'm not using master newsStyles because they don't seems to work
>> properly. So I'm trying to use the snippet instead, but I'm missing
>> something. Can anyone help me with this problem? Am I making any sense?
> 
> I'll have another look at the documentation there - I think one of the
> problems is that it was written for the previous version and repligard did not
> export parameters...

Here is what my master news style looks like after I upgraded:

master news
news
<[ROOT]>
test
<[ROOT]>
<[ROOT]>
<[article_item]>
<[article_item_mail]>
<[article_item_print]>
<[article_print_format]>
<[fullindex_item]>
<[index_item]>
<[news]>
<[news_index]>
<[news_with_print]>
<[no_news]>
<[summary_item]>

Note that <[news]> contained other code and I changed it to include only the
following:

<? mgd_include_snippet("/hklc_news_simple/newsbody"); ?>

This is correct, right?

Is something wrong with the master news I have? If so, how do I correct it?

thanks!

enrique


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to