Boxes (Version 1 1 0 8)

Open to all! Ask other shopowners for help.
Philo2005
10+
Posts: 42
Joined: Fri Mar 26, 2021 7:20 am
Phoenix Version: v1.0.8.0
Has thanked: 32 times
Been thanked: 3 times

Boxes (Version 1 1 0 8)

Post 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!



Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4921
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 303 times
Been thanked: 497 times

Re: Boxes (Version 1 1 0 8)

Post 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.

Philo2005
10+
Posts: 42
Joined: Fri Mar 26, 2021 7:20 am
Phoenix Version: v1.0.8.0
Has thanked: 32 times
Been thanked: 3 times

Re: Boxes (Version 1 1 0 8)

Post 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.

Philo2005
10+
Posts: 42
Joined: Fri Mar 26, 2021 7:20 am
Phoenix Version: v1.0.8.0
Has thanked: 32 times
Been thanked: 3 times

Re: Boxes (Version 1 1 0 8)

Post 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?

User avatar
burt
Core Team
Posts: 4921
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 303 times
Been thanked: 497 times

Re: Boxes (Version 1 1 0 8)

Post 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:

Philo2005
10+
Posts: 42
Joined: Fri Mar 26, 2021 7:20 am
Phoenix Version: v1.0.8.0
Has thanked: 32 times
Been thanked: 3 times

Re: Boxes (Version 1 1 0 8)

Post 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
You do not have the required permissions to view the files attached to this post.

Philo2005
10+
Posts: 42
Joined: Fri Mar 26, 2021 7:20 am
Phoenix Version: v1.0.8.0
Has thanked: 32 times
Been thanked: 3 times

Re: Boxes (Version 1 1 0 8)

Post 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.
You do not have the required permissions to view the files attached to this post.

Philo2005
10+
Posts: 42
Joined: Fri Mar 26, 2021 7:20 am
Phoenix Version: v1.0.8.0
Has thanked: 32 times
Been thanked: 3 times

Re: Boxes (Version 1 1 0 8)

Post by Philo2005 »

Further the navbar search also has the same problem.
removed ->hide_session_id()

PiLLaO
100+
Posts: 142
Joined: Thu Nov 05, 2020 9:28 pm
Phoenix Version: v1.1.0.6
Has thanked: 76 times
Been thanked: 20 times

Re: Boxes (Version 1 1 0 8)

Post by PiLLaO »

Maybe you need this fix

viewtopic.php?f=10&t=3440

Philo2005
10+
Posts: 42
Joined: Fri Mar 26, 2021 7:20 am
Phoenix Version: v1.0.8.0
Has thanked: 32 times
Been thanked: 3 times

Re: Boxes (Version 1 1 0 8)

Post 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.



Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply