Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
node system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jul 2007 at 23:01 UTC
Updated:
4 Aug 2007 at 05:26 UTC
I am writing issue followups as comments and nodeapi changes title but because we set the page title before this change, it does not show. I am close to mark this as critical.
| Comment | File | Size | Author |
|---|---|---|---|
| title_cant_be_changed.patch | 489 bytes | chx |
Comments
Comment #1
chx commentedFive as well.
Comment #2
dries commentedPlease provide a better explanation. Why do you want to change the title? What do you want to change it to and why? What is the title instead? This sort of information helps me validate this patch. Thanks.
Comment #3
dmitrig01 commentedI'll do my best :)
sorry if I'm too verbose
Dunno, but module X may want to change the title during the 'alter' op of nodeapi.
Currently, it can't do that.
Change Drupal to being able to have modules change the title on hook_nodeapi op='alter'.
It's a stupid mistake, it should have always been the way chx patched it to be.
The title is what it was, before nodeapi op=alter, even if that changed the title
Comment #4
chx commentedAs said, I am writing issue followups as comments. When you are changing an issue title then the node title changes and so should the page title but this is impossible without my patch because the node title changes during nodeapi indeed.
Comment #5
chx commentedEaton says that this would mean that if you do a drupal_set_title in nodeapi that gets overridden and that's worse than needing an explicit drupal_set_title , so there.