Skip to main content

Questions tagged [link]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

ckeditor: custom a tag is doubled

I am using ckeditor with some extras to render a button. This is part of my ckeditor config in the plugins settings link: { // Automatically add target="_blank" and rel="noopener ...
Merc's user avatar
  • 243
0 votes
1 answer
22 views

Link Field Email with Subject and Body

The Link Field in Craft 5 is a good improvement, but I can't find a way to populate the link with a pre-filled Subject and Body to the email.
Jonathan's user avatar
1 vote
1 answer
654 views

How to add the option for a link to select a target, e.g. open link in new window? [CKEDITOR Plugin]

I want certain links on the website which I added in a CKEditor field to open in a new tab/window by adding the target attribute "_blank". By default, there is no option to select this ...
flip's user avatar
  • 159
4 votes
3 answers
926 views

Plugin "Typed Link Field" -> Alternative for Craft 5?

https://plugins.craftcms.com/typedlinkfield At first: This plugin was for free and I would like to say "Thank you for you work!" ... thanks Sebastian! But with a look to 33,291 active ...
Marc 's user avatar
  • 344
1 vote
1 answer
34 views

Linked pages can't load entry-variable

I'm a newbie with Craft CMS and just setup my templates. I got multiple .twig files for six pages. If I load my homepage "from scratch" my entries are shown as I want them to. But if I click ...
Winnie99's user avatar
0 votes
1 answer
49 views

Next previous page links

I'm working on a reviews site where each entry has a series of fields, but on the front end, different pages are used depending on whether fields have values in them or not, e.g. if fieldX has data, ...
Tyssen's user avatar
  • 665
1 vote
1 answer
196 views

Adding an external link to a menu (beginner)

I have inherited our website which is built on Craft CMS. I need help figuring out how to add a link to an external URL from a menu on our site: https://sofheyman.org/ I cannot figure it out. Can ...
Erin 's user avatar
  • 11
1 vote
2 answers
107 views

Redactor // "Link to an entry" not available

maybe someone has an idea? The Redactor Rich Editor does not show "Link to an entry" - only "Insert link" is available (see screenshot). I'm pretty sure this might work, like in ...
Marc 's user avatar
  • 344
1 vote
1 answer
109 views

Matrix field entry link corrupted

Some of my links coming from a matrix field with entry became corrupted. Anyone had this before and knows how to fix it?
aren's user avatar
  • 79
1 vote
1 answer
85 views

LinkIt: transform content

As Craft doesn't provide an all-in-one link field (that covers external as well as internal links) out of the box, I opted for LinkIt. What I wonder, how do I Obfuscate email-links? Bring phone ...
Urs's user avatar
  • 649
2 votes
1 answer
60 views

How to assign entries to static positions such as footer?

The footer of my site has some links that can be considered "static" in the sense that they always should point to a specific entry. One for "acknowledgements", one for "cookie info" and one for "more ...
nitech's user avatar
  • 679
1 vote
1 answer
232 views

Saving a "craft-linkfield" field via an entry form

I'm editing an entry via an entry form as documented here: https://docs.craftcms.com/v3/dev/examples/entry-form.html How would I be able to save a link field that's using https://github.com/sebastian-...
Udo's user avatar
  • 607
1 vote
1 answer
82 views

Not a Craft CMS designer and need help

I am actually doing on page SEO for a Craft site. I created 4 new pages. I have no idea how to publish them, put the links into a block on the home page, add an image to the content, and add to the ...
E Alex Bungener's user avatar
1 vote
1 answer
45 views

Omitting repeated content in a for loop

I'm trying to use this slightly differently: How do I omit similar content in a for loop based on the first letter in title? I have a for loop with several entries. One field is a drop-down with a ...
afc's user avatar
  • 67
0 votes
1 answer
19 views

Page is Not listed in Backend

One of the pages in the menu header is called Order Online, which takes users to a separate website. I want to change the link where it takes users to but when I went to the backend of the site, the ...
Vania Abdul's user avatar
1 vote
1 answer
94 views

Changing the label on links

I'm adding content to a site that has been set up in Craft. However, it's been set up so that in one section, any link created has the label "How this works". It's a bit unwieldy as it means I can't ...
kolaogun's user avatar
0 votes
1 answer
202 views

I need to update an existing URL

I have inherited a Craft website and need to update an existing URL, it will open a PDF document, so I need to replace an updated PDF I have very basic Craft knowledge so need assistance. I have ...
Justine's user avatar
1 vote
1 answer
641 views

Adding link type to Redactor Rich Editor

I have a Craft CMS powered site which has "Suppliers" set up as a user group. A route is being used to link through to these suppliers on the frontend; example.com/supplier/loremipsum. Is it ...
Chris Moorst's user avatar
1 vote
1 answer
88 views

links to another website without my own url

If I want to link another website, I am doing this with a normal text field. <a href="{{ entry.subHeading }}" target="_blank">{{ entry.subHeading }}</a> subHeading is the link. If I now ...
dashed.ch's user avatar
0 votes
2 answers
269 views

entry.url forcing https

{{ entry.url }} is generating a https:// link. I don't have SSL on this site, so the page errors out. Settings > General > Site Url is "http://..." My .htaccess is below (though I've read the ...
Jeff Fulton's user avatar
3 votes
1 answer
2k views

How long does the share link on the entry edit screen last?

We're noticing that links to hidden entries that are shared via token (share button) eventually expire. How long do these links last? Is there a setting to adjust how long the token will last?
Anson LeClair's user avatar
1 vote
1 answer
86 views

How can I let the user activate a particular SuperSort filter

***I have just realised I am mixing up my filtering and sorting. I have amended the question to try and make it a bit clearer. I'm trying to use SuperSort plugin to run different filters, but I'm ...
Remco's user avatar
  • 143
1 vote
1 answer
373 views

How to link to an entry in a Markdown field in the CMS

I want to do something that's perhaps connected to the id so that if the title/slug updates, then I don't have to hunt anything down in entries across the CMS. Something like this maybe? [Link to an ...
Ryan's user avatar
  • 1,972
1 vote
1 answer
378 views

How to keep the setPasswordPath config when reset password link is expired?

In config.php file, setPasswordPath is set to match a custom template. This is working fine by following the reset password link sent by email (for a front end user). But after I've changed the ...
Romain P.'s user avatar
  • 1,917
4 votes
2 answers
625 views

Is it possible to set any attributes (such as a class) of the `a` tag when using `getLink()`?

This code: {{ foo.getLink() }} Outputs this: <a href="URL_HERE">NAME_OF_PAGE</a> What I really want is something like: <a href="URL_HERE" class="bar">NAME_OF_PAGE</a> Is ...
Beau Smith's user avatar
2 votes
3 answers
2k views

Is it possible to make links open in a new tab by default?

I have a website where by default I would like all external links to have the "open in a new tab" option to be selected by default. I'm wondering if this is possible either through craft or redactor? ...
patrick.altair's user avatar
2 votes
1 answer
53 views

Check the site for missing file links / warn user before removing used files

A client removed a lot of files in a moment of clarity, not realizing these were used in pages (thinking since they were used in those pages, they were no longer necessary in the assets system). ...
noregt's user avatar
  • 1,062
0 votes
1 answer
215 views

Corruption of Link to an Entry links within Rich Text field

On a local government website running Craft CMS a lot of in-body links are effected with the Link to an Entry function within the Redactor editor. I have encouraged the content editors to use this ...
Jack McKenzie's user avatar