10 Nov
2000
10 Nov
'00
7:15 p.m.
I'm trying to compare two page titles, using this code: <dtml-call "REQUEST.set('my_title',get_page_title)"> <dtml-in "PARENTS[1].objectValues(['Folder'])"> &dtml-my_title; : &dtml-get_page_title <dtml-if "my_title!=get_page_title"> <dtml-var title_or_id> </dtml-if> </dtml-in> Now I can see on the page that my_title and get_page_title are the same. I have also tried comparing _.str(my_title) and _.str(get_page_title) just to make sure I was comparing strings. But the if clause always evaluates true. Any ideas? cheers, seb.
9278
Age (days ago)
9278
Last active (days ago)
0 comments
1 participants
participants (1)
-
seb bacon