Re: [Zope3-Users] zpt pages though ZMI

2006-09-24 Thread Hassan Alirezaei
Hassan Alirezaei wrote: In my own skin I'm using span tal:replace=request/principal/titleUser/span with no problem for either zcml principals nor pau principals. Thanks Darryl, I got it working. span did the trick! I thought It did work Darryl But I had a small mistake in the template

[Zope3-Users] zpt pages though ZMI

2006-09-23 Thread Hassan Alirezaei
Hello everyone, Does anyone know the easiest way to let people (principals of a site) develop their own pages with no knowledge about zop3 structure? AFAIK The users need to make their own pages with HTML (more generally ZPT) and upload them as a ZPT page. I dont want my whole website skin

Re: [Zope3-Users] zpt pages though ZMI

2006-09-23 Thread Darryl Cousins
Hi, Your problem is in /home/hassan/HOMEPAGE2/modules/ISI/skin/template_tablelayout.pt and UnauthenticatedPrincipal does not have attribute 'title'. Check Boston skin template which first tests for authenticated user before calling request/principal/title. Regards, Darryl On Sun, 2006-09-24 at

Re: [Zope3-Users] zpt pages though ZMI

2006-09-23 Thread Hassan Alirezaei
Hi again Darryl, just to check something real quick, does Boston skin really check for authenticated principals??? I checked the main template and it looks like Boston is getting the request/principal/title in the same way as every other skin: div id=userDetails