llandler
Newbie   Posts: 4 Registered: 5/28/2003 Status: Offline
|
posted on 11/13/2005 at 04:18 AM |
Hello,
I seem to have found a bug....
I am using ATlite851 on a multilanguage enabled PostNuke (760) site.
When you view block control in theme
(admin.php?module=AutoTheme&op=cmsblocks&themedir=APAC&thememod
=default&modops=)
You can only see the blocks that are assigned to the language that you are
currently viewing with (and blocks assigned to "all" languages) So when you
save the block control and then view site in language #2, all of the blocks
in language #2 are reset to the block placements from pn's block admin. If
you go the the AT theme block control again in language #2, the blocks from
language #1 are not visible and if you make changes and save, the blocks
from language #1 will be reset.
I looked at config file in all of this and sure enough, when you save with
one language the blocks from the other language are deleted from the config
file. Putting them back by hand solves the issue, but you have to edit the
block control placements by hand every time you need to make a change or
the problem returns.
I'm not sure if what I wrote here makes sense, but it's a reproducible
error which could probably be fixed by making sure that the list of blocks
in the block control of the theme does not filter for language.
Wow, I think I managed to confuse myself!
Laurie |
| |
| |
wsanter
Newbie   Posts: 1 Registered: 8/9/2004 Status: Offline
|
posted on 2/4/2006 at 05:18 AM |
I have the same problem. Every time i save the AutoTheme Block Control, the
second language Blocks are deleted in the theme.cfg file.
Any fix? |
| |
ursel
Newbie   Posts: 3 Registered: 11/17/2002 Status: Offline
|
posted on 2/5/2006 at 11:11 AM |
Any news about this..
got the same problem.. and gonna tell you, it's very frustrating.. |
| |
aalm
Junior Member   Posts: 10 Registered: 10/6/2003 Status: Offline
|
posted on 7/12/2006 at 08:27 PM |
I'll confirm this problem persists in .87, if this needs confirmation
again. The report was correct, and well detailed.
Any progress on fixing this bug, Shawn, or can you provide a workaround?
Is there a reference to a solid way to provide theme based on postnuke
language preference?
I think the problem would be solved if the Block Control page of Custom
Modules is forced to ignore language preference when displaying blocks...
all blocks should be listed, no matter their language. Then on a
3-language site, either 3 blocks should be active for each block position
-- one for each language -- or a single block for a position, with language
set to ALL.
Does anyone know a trick for suppressing postnuke language preference on a
specific page?
Thanks.
[Edited on 13/7/2006 by aalm]
[Edited on 13/7/2006 by aalm] |
| |
Shawn
Administrator   Posts: 4570 Registered: 10/7/2002 Status: Online
|
posted on 7/12/2006 at 08:36 PM |
O.K. wow, I don't remember seeing this post. I'll check and see about a
fix.
-Shawn |
| |
aalm
Junior Member   Posts: 10 Registered: 10/6/2003 Status: Offline
|
posted on 8/5/2006 at 04:16 PM |
Hi Shawn.
Have you had any chance to look at this?
Without knowing what it would involve, coding-wise, I think it would be
nice to see a language-select option in Block Control, and have any updates
in Block Control apply only to blocks that match the selected language.
As it is on the tri-lingual site I'm managing, if Spanish is the selected
language and I use Block Control to enable blocks on a Custom Page, all
non-Spanish blocks on that page are switched off. But I need to be able to
select Spanish blocks without the English or French blocks being
affected... and likewise when I am selecting English or French blocks, I
don't want it to blow away blocks that are enabled for other languages.
If some development funding would help move this along, I'd certainly be
willing to drum up dollars.
Andy
|
| |
Shawn
Administrator   Posts: 4570 Registered: 10/7/2002 Status: Online
|
posted on 8/6/2006 at 04:55 PM |
Please try this and let me know: In
'modules/AutoTheme/includes/postnuke/atAPI.php
line 183 change:
if (pnConfigGetVar('multilingual')) {
to this:
if (pnConfigGetVar('multilingual') &&
!defined('AUTOTHEME_ADMIN_LOADED')) {
Thanks!
-Shawn |
| |
aalm
Junior Member   Posts: 10 Registered: 10/6/2003 Status: Offline
|
posted on 8/6/2006 at 09:17 PM |
Excellent!
¡Excelente!
Works like a charm. Thanks, Shawn.
Andy
|
| |