Questions tagged [entry]

The tag has no usage guidance.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
481 views

Updating a single custom field within an Entry

I've got the beginnings of a simple plugin to track views of an article page, just an entry with custom fields including 'dataViews' used below. Within Twig: {% do craft.demoPlugin.incrementView(...
2
votes
0answers
621 views

Asset dynamic subfolder paths referencing entry section not available until saved

I have an asset field within a matrix block, for which uploads are restricted to a single folder. The upload location path is set to {owner.section.handle}/{owner.slug}. Using this pattern the asset ...
1
vote
0answers
23 views

Craft Table/Tabular static entry input field

Is there a way to set up a Craft CMS entry field to have a table with predefined rows and columns? I have tried with the native Craft Table field, but it allows users to add rows or edit default ...
1
vote
0answers
36 views

Share: Getting 'Forbidden' message when sharing externally

I've run into an odd issue and I can't seem to figure out what is going on. Normal Process: I click the Share arrow on a disabled entry. I copy the tokenized link and send it out. Folks without ...
1
vote
0answers
53 views

List entries from different locales using localeEnabled

I have two locales (de, en) and a set of entries. Some have only the german locale enabled, some only the english one. Some have both enabled. Those entries have a status of "live". What I want to ...
1
vote
0answers
417 views

Duplicating multi-language entry

How can I duplicate an existing multi-language entry with all the translated content? When I choose 'Save as new items' when editing an entry, only the content in the language I selected is copied to ...
1
vote
0answers
70 views

Get Related entries from Category besides the category of the entry itself

I have two types of related entries for the current entry. Category: Interviews -> Photographer Interviews -> Skateboarder Interviews -> Filmer Interviews -> Owner I am now on an entry with the ...
1
vote
0answers
117 views

Compose entry URL with hierarchy

I’m moving new project from Wordpress to Craft, which has the hierarchy in URLs. I’m try to compose URL for this new project: New category field have an option "Limit the number of selectable ...
1
vote
0answers
230 views

Get entries using Multi-Select Field as Criteria

When querying for entries, I'm stuck on how to query for "selected" fields. The query I'm using: $criteria = craft()->elements->getCriteria(ElementType::Entry); $criteria->section('athletes'...
0
votes
1answer
15 views

Impossible to access an attribute on a null variable - on the one() methode - all() works!

first question - but I think this is a bug (not my fault). I have entries/pages (a structure) - one parent (product overview) with children (products) I have one category group with categories - ...
0
votes
0answers
13 views

entry / asset url integrity check

Is there any mechanism in Craft (or a plugin) which protects entries or assets from being deleted, if they are used in an asset / entry field used in an entrytype, global, ...? Or is there a way to ...
0
votes
0answers
10 views

Sort entry query by their table of values if said values are in a separate array of values

Morning (in the UK at least) - I'm trying to sort/order/filter an entry query by an array of values. The array is a list of IDs (e.g. [2,7,8]), and inside each entry is a table with a list of IDs that ...
0
votes
0answers
22 views

Images won‘t display in an entry loop

Unfortunately I'm still very new to Craft, but I have a question to which I haven't found an answer here or in the Docs or the ones I found don't seem to work: Why doesn't this entry-loop output a ...
0
votes
0answers
21 views

yii\base\Exception - while saving nested structure entry

while saving a nested structure entry, we're having the following error. The invalid ID is the parent one. Your help is welcome. Nicolas yii\base\Exception - POST Invalid entry ID: 6518 ...
0
votes
0answers
46 views

Notification Plugin - Internal Server Error

Have tried a couple different plugins to generate a simple email notification when someone submits a Guest Form. "Guest Entries Notification" didn't do anything. It didn't display errors or send an ...
0
votes
0answers
26 views

Editing Entries are not working

I am not sure if anybody has come across this, but after clicking "Settings" in the Admin Center all of my "Pages" entries are un-editable. When I click to edit them, all that shows is the title, the ...
0
votes
0answers
25 views

How to get category/entry url and a category url in entry breadcrumbs

I have entries for a channel called ‘resources’ that are related to multiple resource categories. When I call the category specific resource entries in a index, how can I get the url of website/...
0
votes
0answers
13 views

Getting charges from Charge 2 plugin based on entry field

I setup Charge 2 plugin (v2.3.0) with One-off payment. I have created a custom field with Entry type and associated with Charge content. I am trying to find out charges based on that related entry. I ...
0
votes
0answers
19 views

Use one entry's records in Dropdown field

Let's assume we have two sections... the 1st is topic and the 2nd is videos. I want to filter videos from topic's name. So I want to use topic name as a dropdown in the videos section. But I don't ...
0
votes
0answers
47 views

Change Dropdown Value via Module

I'm looking to change a dropdown field within an entry, then save it. I currently have a lightswitch which works perfectly, but now I need to change a dropdown field. I have the following for the ...
0
votes
0answers
25 views

Setting an Entry field using sum

I'm looking to set a 'score' property on my "category" field, this will be done by calculating how many entries are within that category similar to a 'Trending' feature. Is there any way to set a ...
0
votes
0answers
63 views

Form Error Causes Page to Reload Without an Entry ID

I have a section (single) that uses a template that shows information from the entry and includes a form (uses entry form) that posts to a different section (event registration info). All is fine as ...
0
votes
0answers
153 views

Entry Form not working

I have a simple entry form on the frontend that will not save form data. After submit it returns to the form page with no errors, rather than going to the url I set in the redirect variable. I have ...
0
votes
0answers
432 views

Front End Upload Form for guests

I've put together an entry form with a front end file upload, following the excellent answer here. It works perfectly, for logged in users only. I'm wondering is this method is at all workable for ...
0
votes
0answers
120 views

Is it possible to access backend fields from my own field type?

I'm trying to access the value of an asset field in a backend entry form from my plugins own field type. At the moment it's looking like the following: public function prepValue($value) { $...