JQAdm Configuration problem in Typo3

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
nvindice
Posts: 27
Joined: 16 May 2019, 16:20

JQAdm Configuration problem in Typo3

Post by nvindice » 25 Aug 2021, 11:43

Hi, I'm trying to configure a custom backend navigation with 2021.07 on Typo3 v10. The configuration array looks like this: https://github.com/aimeos/ai-admin-jqad ... navbar.php

Unfortunately, I cannot find a way to pass an empty string as an index with Typo3 Typoscript, so no name is displayed.

Do you have any solution here?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: JQAdm Configuration problem in Typo3

Post by aimeos » 26 Aug 2021, 05:45

You can add the new configuration to a PHP config file instead of TypoScript.
We will need to change that in future versions so you can set via TypoScript too.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

nvindice
Posts: 27
Joined: 16 May 2019, 16:20

Re: JQAdm Configuration problem in Typo3

Post by nvindice » 26 Aug 2021, 09:17

Done, setting it via config/admin.php works. Thank you.

However, working with multidimensional arrays would seem a lot cleaner to me. Converting stuff like this to an object will fail, not sure if JSON is fine with an empty string index.

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: JQAdm Configuration problem in Typo3

Post by aimeos » 26 Aug 2021, 09:53

Using multi-dimensional arrays with string keys wouldn't return the wished order of the entries any more. We tried to use that before but changed to current implementation afterwards.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

nvindice
Posts: 27
Joined: 16 May 2019, 16:20

Re: JQAdm Configuration problem in Typo3

Post by nvindice » 26 Aug 2021, 11:57

I see. Maybe using index "0" for the title? Or always using the first element in the Array? Not perfect, but IMHO better than the current solution :?

Post Reply