Questions tagged [tags]

Tags are folksonomies for your entries, users, and assets.

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

Getting an entry's tags

I'm trying to find a way to get tag data from a Model. Currently, I have a template that makes use of tags in an entry like this: Codes: {% for tag in entry.codes %} {{ tag.title }}; {% endfor %} ...
1
vote
1answer
811 views

Output section and tag name with URL in entry loop

I'm trying to loop through entries in specific sections and output Entry's: - URL - Title - Type - Asset's image - asset's URL - Section's name - Section's URL - Tag's ...
1
vote
1answer
14 views

Building my first Sprout Form and need ability to add Tags input

I'm building my first Sprout Form and I need a tags relational field, but where the user filling in the form can add their own tags, but if similar/matching tags exist then they can select them, like ...
1
vote
1answer
100 views

Fetch Entries with Tags Only

I'm trying to get all the entries which have tags associated with them. At the moment I'm doing: $entries = Entry::find()->with('tags')->all(); and then filtering the results in PHP as ...
1
vote
1answer
39 views

Display entries by tag

I've read through the docs but can't figure out what I'm doing wrong here: I'd like to display a list of entries by tag, where the tag is in segment 2 of the url. Here's what I've tried and is not ...
1
vote
1answer
113 views

Filter entries by tags

Still very new to Craft but just can't figure this problem out, it's a level above me at the moment. I have an FAQ page as a 'single' that I would like to display all entries from a channel by ...
1
vote
1answer
51 views

Tag Localization: how to create a tag without translation fallback version?

I'm dealing with tag localization on an English/Spanish site and have figured out that if I create a new tag, both En and Es elements are created by default, which would be O.K. if I never had to ...
1
vote
1answer
48 views

Trying to set a default asset folder using Craft tags

I'm trying to set a default asset folder for a field, as per the Craft docs on Dynamic Subfolder Paths. I'm trying to set the asset path for each blog article to be /our-journal/{date}/{slug}, where ...
1
vote
1answer
241 views

How to get a proper tag Url

I use the code "Link to the Tag URLs" from the following article: https://craftcms.com/support/tag-urls {% if entry.tags | length %} <h3>This entry is tagged with:</h3> <ul> {% ...
1
vote
1answer
45 views

Craft ordering tags by 'name'

I've got a problem with some tasks. Craft tells me 'Deleting Stale Template Caches Failed' multiple times. When I look in the Deprecated Warnings, it tells me two things: Ordering tags by ‘name’ has ...
1
vote
1answer
303 views

How do I retrieve tags and tag data for an entry in Element API?

In Element API v1, I am setting up an endpoint that is trying to expose a news entry including the tags (title, id, slug) associated with it. Thought it could be set up similarly to how you can ...
1
vote
1answer
97 views

How do I add the Categories and tags related to each entry?

This is my basic entry layout and I just want to display the linked category and tag names as indicated… <div class="posts sidemeta"> {% for entry in craft.entries.section('news').find() %} <...
1
vote
1answer
63 views

Is it possible to allow a user choose tags in admin panel using checkboxes?

The system I'm building requires a flexible taxonomy, where users should be able to add new taxonomy stuff to entries really easy and freely as soon as the need arises. So tags seem to work best for ...
1
vote
1answer
24 views

Can I move existing tags, which are currently in a global tag group, to new the new tag groups I've set up?

I've set up new tag groups to help organise the c300b tags we have set up. How do I move the existing tags, which are already in use, to the new tag groups?
1
vote
1answer
123 views

Tagging all assets in a sub directory

I'm building a project with a lot of photo assets organized into sub directories of the main photos asset source. I'm trying to add tags to these assets so they are searchable when I try to use them ...
1
vote
1answer
351 views

Element API: List entries related by tag

How can I pull out other entries related by tag using the Element API? In this particular case I'm using the Similar plugin to pull out related entries by tag in the templates. I'm not sure if this ...
1
vote
1answer
317 views

Product Type Collections & Tags

I'm pretty new to Craft and Craft Commerce and right now I'm struggling with the following: in the navigation I want a list item for every product type. This works with the following code: {% for ...
1
vote
0answers
51 views

get tags related to entry

I'm working on Craft plugin which should find entries with special tags. In my action I have a string: $entries = Entry::find()->section('Projects')->type(['Projects']); and it returns all ...
1
vote
1answer
71 views

Ajax - Create tag with custom ID programatically

I'm trying to create an jQuery/Ajax script to import data from a Wordpress API service and want to import the WP tags into my database. Everything works as expected when I loop through the data and ...
1
vote
0answers
56 views

Plugins for Tags

Is there any plugin for Tag that will be like: Text field in a front-end entry form where user can add multiple tags. After pressing the save button, the plugin should: check for every tag, whether ...
0
votes
3answers
769 views

How to populate a custom checkbox field with tag data dynamically?

Hi wondering if this is possible. I have a custom checkbox field for user interests added to the user profile. Is there a way to populate the checkbox options dynamically using tag data?
0
votes
1answer
570 views

Confused about tags

I'm tried to following the how-to implement tags but can't see to get it to work. The how-to: https://craftcms.com/support/tag-urls I created a new route, and in the URI field, I entered: tags/( ‘...
0
votes
2answers
51 views

How can I make an oversized chalkboard organiser? [closed]

I found this ( http://www.pbteen.com/products/oversized-chalkboard-organization/ ) on PB Teens and Pinterest and fell in love. It's perfect for me but at a price of around £200 is a bit ridiculous! ...
0
votes
2answers
220 views

Craft renders unwanted quotation marks on some tags

Breaking my head over this. On one of the tags in the HTML template. The {% for image in category.CategorieImage %} loop. Craft seems to generate 2 unwanted quotation marks ("). These characters are ...
0
votes
1answer
76 views

I would like to implement the remarketing tag into my website

I was wondering if anybody can help me with the implementation of the remarketing tag into my site. I have the codes and I just don't know where to enter them.
0
votes
1answer
176 views

Is there a way to limit output of Tags related to an entry?

I've checked it with documentation but, tag model doesn't have limit() property as entries have. Wondering, If there is any way around to achieve it?
0
votes
1answer
67 views

How to add tags in craft CMS 3

This is my first template that im working on in craft cms3, i've managed to make the most of the homepage and other tabs of website dynamic using the CMS, but I can't figure out how do I make tags and ...
0
votes
1answer
107 views

Show tags in tag group only being used on live entries

Looking to loop through tags from entries but limit to only show tags that are being used on entries. Right now this just loops through any and all created tags. I tried limit to null but have had no ...
0
votes
1answer
41 views

My `for` loop has fallen…and it can't get up

I want my <ul> to show a single tag representing all "active" entries ( "active" using a custom lightswitch field in the entry: fellowStatus. Each tag is a year (e.g. 2014, 2010, etc) E.g. if ...
0
votes
2answers
40 views

I can't get Tags and Archive pages to appear

Necessary disclaimer. Web design dilettante, so I ll probably have trouble following your answers if they get too technical. I am building a blog. I am am trying to use tags bellow posts and when ...
0
votes
0answers
12 views

Can I link to a tag from Redactor?

Title says it all. I have tags that I use to relate entries to each other. When typing inside a Redactor field I would like to be able to write something like #engineering and have that tag become a ...
0
votes
0answers
13 views

filter tags by level

I have a tag field in a section. We'd like to filter the tags in a tag cloud according to what level they are in - so all the children or siblings of the current entry will show up, but not all tags. ...

1 2
3