Coder Social home page Coder Social logo

Comments (16)

22markets avatar 22markets commented on July 23, 2024 1

from mindshape_cookie_consent.

SimonWpt avatar SimonWpt commented on July 23, 2024 1

I have the same problems as @22markets

First language is german, second is english. I fill in BE the fields with german and english texts. Most text on english site are german.

image

image

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

Hi @22markets,

have you used the latest way for custom translations as refered in #20!?

As far as I know translations in TypoScript are not that favoured anymore. (correct me if I'm wrong)

Greetings
Daniel

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

Hi @22markets,

could you update the extension (2.1) and your TYPO3 instance to its latest versions and verify this still doesn't work?

I will try consider adding a custom label field for the deny button for the next update.

How did you add your custom translations, as explained in the documentation? Did you create a proper XLIFF file?
Maybe have another look or please submit a bit more details of your implentation.

Greetings
Daniel

from mindshape_cookie_consent.

SimonWpt avatar SimonWpt commented on July 23, 2024

Second problem: I can't edit the necassary cookie.

image

Working with ddev, TYPO3 10.4.23 and mindshape_cookie_consent 2.1.2.

from mindshape_cookie_consent.

stephangrass avatar stephangrass commented on July 23, 2024

Same problems here ...

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

Hi @22markets, @SimonWpt, @stephangrass,

I managed to reproduce this, I don't know why the repository doesn't handle the language context properly, maybe it depends on an early instantiation stage in the hook or something.

I just wrote a patch and would be happy if some of you guys can confirm that it's also working for you.

See: 49b8e4a

Greetings
Daniel

from mindshape_cookie_consent.

stephangrass avatar stephangrass commented on July 23, 2024

Hi @featdd,

thanks, it really looks like it works in the frontend.

But in the backend the error
Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAllAssociative()
appears if you want to edit the consent configuration.

My TYPO3 10.4.24 installation is not based on composer ...

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

Hi @featdd,

thanks, it really looks like it works in the frontend.

But in the backend the error
Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAllAssociative()
appears if you want to edit the consent configuration.

My TYPO3 10.4.24 installation is not based on composer ...

Have you installed the latest TYPO3 v10?

from mindshape_cookie_consent.

stephangrass avatar stephangrass commented on July 23, 2024

Have you installed the latest TYPO3 v10?

Yes: TYPO3 10.4.24

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

HI @stephangrass,

the issue is caused by the none composer installation, I have a composer installation wich provides a forward compatibility package with the methods used in v11.

I replaced all methods with the proper v10 variants, see: c8409cf

May you have another try?
I will try to release an Update next week.

Greetings
Daniel

from mindshape_cookie_consent.

stephangrass avatar stephangrass commented on July 23, 2024

Hi @featdd

thanks a lot!
Unfortunately, I have some installations that cannot be switched to Composer for various reasons. And I guess I'm not the only one with this...

But there is still one more place where fetchAllAssociative() is used:

Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAllAssociative() in /Users/stephangrass/Documents/_Webs_/kirchhoff-mobility.com/typo3/www/typo3conf/ext/mindshape_cookie_consent/Classes/UserFunc/ConfigurationTcaUserFunc.php line 61

Greetings
Stephan

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

@stephangrass have you checked out the correct commit?

I amended the changes to the bugfix commit, see this commit: 85c38de

from mindshape_cookie_consent.

stephangrass avatar stephangrass commented on July 23, 2024

Argh, ok. Thanks. I will try it later.

nice weekend
Stephan

from mindshape_cookie_consent.

stephangrass avatar stephangrass commented on July 23, 2024

Moin Daniel,
thanks a lot, it looks really good now.

Stephan

from mindshape_cookie_consent.

featdd avatar featdd commented on July 23, 2024

@stephangrass @SimonWpt @22markets Update 2.1.3 with this fix is available in TER

from mindshape_cookie_consent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.