Questions tagged [link]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
22 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 ...
1
vote
1answer
77 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-...
1
vote
1answer
73 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 ...
1
vote
1answer
31 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 ...
0
votes
1answer
12 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 ...
1
vote
1answer
28 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 ...
0
votes
1answer
45 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 ...
1
vote
1answer
296 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 possible ...
1
vote
1answer
69 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 ...
0
votes
2answers
161 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 ...
3
votes
1answer
524 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?
1
vote
1answer
76 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 ...
1
vote
1answer
137 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 ...
1
vote
1answer
247 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 ...
4
votes
2answers
263 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 ...
2
votes
1answer
796 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? ...
2
votes
1answer
42 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). ...
0
votes
1answer
109 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 ...