Closed (won't fix)
Project:
Localizer
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Feb 2007 at 15:12 UTC
Updated:
31 Oct 2010 at 23:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedups... not tested this yet, but i need Panels module too.
Comment #2
Roberto Gerola commentedNever used Panels module.
I'll need to install it and understand how it works.
Comment #3
pearcec commentedAccording to the API.txt the same guy who wrote Views wrote Panels. You can add your own content types. We could add one called localizer, and then do the appropriate calls to localizer to load the correct node. It would be hackish in my opinion.
Comment #4
Roberto Gerola commentedI've taken a look.
In content_types/node.inc of panels module, row 18 :
$node = node_load($conf['nid']);
Here we should act.
I'm just figuring out how to make it works in a clean way, meanwhile,
changing the function in this manner, seems to work.
I have tried to make the same thing in the node_api hook, for $op='load',
but it is very very dangerous.
Let me know.
Comment #5
pearcec commentedThis works as expected. So should we talk to the author of Panels to figure out how we can play nice together? I always like to integrate and avoid excess patching that gets blown away if you have to update a module to do security purposes or otherwise.
Comment #6
Roberto Gerola commented> So should we talk to the author of Panels to figure out how we can play nice together?
Yes.
I'll take a look also how the others content types are treated by panels module, so
we can make a proposal of a unique solution for all contents.
Implementation of some hooks, perhaps.
>I always like to integrate and avoid excess patching
Me too.
Comment #7
summit commentedHi,
I am using the panels module, category module and would really like to use the Localizer module.
I am using drupal 4.7.6
Is above proposed solution also valuable for drupal 4.7.6?
The Panels author has the similar approach as you I think, so please get this rocking together.
Also for Drupal 4.7.6
Greetings,
Martijn
Comment #8
summit commentedHi,
I would like to have the same option on panels as there is on nodes.
My panels are pages with blocks. If I select another language the whole panel should be translated like with nodes?
So I need to be able to select different blocks, views, etc..
I am using drupal 4.7.6 can you help me?
greetings,
Martijn
Comment #9
summit commentedHi,
Above solution doesn't work for me.
I need the whole panel translated, like nodes.
If you click on a different language, the panel, the blocks inside the panel all should be changed in the new language.
Thanks in advance,
greetings,
Martijn
Comment #10
sunComment #11
rhys commentedI was having trouble with blocks not being viewed on the correct language, while viewing a panel.
I've only tested this on a small non-complex panel, but it seems to work.
The patch applies to panels/content_types/block.inc.
Comment #12
summit commentedHi,
Does your patch also work for taxonomy-block blocks?
I will try it anyway! thanks.
greetings,
Martijn
Comment #13
hass commented