Page 1 of 1

Boxes (Version 1 1 0 8)

Posted: Thu Nov 26, 2026 11:06 am
by Philo2005
I haven’t performed any updates for a long time, so I set up a new environment—updated to the latest version of Phoenix—to experiment with.

In doing so, I’ve noticed that most "boxes" (on the left and right) are no longer available.

Is there a specific reason for this?
How can I update my existing boxes from version 1.0.8.0 to the new version 1.1.0.8?

Thanks for your help!

Re: Boxes (Version 1 1 0 8)

Posted: Thu Nov 26, 2026 11:25 am
by burt
Philo2005 wrote: ↑Thu Nov 26, 2026 11:06 am Is there a specific reason for this?
Moving items out of core allows the one or two people doing almost everything...to do less.
Well, that's the idea...doesn't sometimes pan out. Need to find more time :lol:

Mantra;
Core Code & Addons stand side by side, equally important.
How can I update my existing boxes from version 1.0.8.0 to the new version 1.1.0.8?
app.php/addons/free_addon/side_box_modules/

Because you've not really been all that active for a while, you maybe didn't notice that things have moved on in Phoenix both in the code and in the wider ecosystem - changes in personnel, changes in ethos, changes in forum, changes in addon area and so on. All for good reasons, and all part of keeping Phoenix relevant, evolving and flying.

Re: Boxes (Version 1 1 0 8)

Posted: Thu Nov 26, 2026 6:11 pm
by Philo2005
Okay, I see—thanks a lot for the link.

That saves me a huge amount of work; I was already worried I’d have to migrate the code.
Unfortunately, i could not find by the search this add-on.

Re: Boxes (Version 1 1 0 8)

Posted: Fri Nov 27, 2026 9:38 am
by Philo2005
Hello Burt,

Who is currently responsible for this "Boxes" add-on?

It seems that the currency box (bm_currencies.php and tpl_bm_currencies.php) is not working correctly in my environment. Changing the currency fails.

I also took a look at the code for the navbar (bn_currencies.php and tpl_bn_currencies.php). It looks quite different.
This works fine in my environment.

Also the manufacturer box ist not working correctly in my environment.

Have there been any changes in the "Currencies" and "Manufacturer" area since this free add-on was released?

Re: Boxes (Version 1 1 0 8)

Posted: Sat Nov 28, 2026 10:23 am
by burt
Philo2005 wrote: ↑Fri Nov 27, 2026 9:38 am Who is currently responsible for this "Boxes" add-on?
Nobody. We don't have enough support to do everything that we want to do :oops:

Re: Boxes (Version 1 1 0 8)

Posted: Sat Nov 28, 2026 6:05 pm
by Philo2005
Oh I see - "do it self man" Philo found the problem using this piece of code:
->hide_session_id()

I removed this parameter ->hide_session_id()
in bm_currencies.php and tpl_manufacturer.php and it works fine to me!
For my small purpose it is not required to suppress the parameter on the url line.

Code changes:
bm_currencies.php
$form = new Form('currencies', $GLOBALS['Linker']->build()->set_include_session(false), 'get');
// $form->hide_session_id();

tpl_manufacturer.php
from <?= (new Form('manufacturers', $GLOBALS['Linker']->build('index.php', [], false), 'get'))->hide_session_id()?>
to <?=(new Form('manufacturers', $GLOBALS['Linker']->build('index.php', [], false), 'get'))?>

Problem solved
Cheers
David

Re: Boxes (Version 1 1 0 8)

Posted: Sun Nov 29, 2026 8:02 am
by Philo2005
I have discovered another issue. In the administrator area, there is a small button on the right that opens a panel for selecting the language. Unfortunately, changing the language there does not yield the desired result in my environment. I have corrected the handling of this in `index.php`.

Old line 50: (new Form('adminlanguage', $Admin->link('index.php'), 'get'))->hide_session_id(),

New line 50: (new Form('adminlanguage', $Admin->link('index.php'), 'get')),
Since this module is part of the core code, I would appreciate some feedback on this.

Re: Boxes (Version 1 1 0 8)

Posted: Sun Nov 29, 2026 5:28 pm
by Philo2005
Further the navbar search also has the same problem.
removed ->hide_session_id()

Re: Boxes (Version 1 1 0 8)

Posted: Sun Nov 29, 2026 5:54 pm
by PiLLaO
Maybe you need this fix

viewtopic.php?f=10&t=3440

Re: Boxes (Version 1 1 0 8)

Posted: Mon Nov 30, 2026 4:13 pm
by Philo2005
Yes, that's exactly the problem described.

I suspected something was going wrong at a lower level.
However, the proposed solution isn't entirely clear to me,
and there's no patch yet for version 1 1 0 9.

I have set PHP to version 8.4.28.
This is the latest version available from my ISP.