On Fri, 12 Oct 2007 15:26:40 +0200
Mathieu Arnold <[EMAIL PROTECTED]> wrote:

> +-le 12.10.2007 13:37:30 +0200, Aitor Garay-Romero a dit :
> |   >The strange thing, it that I don't always get a "request"
> object, and I'm |   >wondering if there could be a better way to do
> that, the main point being | "is
> |   >the page being displayed is the page I belong too".
> | 
> |    Sorry, i don't quite understand the question.  The code you
> post, is in a | page, snippet or layout?
> 
> The code I post is in a page part.
> I'm wondering if I could do something like tags.locals.page.id ==
> self.id. And after a few though, I could/should maybe make two parts,
> one that would show on the page and one that would show in the
> Archive index.
> 

You should get the request object from tags.globals.page, not
tag.locals.page.

Dan.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to