Questions tagged [id]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
64 views

Does entry ID change with locale?

I have a condition that checks entry Id. The condition seems to not work for Japanese locale but works fine on English. I would think that entry ID remains the same irrespective of the locale. Please ...
3
votes
1answer
26 views

Output values from all entries in a specific section EXCEPT those with a specific category id

Currently, this is NEARLY doing what I want except instead of the output being entries that do NOT have the id, it's output is ONLY the entries with the id. I'm not sure why, since I've included the '...
1
vote
1answer
510 views

exclude list of entries from craft.entries tag

I am attempting to list out all jobs that the current author has created but which are not already to other entries they've created. I have both an array and a string containing the entry ids to ...
2
votes
2answers
33 views

Any ID I could reference in sections

I created a section for appointment record (channel type). Each appointment record has different fields, i.e. customer name, phone#, address, etc... I would like to set a unique appointment_record_id (...
2
votes
1answer
453 views

ID query format

I am trying to get a query to work using the id() param on a craft.entries.find() call and am stuck getting nothing back from Craft. We are getting an array of entry IDs from a CRM to personalize the ...
2
votes
1answer
123 views

Omit Featured Entry from loop of entries with additional omissions

I have a homepage single section has a field for entries (only 1 can be selected). This field is called featuredEntry. In my homepage template (index.html) I set a variable {% set featured = entry....
3
votes
2answers
743 views

Encrypt ID on front-end and decrypt on back-end

I have a front-end form that posts through the ID of a particular element/entry to a back-end controller. Is there any way to encrypt/hash that ID on the front-end, so the plain ID number is not ...
9
votes
1answer
2k views

Exclude multiple entries by their IDs

I have a structure people that I need to grab entries from. However, I need to exclude certain entries as some are already displayed on the page in a different manner. I know that you can exclude a ...
3
votes
1answer
668 views

ElementCriteriaModel exclude list of ids

I'm trying to exclude a list of ids from a query using an ElementCriteriaModel This is what I have so far, but it's resulting in nothing coming back when I'm expecting at least 1 result. Is something ...
3
votes
1answer
197 views

If loop contains id `X`

Is it possible to check a matrix array for an ID? I created a entries field which functions as a navigation. Now if the user decides to remove one entry I want the specific template to return a 404 ...