Skip to main content

Questions tagged [saving]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Expiry Date not being saved

we are trying to take advantage of the expiry date of Entries in Craft, but have observed that this field is not being saved into the database. Any ideas why this isn't being saved? Craft CMS 3.7.39
KAL Group's user avatar
2 votes
1 answer
59 views

Updating entry field

I need to save page views for some pages. I ended up doing it with this code: {% set pageviews = entry.pageviews %} {% do entry.setFieldValue('pageviews', pageviews+1) %} {% do craft.app.getElements()....
Samuel's user avatar
  • 69
0 votes
1 answer
232 views

Entry not saving when Redactor bold

I'm having a weird issue with the Rich Text Editor (Redactor -> simple.json, only "bold" and "italic") on newly added fields and only ONE (that i know of) older field. Every time i add a "bold" format ...
Cryptomothy's user avatar
1 vote
1 answer
46 views

Specific word stops entry from saving

I've just migrated a craft site to a staging server from a local environment and have come across an odd bug I have no idea what's causing it. If I use the word "select" in a blog post, the entry ...
John's user avatar
  • 11
3 votes
2 answers
346 views

Mass Creation of Entries

Without taking the time to explain the reason behind the requirement, I need to make about 3,000 empty entries. How can I do this, that is how can I generate X number of entries without manually ...
Steven Thate's user avatar
2 votes
1 answer
512 views

Possible to redirect elsewhere after saving an entry?

I'm editing an entry in the CP... mysite.com/admin/entries/mySection/33-my-awesome-entry Now when I save this entry, it will redirect me back to the entry index page. However, I'd like to override ...
Lindsey D's user avatar
  • 24k
3 votes
1 answer
301 views

Is there a way to change what happens after you save a new entry?

I want to remain on the page I just saved so I can view it in the browser and return to continue editing, without having to find the page again in the all pages/entries area. Is there a way to change ...
Dean Miranda's user avatar
4 votes
1 answer
1k views

YouTube video embeds in rich text field not saving

When adding a YouTube video to a rich text field the video embed appears as expected. The entry then fails to save with no error (if I make other changes at the same time they don't save either). ...
samlester's user avatar
  • 143
2 votes
1 answer
212 views

JS - Determine that an entry is unsaved?

I've created a custom fieldtype... which is basically a button that triggers an AJAX action. When I add this field to my section, I can click the button while I'm editing an entry to perform an action....
Lindsey D's user avatar
  • 24k
4 votes
0 answers
574 views

Saving entries in plugin: How are Assets relations handled? [closed]

I'm importing an existing ExpressionEngine site's content into Craft, using content exported in XML on the EE site, and stepping through each entry. This includes hooking up Assets files, where the ...
Mark J. Reeves's user avatar
1 vote
1 answer
395 views

Slow saving when devMode false, but not while true

All of a sudden, saving entries became really slow (up to a minute). Regardless of entry type. I came across this question: Saving entries in admin panel Problem is when I turn on devMode saving ...
Espen Sandberg's user avatar
1 vote
0 answers
158 views

Add entry ids to a session cookie/variable array on button click?

I'm looking for a way to add entry ID's to an array in either a session cookie or a session variable. I've installed the LJ Cookies plugin (https://github.com/lewisjenkins/craft-lj-cookies) in the ...
toffeejay's user avatar
  • 119
0 votes
2 answers
1k views

I'm getting a 'couldnt save entry' error for a single but all required fields etc are filled

I'm getting a couldnt save entry error, but all the fields are filled and there are no additional errors or input highlighting. Has anyone has this problem? Tried clearing the cache and checking the ...
jackpopp's user avatar
3 votes
1 answer
412 views

Saving entries in admin panel

I have a problem with the admin panel being very slow when saving an entry. It takes about 30 seconds to save an entry. I use a matrix for the different part of the entry (imgs, textfields, titles and ...
Wobee's user avatar
  • 328
2 votes
2 answers
840 views

How to save a global set’s content?

I’m trying to set data within a global set. I’ve tried the following without success: $globalSetHandle = 'settings'; $globalSet = craft()->globals->getSetByHandle($globalSetHandle); $globalSet-...
James's user avatar
  • 1,138
2 votes
1 answer
526 views

Saving entry in back-end with extreme delay

When making any kind of POST to the back-end of my craft install, the server will essentially hang for a significant delay each time. I have researched related issues and have disabled all plugins ...
Michael Thomas's user avatar
1 vote
1 answer
616 views

Errors Saving Entries

Suddenly getting errors when trying to save entries. Have recently upgraded to latest version of Craft. When I try up update a Single Entry I get the error: Fatal error: Call to a member function ...
mmc501's user avatar
  • 1,789