Hi Marius
thanks for the response. you are right that was a typo,
views/standard_macros is totaly wrong.
however, the problem still remains the same:
even
html metal:use-macro=context/@@standard_macros/page
/html
or
html metal:use-macro=template/@@standard_macros/page
/html
won't work. I
I have the same problem. I just know the problem is with the
principal_info macro and it only occurs when one is logged in with a PAU
principal (ZCML principals do fine as far as I remember).
Any ideas are appreciated!
Hass
David Johnson wrote:
Is there a way to use standard_macros in a ZPT
The situation is very simple. I have a fresh instance of zope3.
when I try to add a ZPT Page through ZMI and enter the following html
for the source:
html metal:use-macro=context/@@standard_macros/page
div metal:fill-slot=bodybla bla bla/div
/html
No error will occur during the adding of
.
Hass
FB wrote:
Hi,
On Sat, Nov 25, 2006 at 04:17:24AM +0900, Hassan Alirezaei wrote:
Hello guys,
I have a custom widget and I cannot manage to have a custom way of
displaying it after editing.
as far as I know, I should be registering the view for
form.interfaces.IDisplayWidget(for display
Hi Kapil , Thanks for the reply.
part of it depends not only registration of the custom display widget,
but also how your rendering the display, ie. if your using formlib,
just using a displayformbase should do it, if your using zope.app.form
directly you'll might also need to specify that you
FB wrote:
Hi,
On Sun, Nov 26, 2006 at 03:33:06AM +0900, Hassan Alirezaei wrote:
[snip]
Just one last question. if the template just uses str() then what does the
following zcml do? it is in the standard zope3 distribution under the
zope/app/form/browser/configure.zcml and I didn't
Hello guys,
I have a custom widget and I cannot manage to have a custom way of
displaying it after editing.
as far as I know, I should be registering the view for
form.interfaces.IDisplayWidget(for display) and
form.interfaces.IInputWidget(for editing).
I use the following zcml lines:
Sascha Ottolski wrote:
Am Samstag, 11. November 2006 15:56 schrieb Hassan Alirezaei:
But the real problem is when two users want to have different
translations for the same english word. for example one user might
define some-jp-equevalent for an english word but another user might
want
Hello zope3-users;
I am having the following situation but I can't find an elegant solution
for it.
I am having users signing up in my system. They will enter their
personal information(name, univ. major) in 2 (could be even more)
languages which will be saved in a PersonalInfo object:
And
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
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
there??? :)
regards,Hass
Hassan Alirezaei wrote:
Thanks Darryl
you were right about the title attribute of unauthenticated
principals. they don't have it.
I made another ZCML principal with a title and it works fine.
The problem still remains the same though for the principals in the
PAU. I
Hello zope3-users,
I am trying to do make easy user registrations for my website. but I am
having problems assigning roles to the principals automatically.
the question is WHEN should I assign these roles to the new principals?
which is the standard procedure?
right now I am doing :
1. User
hello guys.
I have been trying to make a homepage that users can register and have
their own pages which they can change their settings. I also want these
setting to be adjustable by the site owner as well.
I hear that I can not use Principal Annotations anymore because
principals are not
14 matches
Mail list logo