Overriding the node add/edit form with Panels 3 is great and easy to do. Unfortunately i18n seems to "block" the node add form so that users of i18n can only override the edit form.

#537506: node add override - not working with i18n? is the original issue in the P3 queue. Merlinofchaos says that this can only be solved (so that the override works correctly) if the "interfering" module adds code.

I politely request that i18n gives the node add form free so that all users can benefit from this nice feature of P3. ;)

Comments

dddave’s picture

Category: task » feature

Have I missed something here? Does really nobody else needs this?

jippie1948’s picture

I have the same problem...

Bilmar’s picture

subscribing - I came across this and had to not use panels 3 as a workaround.
I am be interested in following this and would like to explore using P3 again.

jensvoigt’s picture

+1

ingopingo’s picture

Same problem here. I'm be interested in following this, too...

ingopingo’s picture

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

Forgot to mark the used version. Sorry for that...

thekayra’s picture

+1

crusher82’s picture

subscribing too. I have the same problem

Ghostthinker’s picture

+2

Remon’s picture

subscribe

Apfel007’s picture

need this too!!!!!!!!!

Aldus’s picture

I subscribe :| !

askit’s picture

+1. That make the two great modules even better!

blueblade’s picture

+1.

ndf’s picture

Subscribe!

ayalon’s picture

same problem here!

sagannotcarl’s picture

@dddave: do you know what the code is that needs to be added (if not in detail then at least conceptually)?

dddave’s picture

Sorry, I am by no means a code-guy. If so, I would tried my best already. In my OP I just recapped what merlinofchaos said.

tedl’s picture

Do everybody with multilingual sites and panels still theme their edit forms with tpl.php-files? Or have I missed the workaround for this problem?

gurvan’s picture

+1

andiart’s picture

Version: 6.x-1.2 » 6.x-1.5

I'm having the same problem. Would be nice to have a solution.

ju.ri’s picture

Version: 6.x-1.5 » 6.x-1.8
Category: feature » bug

I also have this problem. Cannot overwrite the node/add form with panels on a multilanguage site.

perandre’s picture

Same issue here! I found out as I deactivated and reactivated the variant.

roborn’s picture

+1

kndr’s picture

Component: Compatibility » Code
Status: Active » Needs review
StatusFileSize
new3.91 KB

I am attaching the patch. After applying it, problem with blocked "node/add" is solved. Important notice: there will be a new CTools content type - "i18n general form" (under "Form" tab in "Add content" window). Choose it instead "General form" and you will have translated form titles, which are supported by 18ncontent module. Patch is transparent for these, who don't use CTools and Panels.

kndr’s picture

StatusFileSize
new3.96 KB

#25 suffers from CRLF line endings. This one is clean.

kndr’s picture

StatusFileSize
new3.85 KB

Ups :) Here is the patch without CRLF.

jose reyero’s picture

Status: Needs review » Needs work

Adding a check for not altering the menu seems ok.

But for further integration with Panels, please think about an add on module.

kndr’s picture

Thanks for review. Do you mean, that this kind of integration should have separate project?

jose reyero’s picture

@kndr,
> Thanks for review. Do you mean, that this kind of integration should have separate project?

Right.

Complex integration with other modules in the past has not been a good experience and sometimes it's been impossible to keep up with other modules' versions, see https://drupal.org/project/i18nviews

kndr’s picture

StatusFileSize
new1.33 KB

OK. I am attaching new patch, without ctools content type. In my opinion, new module is not neccessary. I will add new issue to CTools and upload patch, which very slightly change standard "General form" and makes it working with i18n.

kndr’s picture

broncomania’s picture

Thx for this patch solves the problem with panels and node/add for me!

jose reyero’s picture

Status: Needs work » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

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

anruether’s picture

Version: 6.x-1.8 » 7.x-1.1
Component: Code » Blocks
Status: Closed (fixed) » Needs work

Now, this issue arises again in version 7.x-1.1. Any chance to resove it also in 7.x?

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

anruether’s picture

Don't know if this is right in Component "Blocks"...

mefisto75’s picture

Just discovered the same problem

msbrar’s picture

+1. same issue on drupal 7

jose reyero’s picture

Category: bug » feature
Status: Needs work » Fixed

Fixed for Drupal 7. Translated title is set now using hook_form_alter().

Now about Drupal 6, no way we are backporting this one, as we are only doing bug fixes for that version.

Status: Fixed » Closed (fixed)

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

josepvalls’s picture

FYI, I stumbled into this issue in D6 and fixed it with a small hack in panels.
You may check feedback from merlinofchaos here: http://drupal.org/node/1561046#comment-5997776