You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Matthew Holt <mh...@redhat.com> on 2006/06/13 19:01:47 UTC

[Fwd: Re: Roller LDAP Support]


[Issue or not?]

Posted by Er...@sanofipasteur.com.
Hi all,

Was trying to make a template for a blog.
I want to have a block on the right, with special categories, and show a
list of those categories with the last article of each on it. This block
must appear in the same way on all pages.

So i created a category named "right", and my sub-categories under it.

Then, i get the list of all categories in right, 
And then, for each of this category, i call the method
$pageModel.getRecentWeblogEntriesArray(1, $cat.Path)
(The documentation says you must use the name of the category, but
looking at the sources, i found out that we need the path).

So this work on the home page on the blog.
But, when i go to a category, it doesn't : the categories name are ok,
but all the last articles are the same : the last of the current
category.
When i look at the sources, it is normal because the called method first
take the category from the request, and then from the call to the
method!
Isn't this strange?

Is there an other way to do what i want (except of making a new method)
?

Regards

Eric
-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage exclusif du destinataire (des destinataires) et peut contenir des informations privilegiees, confidentielles, exemptees de divulgation selon la loi ou protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute utilisation, divulgation, distribution, reproduction, examen ou copie (totale ou partielle) est non-autorisee et peut etre illegale. Tout message electronique est susceptible d'alteration et son integrite ne peut etre assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of the addressee(s) and may contain confidential information including trade secrets which are privileged, confidential, exempt from disclosure under applicable law and/or subject to copyright. If you are not an intended recipient, any use, disclosure, distribution, reproduction, review or copying (either whole or partial) is unauthorized and may be unlawful. E-mails are susceptible to alteration and their integrity cannot be guaranteed.Sanofi Pasteur shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion. Thank you."
**********************************************************************