[Zope] - String matching...
   
    Jim Fulton
     
    jim@digicool.com
       
    Thu, 21 Jan 1999 22:44:15 +0000
    
    
  
Magnus Lie Hetland wrote:
> 
> I have tried under several circumstances to test for the identity of the
> current page/directory by checking if title_or_id is equal to some string,
> and it never is... Am I doing something wrong? Even when <!--#var
> title_or_id--> seems to return exactly the string I'm comparing with, it
> still isn't true...
Are you using:
  <!--#if "title_or_id()=='spam'"-->
???  That is, are you calling title_or_id? It is
a method.
Jim
--
Jim Fulton           mailto:jim@digicool.com
Technical Director   (540) 371-6909              Python Powered!
Digital Creations    http://www.digicool.com     http://www.python.org
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.