Re: [Zope] newbie Q. DTML syntax

2000-05-31 Thread Nick Garcia
e title to the object AUTHENTICATED_USER, which is why it's always returning false. The correct comparison above would be: dtml-if "(_['sequence-item'].title == AUTHENTICATED_USER.getUserName())" The getUserName function of the AUTHENTICATED_USER object returns a string containing the use

Re: [Zope] !--#var title-- = Zope ?!

2000-06-06 Thread Nick Garcia
that don't work either. And if I am correct; dtml-var title_or_id yields the same results as !--var title_or_id-- right? Yes, that is correct. I think what you want is dtml-var document_title which should get you the title of the document whether it's a DTML Method or a DTML Document. -- Nick Garci

Re: [Zope] Facing problems with MySQLDA

2000-06-16 Thread Nick Garcia
established, you can create Z SQL Methods. -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Namespace question

2000-06-29 Thread Nick Garcia
You should be able to do: dtml-with "folder11.folder111" tddtml-var "mtdCreate(_.None, _, qry_item='par1',qry_table='par2', list_name='par3')" /td/tr /dtml-with -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com __

Re: [Zope] http://www.atomasoft.com/yahoo-yes!.something

2000-07-18 Thread Nick Garcia
ur server in debug mode. Turn debug mode off and you won't see them anymore. If you're using ZServer you need to edit start and take out the -D option. -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maill

Re: [Zope] Announcement: zCommerce First Public Release!

2000-07-24 Thread Nick Garcia
the announcement BTW :) PS Did you have to spam zope-dev in as well? ;-) Sorry, I wasn't sure if I should or not, but in the end I decided to do it because there's a lot of development opportunity in there. -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com

Re: [Zope] Your feedback: what should DateTime strftime() behavior be?

2000-07-25 Thread Nick Garcia
Brian Lloyd wrote: What do you think? +1 -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] OK, I think I have a workaround to the pcgi problem....

2000-07-26 Thread Nick Garcia
ermissions) File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/BaseRequest.py, line 451, in traverse NameError: (see above) -- Is it just me? -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://

Re: [Zope] OK, I think I have a workaround to the pcgi problem....

2000-07-26 Thread Nick Garcia
Nick Garcia wrote: Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and couldn't get it working either. These instructions got it up and running, but now I'm seeing something a bit strange and I was wondering if you were seeing the same thing. If I go to a page

Re: [Zope] simple dtml-if question

2000-07-26 Thread Nick Garcia
rialNumber null="nbsp;" -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - h

[Zope] Announcement: zCommerce First Public Release!

2000-07-24 Thread Nick Garcia
ign custom sites and applications exclusively in Zope. Please visit our website at http://www.codeit.com to find out more about us, and our exciting career opportunities. -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zop

Re: [Zope] Full path var on Zope.org login link (Ethan!)?

2000-07-31 Thread Nick Garcia
work. You have to do: dtml-var URL0dtml-if QUERY_STRING?dtml-var QUERY_STRING/dtml-if -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No c

Re: [Zope] Installation of 2.2.0 under Linux

2000-08-03 Thread Nick Garcia
xperienced anything of thie nature? I think that means that you don't have the python development libraries. If you use RPMs, you need the python-devel package. -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maillist

Re: [Zope] retrieving data from REQUEST.form

2000-08-11 Thread Nick Garcia
n anything in HTML. You can still replace them. You can do dtml-var "_.string.replace(REQUEST.form['list'], '\n', 'br')" and it should do what you want. -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maillist

[Zope-dev] Unpickleable Error

2000-06-16 Thread Nick Garcia
been changes to the pickling routines that haven't been completely cleaned up yet? -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Unpickleable Error

2000-06-19 Thread Nick Garcia
Nick Garcia wrote: Brian Lloyd wrote: So, I'm getting this error when trying to use one of my Products under Zope 2.2b1: Error Type: UnpickleableError Error Value: Cannot pickle type 'StringO' objects What exactly is a StringO object, and why can't it be pickled