. These are the
names of columns. Zope is blowing chuncks, because the
parsed call is actually:
SET 'resp1' = last_insert_id(+1)
and ZMySQL needs to have the value passed in as
SET resp1 = . . .
(i.e., without the quotes).
Has anyone had a problem with this?
the syntax error. : (
Thanks for helping out here.
Have you tried using just dtml-var instead of dtml-sqlvar? The
sqlvar version I think automatically adds the quotation marks.
have been having trouble getting any of the various
MySQL modules (either for zope or for python) to build on
RedHat -- I'm growing increasingly impatient with redhat it
seems to be getting more microsoftish with each new release.
Darin Lee wrote:
import a dtml
document, and pull up the edited file into zope. When you
try to submit the 'change' command, the zope parser will
throw out any errors, etc.
"Henny van der Linde" [EMAIL PROTECTED] wrote:
...Zope forces you often to go
/opt/zope/Extensions/ called strip_blanks.py. You can
attach it to your zope session, then it is called via:
This will at least strip all the trailing blanks from an
Paul Abrams wro
Terry Babbey wrote:
Here is my code:
dtml-if "_[ProgCode + 'PIC']"
dtml-var "_[ProgCode + 'PIC']"
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
ly sketchy as to how the whole
authentication process works, and i have seen many questions posted
Zope maillist - [EMAIL PROTECTED]
** No cross pos
would have been really useful.
Thanks for your contribution.
Fiona Czuczman wrote:
A couple of weeks ago I wrote to the list regarding setting up a FAQ for
zope. It is in the beginning stages -
I've been busy
steve smith wrote:
Anyone have any good, real-world examples using DTML-Sendmail tags? Would
especially appreciate examples integrating SQL queries.
one of the worst things with zope sendmail is that you cannot indent
things the way you might with clean coding use. but, you can
you can use the zope send mail method to pull data from a database. the
is with pulling in the text. sendmail appears to send only literal
text, i.e., it does not parse html markup. we are using a mysql
database to pull text and a second to pull names and emails, etc. to
with the exception of xml parsing (i think it's doable though
complicated), i don't think php offers anything that zope won't do.
i've been writing dtml methods and documents that do everything i once
did with php.
I wondered, whether it's
in your zsql method, you can order by several variables in the same
so you can do it all in one method.
Yvonne Totty wrote:
Yes, that is what I am doing, however was wanting
to not have to write several Z SQL Methods. 8
Andy McKay wrote:
BTW: Im not a Unix guru but I dont think having everythin 777 is the most
secure way of maintaining your installation...
Andy McKay, Developer.
Hi Andy, actually, if you are talking about permissions, this setting gives
anyone in the world read
Mail list logo