<built-in function id> in structured-text?
Can somebody point me to documents about the <built-in function id> Which is found created by CMF. It render to the member's name. What else function is available? __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
How can we reproduce that ? Andreas ----- Original Message ----- From: "kent sin" <kentsin@yahoo.com> To: <zope@zope.org> Sent: Thursday, October 18, 2001 05:45 Subject: [Zope] <built-in function id> in structured-text?
Can somebody point me to documents about the
<built-in function id>
Which is found created by CMF. It render to the member's name. What else function is available?
__________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org 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 )
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine. this is nothing major, but any thoughts on this are appreciated Regards, Jerry Lake Interface Engineering Technician
Welcome to the zope community! What you are looking for is <dtml-var "Images.ZacmeLogo"> hth Laurie PS If you want to do fancy things with it have a look at the tag property of images -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine. this is nothing major, but any thoughts on this are appreciated Regards, Jerry Lake Interface Engineering Technician _______________________________________________ Zope maillist - Zope@zope.org 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 )
<dtml-var "Images.ZacmeLogo"> So how do you make it work if Zamelogo is Zacmelogo.gif? (so you can ftp bulk graphics into a folder and maintain the extension for external file access and Zope access) <dtml-var "Images.ZacmeLogo.gif"> This doesnt work... -Trevor
Welcome to the zope community!
What you are looking for is
<dtml-var "Images.ZacmeLogo">
hth
Laurie PS If you want to do fancy things with it have a look at the tag property of images
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine.
this is nothing major, but any thoughts on this are appreciated
Regards,
Jerry Lake Interface Engineering Technician
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
In that case you need to do the following <dtml-var "Images['ZacmeLogo.gif']"> hth Laurie -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Trevor Toenjes Sent: Thursday, October 18, 2001 1:36 PM To: Laurie Nason; Jerry Lake; zope@zope.org Subject: RE: [Zope] dtml-var question regarding images
<dtml-var "Images.ZacmeLogo"> So how do you make it work if Zamelogo is Zacmelogo.gif? (so you can ftp bulk graphics into a folder and maintain the extension for external file access and Zope access) <dtml-var "Images.ZacmeLogo.gif"> This doesnt work... -Trevor
Welcome to the zope community!
What you are looking for is
<dtml-var "Images.ZacmeLogo">
hth
Laurie PS If you want to do fancy things with it have a look at the tag property of images
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine.
this is nothing major, but any thoughts on this are appreciated
Regards,
Jerry Lake Interface Engineering Technician
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
<dtml-var "Images['ZacmeLogo.gif']"> COOL!! I guess I missed that in basic zope trix. mucho danke, -Trevor
-----Original Message----- From: Laurie Nason [mailto:laurien@blake.3dem.bioch.bcm.tmc.edu] Sent: Thursday, October 18, 2001 2:49 PM To: Trevor Toenjes; Laurie Nason; Jerry Lake; zope@zope.org Subject: RE: [Zope] dtml-var question regarding images
In that case you need to do the following
<dtml-var "Images['ZacmeLogo.gif']">
hth Laurie
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Trevor Toenjes Sent: Thursday, October 18, 2001 1:36 PM To: Laurie Nason; Jerry Lake; zope@zope.org Subject: RE: [Zope] dtml-var question regarding images
<dtml-var "Images.ZacmeLogo"> So how do you make it work if Zamelogo is Zacmelogo.gif? (so you can ftp bulk graphics into a folder and maintain the extension for external file access and Zope access) <dtml-var "Images.ZacmeLogo.gif"> This doesnt work... -Trevor
Welcome to the zope community!
What you are looking for is
<dtml-var "Images.ZacmeLogo">
hth
Laurie PS If you want to do fancy things with it have a look at the tag property of images
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine.
this is nothing major, but any thoughts on this are appreciated
Regards,
Jerry Lake Interface Engineering Technician
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
make it: <dtml-var "Images['ZacmeLogo.gif']"> Robert ----- Original Message ----- From: "Trevor Toenjes" <zope@toenjes.com> To: "Laurie Nason" <laurien@blake.3dem.bioch.bcm.tmc.edu>; "Jerry Lake" <jerryl@europa.com>; <zope@zope.org> Sent: Thursday, October 18, 2001 8:36 PM Subject: RE: [Zope] dtml-var question regarding images
<dtml-var "Images.ZacmeLogo"> So how do you make it work if Zamelogo is Zacmelogo.gif? (so you can ftp bulk graphics into a folder and maintain the extension for external file access and Zope access) <dtml-var "Images.ZacmeLogo.gif"> This doesnt work... -Trevor
Welcome to the zope community!
What you are looking for is
<dtml-var "Images.ZacmeLogo">
hth
Laurie PS If you want to do fancy things with it have a look at the tag property of images
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine.
this is nothing major, but any thoughts on this are appreciated
Regards,
Jerry Lake Interface Engineering Technician
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
<dtml-with Images> <dtml-with Zacmelogo.gif> </dtml-with> On Thu, 18 Oct 2001 14:36:17 -0400 "Trevor Toenjes" <zope@toenjes.com> wrote:
<dtml-var "Images.ZacmeLogo"> So how do you make it work if Zamelogo is Zacmelogo.gif? (so you can ftp bulk graphics into a folder and maintain the extension for external file access and Zope access) <dtml-var "Images.ZacmeLogo.gif"> This doesnt work... -Trevor
Welcome to the zope community!
What you are looking for is
<dtml-var "Images.ZacmeLogo">
hth
Laurie PS If you want to do fancy things with it have a look at the tag property of images
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine.
this is nothing major, but any thoughts on this are appreciated
Regards,
Jerry Lake Interface Engineering Technician
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Oops <dtml-with Images> <dtml-var Zacmelogo.gif> </dtml-with> On Thu, 18 Oct 2001 19:43:56 -0400 Phil Harris <phil.harris@zope.co.uk> wrote:
<dtml-with Images> <dtml-with Zacmelogo.gif> </dtml-with>
On Thu, 18 Oct 2001 14:36:17 -0400 "Trevor Toenjes" <zope@toenjes.com> wrote:
<dtml-var "Images.ZacmeLogo"> So how do you make it work if Zamelogo is Zacmelogo.gif? (so you can ftp bulk graphics into a folder and maintain the extension for external file access and Zope access) <dtml-var "Images.ZacmeLogo.gif"> This doesnt work... -Trevor
Welcome to the zope community!
What you are looking for is
<dtml-var "Images.ZacmeLogo">
hth
Laurie PS If you want to do fancy things with it have a look at the tag property of images
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine.
this is nothing major, but any thoughts on this are appreciated
Regards,
Jerry Lake Interface Engineering Technician
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Sorry, I should have qualified. ;) Is there a oneliner like <dtml-var "Images.ZacmeLogo.gif"> that doesnt use dtml-with? I went back to using HTML<img src=> just for readability. A DTML-page looks ugly if every image is referenced using dtml-with. Can you alter the delimiter from "." to something else, so file extensions can be retained? -Trevor newbie imagination: or <dtml-img expr="images/mypic.gif"> that would render the absolute URL and all tags with **kw options. 8p
-----Original Message----- From: Phil Harris [mailto:phil.harris@zope.co.uk] Sent: Thursday, October 18, 2001 7:47 PM To: Phil Harris Cc: zope@toenjes.com; laurien@blake.3dem.bioch.bcm.tmc.edu; jerryl@europa.com; zope@zope.org Subject: Re: [Zope] dtml-var question regarding images
Oops
<dtml-with Images> <dtml-var Zacmelogo.gif> </dtml-with>
On Thu, 18 Oct 2001 19:43:56 -0400 Phil Harris <phil.harris@zope.co.uk> wrote:
<dtml-with Images> <dtml-with Zacmelogo.gif> </dtml-with>
On Thu, 18 Oct 2001 14:36:17 -0400 "Trevor Toenjes" <zope@toenjes.com> wrote:
<dtml-var "Images.ZacmeLogo"> So how do you make it work if Zamelogo is Zacmelogo.gif? (so you can ftp bulk graphics into a folder and maintain the extension for external file access and Zope access) <dtml-var "Images.ZacmeLogo.gif"> This doesnt work... -Trevor
Welcome to the zope community!
What you are looking for is
<dtml-var "Images.ZacmeLogo">
hth
Laurie PS If you want to do fancy things with it have a look at the tag property of images
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry Lake Sent: Thursday, October 18, 2001 1:08 PM To: zope@zope.org Subject: [Zope] dtml-var question regarding images
I'm just learning Zope, I apologize if this is a FAQ. I've created a folder "ZAcme" from the tutorial and in that I created an images folder for my personal organization, how can I call the logo image I put in the images folder via a dtml-var when the folder is below the root ? <dtml-var Images/ZAcmeLogo> does not seem to work whereas I can call it via an <img> tag <img src=Images/ZAcmeLogo> just fine.
this is nothing major, but any thoughts on this are appreciated
Regards,
Jerry Lake Interface Engineering Technician
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Great, thanks. in retrospect, I should have realized the object oriented nature...you know how hindsight goes... Regards, Jerry Lake Interface Engineering Technician
I just create the cmf site, I think I select to create member directory and go directory to the member dir. After then, I join cmf. Under the newly created member directory there is an index_html. That index_html contain the tag <built-in function id> when the user go to their own home, the index_html got display, and the above tag display as the member's id ----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: "kent sin" <kentsin@yahoo.com>; <zope@zope.org> Sent: Thursday, October 18, 2001 6:32 PM Subject: Re: [Zope] <built-in function id> in structured-text?
How can we reproduce that ?
Andreas ----- Original Message ----- From: "kent sin" <kentsin@yahoo.com> To: <zope@zope.org> Sent: Thursday, October 18, 2001 05:45 Subject: [Zope] <built-in function id> in structured-text?
Can somebody point me to documents about the
<built-in function id>
Which is found created by CMF. It render to the member's name. What else function is available?
__________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org 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 )
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Fri, Oct 19, 2001 at 07:53:29AM +0800, Sin Hang Kin wrote:
I just create the cmf site, I think I select to create member directory and go directory to the member dir.
After then, I join cmf. Under the newly created member directory there is an index_html.
That index_html contain the tag <built-in function id>
when the user go to their own home, the index_html got display, and the above tag display as the member's id
Sorry but I can't reproduce that. Andreas
participants (8)
-
Andreas Jung -
Jerry Lake -
kent sin -
Laurie Nason -
Phil Harris -
Robert Rottermann -
Sin Hang Kin -
Trevor Toenjes