[Radiant] conditional display of image
Mathieu Arnold
mat at mat.cc
Fri Oct 12 08:30:49 CDT 2007
+-le 12.10.2007 15:26:40 +0200, Mathieu Arnold a dit :
| +-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.
Hum, maybe I should show what I mean :
http://w.mat.cc/
and
http://w.mat.cc/articles/2007/10/06/a-vif-une-touche-d-humanite/
That is, having a smaller image on the home page so that it does not take too
much room.
Regards,
--
Mathieu Arnold
More information about the Radiant
mailing list