Skip to main content

Questions tagged [reference-tags]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
68 views

Prevent Redactor from adding site identifier to entry links

I have a multi-site setup, and when using Redactor's Link to an entry function, by default, site identifiers are added to the link href: href="https://mysite/my-page#entry:4223@3:url" I would like ...
Garrett's user avatar
  • 417
0 votes
1 answer
80 views

Is it possible to import the content of a rich text field into matrix using FeedMe without parsing reference tags to entries/assets?

Currently I have content that I’m trying to migrate from a single rich text field into a rich text field living in a Matrix content builder. Migrating most of the content is fine, but I would like to ...
Christopher Kennedy-Nuñez's user avatar
1 vote
0 answers
63 views

Custom Element Reference Tags

I have created a custom element type and cant get the reference tags to parse correctly, I've set the refHandle and the action to copy reference tag which seems to be correct format when I copy a ...
WillBV's user avatar
  • 81
1 vote
0 answers
270 views

Redactor inserts reference tags into IMG when using image transforms, but tag not being processed by parseRefs

Been working with Craft for about a year, but today for the first time I had to modify the Redactor config to place images inside a body field. I added 'image' to my buttons array and everything ...
Critical Mash's user avatar
2 votes
2 answers
209 views

image transform on reference tag

Can someone tell me how to do an image transform on a reference tag? I've tried {% set images %} <img src="{asset:123:getUrl('transform')}" /> <img src="{asset:124:getUrl('transform')}" />...
Coen van der Kolk's user avatar
0 votes
1 answer
396 views

Reference tags inside Matrix textfield

I have a {{ siteURL }} tag inside a matrix plain text field. But it does only render as a tag and isn't beeing converted to the actual url. Accoring to this post one way is to use reference tags. So ...
KSPR's user avatar
  • 3,786
2 votes
1 answer
512 views

Linking to specific entries in Twig: How performant is Reference Tags parsing?

I have a small menu of fixed entries that forms a sub-nav on a site. I'm currently using Reference Tag parsing to grab links to these entries: <li><a href="{{ '{entry:3666:url}' | parseRefs ...
Michael Rog's user avatar
  • 3,420
2 votes
1 answer
276 views

Reference tags in rich text fields parse and converted on save

In my rich text field, I have a reference tag: {globalset:34:address}. When I save and open the entry back up, the content is no longer a reference, but the parsed content, which sort of eliminates ...
Tim Kelty's user avatar
  • 3,081
2 votes
1 answer
238 views

How can I use a reference tag with a global set using the handle (not the ID)

https://craftcms.com/docs/reference-tags In my tests, only using the ID with globalsets work, e.g {globalset:34:address}. I'd like to do {globalset:misc:address}, with misc being the global set ...
Tim Kelty's user avatar
  • 3,081