Here is my code:
dtml-if "_[ProgCode + 'PIC']"
dtml-var "_[ProgCode + 'PIC']"
/dtml-if
What I would like to do is align the picture to the right of my web
page. If I was programming html I would do it like this: img
src=T043PIC align=right
Any help?
Terry
--
Terry Babbey wrote:
Here is my code:
dtml-if "_[ProgCode + 'PIC']"
dtml-var "_[ProgCode + 'PIC']"
/dtml-if
You might create a dtml variable with a dtml call, e.g.,
dtml-call "REQUEST.set('image1', _[ProgCode + 'PIC']"
Then use your image html tag as
img src="dtml-var
I get an error message when I try your code.
Expression (Python) Syntax error:
unexpected EOF while parsing
, for tag dtml-call "REQUEST.set('image1', _[ProgCode + 'PIC']", on
line 32 of
display_html
Gregory Haley wrote:
Terry Babbey wrote:
Here is my code:
dtml-if "_[ProgCode +
On Wed, 12 Jul 2000, Terry Babbey wrote:
Here is my code:
dtml-if "_[ProgCode + 'PIC']"
dtml-var "_[ProgCode + 'PIC']"
/dtml-if
What I would like to do is align the picture to the right of my web
page. If I was programming html I would do it like this: img
src=T043PIC align=right
This worked.
Now if only I could get my dtml-if statement working.
Thanks,
Terry
"R. David Murray" wrote:
On Wed, 12 Jul 2000, Terry Babbey wrote:
Here is my code:
dtml-if "_[ProgCode + 'PIC']"
dtml-var "_[ProgCode + 'PIC']"
/dtml-if
What I would like to do is align the picture to
and see if you can add ALIGN.
Good luck. Please keep us posted if any success. :)
- Original Message -
From: Terry Babbey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 12, 2000 8:24 PM
Subject: [Zope] Aligning Images With Text
Here is my code:
dtml-if "_[ProgCode +
quot;Terry Babbey" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: July 12, 2000 12:24 PM
Subject: [Zope] Aligning Images With Text
Here is my code:
dtml-if "_[ProgCode + 'PIC']"
dtml-var "_[ProgCode + 'PIC']"
/dtml-if
What I would like to do is align the picture to the
On Wed, 12 Jul 2000, Terry Babbey wrote:
Now if only I could get my dtml-if statement working.
dtml-if "_[ProgCode + 'PIC']"
I believe this should work (mostly tested):
dtml-if "_.has_key(ProgCode + 'PIC')"
Note that this will be true if the id exists anywhere in the
acquisition path.
On Wed, 12 Jul 2000, Peter Be wrote:
If you use .tag you can only control ALT, HEIGHT, WIDTH and BORDER
Look for these things in the Image module and see if you can add ALIGN.
As far as I can see from the source, tag should handle arbitrary
arguments. The comments certainly say that it does.
Thanks again. Works!
"R. David Murray" wrote:
On Wed, 12 Jul 2000, Terry Babbey wrote:
Now if only I could get my dtml-if statement working.
dtml-if "_[ProgCode + 'PIC']"
I believe this should work (mostly tested):
dtml-if "_.has_key(ProgCode + 'PIC')"
Note that this will be true
10 matches
Mail list logo