Questions tagged [cockpit-cms]

Cockpit CMS is a self-hosted headless and api-driven CMS written in PHP.

Cockpit CMS provides a flexible content without being limited in how to use the content.

Website

Repository

13 questions
2
votes
1 answer

Change the subject of the email - Form module

I'm developing a website with Cockpit and React JS. In this project, there is a very simple contact form (name, email, message). I created a form in Cockpit, via the Forms module, and I added a configuration file in Cockpit (config/config.yaml)…
2
votes
0 answers

Cockpit cms 404 redirect

My website is hosted over cpanel: http://123.22.111.33/~folder/ When I try to access cockpit cms: http://123.22.111.33/~folder/cockpit I've got 404 error, but URL is changed to: http://123.22.111.33/auth/login I have rewrite rules, but they are not…
GiJoe1232
  • 21
  • 2
2
votes
1 answer

How to display Cockpit CMS JSON data with Vue js

I am trying to display Cockpit CMS JSON field with Vue js. However, I am not seeing any data displayed on the page and have no errors with the following code. JS: new Vue({ el: '#story-wrapper', data () { return { stories: [] } …
user2305363
  • 157
  • 2
  • 15
1
vote
2 answers

Automate NuxtJS static site generation

I created a NuxtJS static blog with Cockpit CMS backend. Currently I need to npm run generate locally after I created a new blog post and upload the files from the dist folder to my server. How to automate this process? (What I would like to…
Tom
  • 5,588
  • 20
  • 77
  • 129
1
vote
0 answers

Forms on cockpit CMS

I'm trying to build a form using cockpit CMS. Link : http://localhost/misc/cockpit . As in the docs, I have created a token and given '*' privilage and using it in the endpoint like…
huduga
  • 39
  • 6
1
vote
1 answer

"File not found' when saving collections,forms, and singleton in Cockpit CMS

I've recently installed Cockpit CMS on Apache. Doing some customization on its UI. Everything was okay until I've changed its header icon then whenever I tried to save something on Collections, Forms, Singletons, or even adding entry, it says "File…
Michelley
  • 1,739
  • 2
  • 8
  • 9
1
vote
0 answers

Getting NO_STATUS_CODE_FROM_LAMBDA error when making ssr get calls on now

I'm running a nuxt universal app on now.sh which makes an ssr get call to a https://getcockpit.com/ server somewhere else. When I open the app I get a 502 error with code "NO_STATUS_CODE_FROM_LAMBDA". Running it locally or deploying it as a spa…
Tom
  • 11
  • 4
1
vote
1 answer

Cockpit CMS reordering Repeater field

I have a repeater of set fields in my Collection in Cockpit CMS. Options is: { "fields": [ { "type": "set", "label": "Some Block", "options": { "fields": [ { "name": "title", "type":…
1
vote
1 answer

Cockpit-CMS: How to access data on a simple HTML page

I have looked through the documentation and it's straight forward up until it time to access the data you have created in the CMS. I've created a collection entry for pages with only two entries page-title and page-content The doc says you have…
0
votes
1 answer

cockpit "api/collections/save" 404 error PHP curl

I’m trying to update entries in my collection with PHP curl but I got 404 error every time. $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, APP_URL . '/api/collections/save/trigocms?token=' . APP_TOKEN); curl_setopt($ch, CURLOPT_RETURNTRANSFER,…
ciekals11
  • 2,032
  • 1
  • 10
  • 24
0
votes
0 answers

Nuxt error when running command: npm run dev

When I try to run the command "npm run dev" for my nuxt.js-app, I get following error message: This dependency was not found: *C:\Users\mainuser\nuxt-app.nuxt\client.js in multi eventsource-polyfill…
matlus
  • 33
  • 1
  • 6
0
votes
0 answers

SSRS 2016 Fix a size of Rectangle

I have a rectangles in my Cockpit with an Image Background. Earlier I have put the Images on this rectangle as Buttons. Now the requierments were changed and I am putting as a button a TextBox with an Image Background so that I can make drill down…
0
votes
1 answer

NuxtJS axios post to cockpit CMS

I'm currently building a nuxtjs project with cockpit as my headless CMS. Currently I find an issue in using axios for submitting the post data. When using the following fetch it's working as…
Marco Jacobs
  • 57
  • 1
  • 11