Giter VIP home page Giter VIP logo

Comments (8)

einpraegsam avatar einpraegsam commented on August 23, 2024

I don't understand it at the moment. The defined domain, that you have stored in extension configuration is different from the Frontend Domain? So you have a different domain for parsing the newsletter then from unsubscribing?

from luxletter.

agendartobias avatar agendartobias commented on August 23, 2024

Hey, we have also simmilar problem. We also use different domains like that:

editor.globalhostingdomain.si/sitename (is domain for BE editing and for FE prewiev),
test.sitename.si (is domain only for FE testing and preview)

So url deifnition in lux settings is set to test.sitename.si (for generating links...), also we define this url to fetch newsletter page when newsletter is generated.

But when newsletter is send out, unsubscribe link be like:

http://test.sitename.si/**sitename**/odjava-od-novic/?tx_luxletter_fe%5Bhash%5D=&tx_luxletter_fe%5Bnewsletter%5D=0&tx_luxletter_fe%5Buser%5D=0&cHash=6fd499e9cf90e399992a95565edf7fc8

So if you see /sitename/ shudnt be in this unsubscribe url.

from luxletter.

p380 avatar p380 commented on August 23, 2024

we use the same system of domains or URLs

from luxletter.

einpraegsam avatar einpraegsam commented on August 23, 2024

ok, if there is a different domain for backend as for frontend (e.g. for security reasons), why did you not use the frontend-domain in extension configuration?

from luxletter.

agendartobias avatar agendartobias commented on August 23, 2024

Hey, we did. FE domain is test.sitename.si, but if u look at unsubscribe link that i posted, you see that i get /sitename/ attached to test.sitename.si domain. So i think

http://test.sitename.si/**sitename**/odjava-od-novic/?tx_luxletter_fe%5Bhash%5D=&tx_luxletter_fe%5Bnewsletter%5D=0&tx_luxletter_fe%5Buser%5D=0&cHash=6fd499e9cf90e399992a95565edf7fc8

Correct way shoud be (wihtout sitename which is used only in be editing link):

http://test.sitename.si/odjava-od-novic/?tx_luxletter_fe%5Bhash%5D=&tx_luxletter_fe%5Bnewsletter%5D=0&tx_luxletter_fe%5Buser%5D=0&cHash=6fd499e9cf90e399992a95565edf7fc8

from luxletter.

einpraegsam avatar einpraegsam commented on August 23, 2024

I think that this are two different problems. While @agendartobias has a folder that's wrong in his configuration, @p380 has a wrong domain? Am I right?

from luxletter.

p380 avatar p380 commented on August 23, 2024

I have the same as @agendartobias. A folder is inserted in the domain.

I think the problem is in the 'getTypolinkUrlFromParameter' function where the URL is generated by the domain. The function is called in viewhelper 'GetUnsubscribeUrlViewHelper'.
However, if the constant was called from luxletter for the domain there would be no problem.

from luxletter.

einpraegsam avatar einpraegsam commented on August 23, 2024

The linkgeneration completely changed in luxletter 4.0 and is now based on the siteconfiguration. This problem should be fixed now.

from luxletter.

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.