On Tue, 27 Jun 2000, Emiliano wrote:

> 
> > code-init: 
> 
> This is good. Here's what I overlooked the first time:
> 
> ($a = mgd_list_topic_articles($topic->id)))  { ?>
>   <p><? while ($a->fetch(12))
>     printf('<a href="%d.html">%s</a><br>%s',
>       $a->id, 69: $a->title ? htmlentities($a->title) : ('article #' . 
>       $a->id),
>       "\n"); ?>
> </p>
> <? } ?>
> 
> With this printfthe generated urls will point to the topic fetching page
> where you want the article. Try '<a href="/article/%d.html"%s</a><br>%s'
> instead. There needs to be an active page /article that does something
> usefull of course.
> 
Yes, at last something works (grea thanx Emile!) but I wrote <a href
"article/..." any other way it points to main page again. I was worried a
little because when I tried to read article on demo site I had
"authorization required". "So anyway" I changed the prermission for
articles on demo site. Now it works. Friendly speaking I'm tired this
"topics and articles", and I think you too ;))
Once again great thanx!
Few days more and I will more understand midgard!

Piotras




--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to