Hi All,
I'm a complete newbie on pier, although I have some experience on
general seaside, so, excuse me if I ask siple questions... I didn't
find them on the list, so, maybe there are too easy.
I'm trying to make the website for may company, and of course, I
don't want it looks like a wiki, I want it looks professional, like
lukas page (http://www.lukas-renggli.ch/) or "kamikaze" page (http://
kamikaze.seasidehosting.st)
After this long introduction, here is my first question:
How do I hide sidebar for general users, and allow it for "admin" users?
I can took off +sidebar+ div from "environment " template... but then
I don't have the commands for admins neither.
And here is another dumb question: Is there a way to have
"childrens" (from a children component) in a specific order?
Thanks in advance,
Esteban
"Querer es suscitar las paradojas"
Camus - El mito de Sísifo
Hi Damien,
> I have some questions:
>
> - why do you use random numbers in PRMailLink>>urlEntry?
The class comment of PRMailLink says it all: "I am an external link
pointing to a mail address. I encode my URL to prevent spam bots
collecting the address."
> - why is it not possible to use #mailto: in WAAnchorTag in Seaside
> anymore (it's deprecacted)?
It is useless, isn't it? The attribute and the body of the tag require
different encoding anyway and this is only possible when using a
propre URL object.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
Hi,
Here is what I did:
- I downloaded the latest Seaside.app
- Started Pier in the browser
- Edit Design
- Save
This results in a page that shows the pages referenced in the
Environment as missing.
The problem seems to be that the relative links in the Environment are
now solved differently. Before, they were solved relative to the
Environment, but now they seem to be solved relative to the page from
where I invoke Edit Design.
I figured this out because if you sy Edit Design from the Environment
page, the links are resolved correctly :).
So, is this the intended behavior? If it is, it means that we have to
specify the Environment with absolute links.
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Sometimes the best solution is not the best solution."