GithubHelp home page GithubHelp logo

Comments (7)

featdd avatar featdd commented on August 21, 2024

Hi @projektil-werbeagentur,

sorry for the late reply, is this still the case?
Have you changed something on the termWrap TypoScript?

Greetings
Daniel

from dpn_glossary.

projektil-werbeagentur avatar projektil-werbeagentur commented on August 21, 2024

Hi @featdd,

Yes, the problem still exists as described.
Nothing has been changed in the extension's standard typoscript, except for the path to the template files.

The incorrect behaviour can be viewed on this page, for example:
https://www.ego.de/produkte/butyl

Below the heading "Butylqualitäten" in the bulleted list, all links are glossary entries.

Bildschirmfoto 2023-10-17 um 09 59 41

The link "Dichte" is of type Link, all others of type default:

Bildschirmfoto 2023-10-17 um 09 46 01

For "Dichte", the term is appended to the current page URL with #. The link does not go to the defined target page as expected: https://www.ego.de/produktsuche/dichterechner

Bildschirmfoto 2023-10-17 um 09 50 03

On the glossary overview page at https://www.ego.de/service/dichtstofflexikon, the behaviour is partially correct when looking at the term „Dichte". The heading links to the defined target page, the link „Dichte" in the description text, which is generated via the parser, links to the current page with #Dichte.

If further information is needed, please contact me.

Using:
Typo3: 11.5.32
PHP version: 8.0.30
dpn_glossary: 5.0.3

from dpn_glossary.

PeterProell avatar PeterProell commented on August 21, 2024

I can confirm this. Just hit the same problem.
Even stranger. If the term consists of two words (like "Douglas McGregor") the link will have href="#Douglas" and target="McGregor".

Using:
TYPO3 12.4.7
PHP 8.2
dpn_glossary 5.0.3

from dpn_glossary.

featdd avatar featdd commented on August 21, 2024

Yes I could reproduce this too now.

This worked sometime ago, need some time to fix this strange TypoScript construct.

Greetings
Daniel

from dpn_glossary.

featdd avatar featdd commented on August 21, 2024

Hi @projektil-werbeagentur & @PeterProell,

I finally managed to fix this, I almost went crazy thinking of a TypoScript issue but it was completely fine.
The introduction of the ParserTerm removed the term link from the content object data array... 🤦‍♂️

(Also optimized the anchor link generation)

solved here: 9140e9b

I will prepare an update soon, thanks for your patients.

Greetings
Daniel

from dpn_glossary.

featdd avatar featdd commented on August 21, 2024

Hi @projektil-werbeagentur & @PeterProell,

I optimized this even a bit further with simply using the slug for the anchor link, making at also configurable.
See: ed4bec5

Greetings
Daniel

from dpn_glossary.

projektil-werbeagentur avatar projektil-werbeagentur commented on August 21, 2024

from dpn_glossary.

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.