[Radiant] conditional display of image
Mathieu Arnold
mat at mat.cc
Fri Oct 12 08:26:40 CDT 2007
+-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.
--
Mathieu Arnold
More information about the Radiant
mailing list