I often have to change the page title when creating or editing a node. I think, this feature maybe a part of this awesome module. What do you think?

Comments

balintbrews’s picture

I have created a patch, and here is a screenshot.

balintbrews’s picture

Status: Active » Needs review
balintbrews’s picture

Sorry, I made the patch for wrong version, here is a fixed one for 6.x-1.x-dev.

lelizondo’s picture

Status: Needs review » Fixed

This is great. Commited. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

liquidcms’s picture

Status: Closed (fixed) » Active

rather than open a new issue; figured i would just re-open this one as it is done slightly wrong.

the "Page title when creating a node:" should only be used on the "create new node" form but it is also being used to define the admin form for that node type... sadly Drupal uses same form id i think for both... easiest is likely to also look at arg(0) to ensure not admin... i'll provide patch in a min

liquidcms’s picture

StatusFileSize
new732 bytes

and the patch.

liquidcms’s picture

Status: Active » Needs review
lelizondo’s picture

what do you mean by "it is also being used to define the admin form for that node type... "? can you provide a path to replicate this?

liquidcms’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
Status: Fixed » Needs review

std Page node type would have the admin content type form at: admin/content/node-type/page

http://screencast.com/t/MJSh6MPCb

as you see in screenshot; the form should just have title "Page", without my patch and with this module this will say "Create Page"

lelizondo’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Needs review » Fixed

committed to 6.x-2.x. thanks.

http://drupalcode.org/project/nodeformsettings.git/tree/73006bc6d5656d1a...

I don't know if this problem is also in 7.x-2.x, if it is, please report back and re-open the issue.

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Needs review » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.