Download & Extend

Node add form title contains no translatable content type name

Project:Chaos tool suite (ctools)
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

There are two quite old issues, which refer to problem with 18n integration http://drupal.org/node/537506 and http://drupal.org/node/571800. Merlinofchaos wrote at http://drupal.org/node/537506#comment-2018876 that there are 3 possibilities to solve it. I've upload patch for i18n module at http://drupal.org/node/571800#comment-4229266 and it seems, that we need only one step ahead. I suggest, that standard "General form" could be very slightly modified and problem will be gone.

Comments

#1

Status:active» needs review

There is the patch

AttachmentSizeStatusTest resultOperations
1097738-ctools-kndr-1-D6.patch859 bytesIgnoredNoneNone

#2

Hi kdnr,

thanks for tackling this issue. I suppose I should have learned to code it by myself since I first stumbled upon this problem, yet I am still no good at coding.

Is my understanding correct that to test your patch I have to use the latest dev of i18n (which contains your patch commited by jose) and apply this patch against ctools? Any specific set-ups that need testing?

#3

Yes, today you have to use the latest dev version of i18n (until stable i18n version will be released). Next, you need apply patch #1 to ctools-6.x-1.8 There is no specific requirements for applying it. Instruction for applying patches: http://drupal.org/patch/apply

#4

I'd like to thank Kndr for this patch. It works splendid!

Tested it on D6.22 with i18n 6.x.dev and ctools 6.x.1.8

#5

Working great.
Tested it with the new stable i18n version 6.1.10 too.
Thanks

#6

Version:6.x-1.8» 7.x-1.x-dev

Now, it seems that this issue arises again in 7.x. With D7.8 i18n 1.1 and ctools dev i receive this error:

Page manager module is unable to override node/add/article because some other module already has overridden with i18n_node_add. Node edit will be enabled but that edit path will not be overridden.

Any chance what can be done about it?

#7

Version:7.x-1.x-dev» 6.x-1.x-dev

The issue reported in #6 is completely different.

That issue is that Page Manager is 'polite'; it won't override a path that some other module has taken over, so that it won't break that other module. All that can be done is to ask that other module if it's willing to share. Page Manager tries to provide a mechanism to share these things, but the module maintainers have to be willing to do so.

#8

Thx for the patch. Worked now as expected.

#9

I have converted the patch from #1 to Drupal 7.

Although it might not be the right way to solve the problem (as stated in #7) it at least solves the problem for me until a better solution comes up.

Arne

AttachmentSizeStatusTest resultOperations
ctools_node-add-title-1097738-9-D7.patch855 bytesIgnoredNoneNone
nobody click here