David Riggs wrote:
> 
> This is a problem I'm running into using Zope 2.1.6 and PTK 0.7.1 on an
> NT machine...I plan on upgrading both as soon as the 2.2.1 bug fix is
> released...I believe the problem is just a syntax one...
> 
> I'm running into a snag trying to access the value of a property I've
> assigned to an instance of a ZClass...specifically, I've created a
> ZClass of meta-type Customize, and created an instance (also called
> Customize for simplicity) in each member's home folder. [for reference
> sake, PTK creates a folder in the path
> /ZopeRoot/PortalRoot/Members/UserName for each member] The instance has
> a long list of properties that I'd like to access and use as
> customization settings for each individual user.
> 

> Calling the property like this...
>       <dtml-var
> "AUTHENTICATED_USER.getHomeUrl()+'/Customize.some_property'">
> Yields the following string literal (which isn't what I need)
>         http://host:8080/Portal/Members/UserName/Customize.some_property

Try this instead (excuse mail wrapping ;-):
<dtml-var "AUTHENTICATED_USER.getHomeUrl()+'/'+Customize.some_property">

cheers,

Chris

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to