Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link target always _blank #6

Open
Kahmoon opened this issue Feb 5, 2020 · 2 comments
Open

Link target always _blank #6

Kahmoon opened this issue Feb 5, 2020 · 2 comments

Comments

@Kahmoon
Copy link

Kahmoon commented Feb 5, 2020

Hey,

im changing several content elements (which has been manual teaser) to Link Teaser elements. But all links on "more information" are _blank even i did not check "New Window".

Setting: "Standardlink anzeigen"

Contao 4.8.7
Teaser: 1.0.1

P.S. in description of this module it says "custom text for more links". I cannot set this text manually in the element it self. Sometimes the label "more information" is not the best option. So isn´t "Seite x besuchen". Did i miss any configuration?

@koertho
Copy link
Contributor

koertho commented Feb 6, 2020

@Kahmoon Hi, I can't reproduce this behavior with an fresh Contao 4.8.7 installation. Maybe the blank link is hard coded your template?

I added an section about added custom translations to the more link to the readme. Please open a new issue if you have more questions about this to keep the topics seperated.

@Kahmoon
Copy link
Author

Kahmoon commented Feb 6, 2020

In template its just:

<div class="teaser"> <?= $this->text; ?> <?php $this->insert($this->linkTemplate, $this->getData()); ?> </div>

I didn´t change anything here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants