# Uncategorized

**URL:** https://discourse.getcockpit.com/c/uncategorized/1.md?page=1

[Latest](https://discourse.getcockpit.com/latest.md) · [Categories](https://discourse.getcockpit.com/categories.md)

**Page:** 2

---

## [Api call by jwt does not work-\> code is added](https://discourse.getcockpit.com/t/api-call-by-jwt-does-not-work-code-is-added/2864)

<div class="topic-metadata">

**Author:** [@xiclica](https://discourse.getcockpit.com/u/xiclica)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 11:41am UTC](https://discourse.getcockpit.com/t/api-call-by-jwt-does-not-work-code-is-added/2864 "2023-09-07T11:41:46Z")

</div>

trying to make the flow of requests through jwt , (internal library in the helpers ), I did not know how to authenticate the calls with jwt , reviewing the code I realized that there was no code for that section, To val…

---

## [Filtering in PHP](https://discourse.getcockpit.com/t/filtering-in-php/2849)

<div class="topic-metadata">

**Author:** [@seank1968](https://discourse.getcockpit.com/u/seank1968)\
**Replies:** 3\
**Last updated:** [August 4, 2023, 11:01am UTC](https://discourse.getcockpit.com/t/filtering-in-php/2849 "2023-08-04T11:01:42Z")

</div>

I’m using the following: $posts = cockpit('collections')-\>find('Staff', \[ 'filter' =\> \['active' =\> true, 'first\_name' =\> $name, \], 'sort' =\> \['last\_name' =\> 1\], \] )…

---

## [Prevent user from logging in to the admin area](https://discourse.getcockpit.com/t/prevent-user-from-logging-in-to-the-admin-area/2823)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 4\
**Last updated:** [August 3, 2023, 2:25pm UTC](https://discourse.getcockpit.com/t/prevent-user-from-logging-in-to-the-admin-area/2823 "2023-08-03T14:25:08Z")

</div>

Hi, How do i prevent users from logging into the dashboard/backend/admin area. I need users to only interact with the frontend I’m building. Thanks in advance!

---

## [How to delete multiple assets?](https://discourse.getcockpit.com/t/how-to-delete-multiple-assets/2844)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 3\
**Last updated:** [August 1, 2023, 3:26pm UTC](https://discourse.getcockpit.com/t/how-to-delete-multiple-assets/2844 "2023-08-01T15:26:32Z")

</div>

I often need to delete multiple images but I can’t find a way to delete more than one add a time? Is there a list view with tick boxes like with the collections? Thanks

---

## [Limit Get access to only collection/{id}](https://discourse.getcockpit.com/t/limit-get-access-to-only-collection-id/2847)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 3:03pm UTC](https://discourse.getcockpit.com/t/limit-get-access-to-only-collection-id/2847 "2023-08-01T15:03:00Z")

</div>

When you allow read access you can read everything but what if you only want to allow reading a single item by id and not a complete list? Thanks in advance!

---

## [Moving from Drupal 7!](https://discourse.getcockpit.com/t/moving-from-drupal-7/2834)

<div class="topic-metadata">

**Author:** [@SirRoadwolf](https://discourse.getcockpit.com/u/SirRoadwolf)\
**Replies:** 1\
**Last updated:** [July 18, 2023, 4:52pm UTC](https://discourse.getcockpit.com/t/moving-from-drupal-7/2834 "2023-07-18T16:52:43Z")

</div>

Greetings all! I am Roadwolf, a casual blogger. I have had my blog running for about 18 years now. It started on simple HTML and then wordpress for a while, but much of it’s life has been on Drupal. I have now grown …

---

## [Fetch collection definitions / meta data](https://discourse.getcockpit.com/t/fetch-collection-definitions-meta-data/2827)

<div class="topic-metadata">

**Author:** [@Shackless](https://discourse.getcockpit.com/u/Shackless)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 6:27pm UTC](https://discourse.getcockpit.com/t/fetch-collection-definitions-meta-data/2827 "2023-07-05T18:27:40Z")

</div>

Is it possible to fetch the underlying (structural) JSON for any given collections in a space? I’d like to write a small tool that takes a space endpoint and API key and then generates TypeScript interfaces for all the …

---

## [Content link to user](https://discourse.getcockpit.com/t/content-link-to-user/2826)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 7:45am UTC](https://discourse.getcockpit.com/t/content-link-to-user/2826 "2023-07-05T07:45:40Z")

</div>

Hi, How do I connect a content link to a user? I need to keep some user specific information. Thanks!

---

## [Error when create pages in cockpit 2.5.2](https://discourse.getcockpit.com/t/error-when-create-pages-in-cockpit-2-5-2/2793)

<div class="topic-metadata">

**Author:** [@creativeplusplus](https://discourse.getcockpit.com/u/creativeplusplus)\
**Replies:** 3\
**Last updated:** [May 28, 2023, 7:05pm UTC](https://discourse.getcockpit.com/t/error-when-create-pages-in-cockpit-2-5-2/2793 "2023-05-28T19:05:56Z")

</div>

Dear Artur in cockpit 2.5.2 Pages when click “create page” doesn’t do anthing , no error found in admin logs check console log in browser TypeError: crypto.randomUUID is not a function

---

## [What happened to gallery field in the new cockpit free?](https://discourse.getcockpit.com/t/what-happened-to-gallery-field-in-the-new-cockpit-free/2511)

<div class="topic-metadata">

**Author:** [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Replies:** 3\
**Last updated:** [May 8, 2023, 6:36am UTC](https://discourse.getcockpit.com/t/what-happened-to-gallery-field-in-the-new-cockpit-free/2511 "2023-05-08T06:36:03Z")

</div>

How can you add a field that intakes multiple images/assets in the new cockpit free? There used to be a field called gallery.

---

## [Icons for Collection items](https://discourse.getcockpit.com/t/icons-for-collection-items/2565)

<div class="topic-metadata">

**Author:** [@webcliq](https://discourse.getcockpit.com/u/webcliq)\
**Replies:** 3\
**Last updated:** [April 14, 2023, 2:54pm UTC](https://discourse.getcockpit.com/t/icons-for-collection-items/2565 "2023-04-14T14:54:25Z")

</div>

I would like to change the Icon for a Collection item. When the dialog pops up to change an Icon from Collection \> Edit \> Other \> change Model Icon, I have no icons to choose from. Where should they be? Probably there is…

---

## [Field Data in Preview Links](https://discourse.getcockpit.com/t/field-data-in-preview-links/2773)

<div class="topic-metadata">

**Author:** [@dreieinsvier](https://discourse.getcockpit.com/u/dreieinsvier)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 8:01pm UTC](https://discourse.getcockpit.com/t/field-data-in-preview-links/2773 "2023-04-13T20:01:33Z")

</div>

Hi There, Is it possible to reference field data in a preview url? i tried something like: https://my-domain.tld/${data.fieldname} but without success… Is there a way to do that? Thanks

---

## [Webhook not trigger](https://discourse.getcockpit.com/t/webhook-not-trigger/2770)

<div class="topic-metadata">

**Author:** [@creativeplusplus](https://discourse.getcockpit.com/u/creativeplusplus)\
**Replies:** 1\
**Last updated:** [April 10, 2023, 11:10pm UTC](https://discourse.getcockpit.com/t/webhook-not-trigger/2770 "2023-04-10T23:10:05Z")

</div>

Dear Arthur, If I copy paste URL in browser its trigger build in vercel, but the events not triggered when save content item or update pages, any wrong in events? manual trigger return 500 below the error log { …

---

## [How to add custom user fields?](https://discourse.getcockpit.com/t/how-to-add-custom-user-fields/965)

<div class="topic-metadata">

**Author:** [@libinprasanthD](https://discourse.getcockpit.com/u/libinprasanthD)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 4:12pm UTC](https://discourse.getcockpit.com/t/how-to-add-custom-user-fields/965 "2023-04-09T16:12:28Z")

</div>

How to add custom user fields ?

---

## [Options to Selected custom component in layout field](https://discourse.getcockpit.com/t/options-to-selected-custom-component-in-layout-field/2763)

<div class="topic-metadata">

**Author:** [@creativeplusplus](https://discourse.getcockpit.com/u/creativeplusplus)\
**Replies:** 3\
**Last updated:** [March 31, 2023, 10:40am UTC](https://discourse.getcockpit.com/t/options-to-selected-custom-component-in-layout-field/2763 "2023-03-31T10:40:09Z")

</div>

Dear Arthur, is there any options to show only selected components in layout fields in v2 ? like this link New Addon - Custom Components thanks

---

## [Getting total collection entries for pagination component](https://discourse.getcockpit.com/t/getting-total-collection-entries-for-pagination-component/2760)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 2\
**Last updated:** [March 29, 2023, 11:04am UTC](https://discourse.getcockpit.com/t/getting-total-collection-entries-for-pagination-component/2760 "2023-03-29T11:04:59Z")

</div>

I’m working on a pagination component and need to know the total number of entries in a collection for a given request. Thanks in advance

---

## [WYSIWYG tinymce toolbar format select not showing](https://discourse.getcockpit.com/t/wysiwyg-tinymce-toolbar-format-select-not-showing/2748)

<div class="topic-metadata">

**Author:** [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Replies:** 2\
**Last updated:** [March 27, 2023, 8:05am UTC](https://discourse.getcockpit.com/t/wysiwyg-tinymce-toolbar-format-select-not-showing/2748 "2023-03-27T08:05:49Z")

</div>

When trying to change the options for the wysiwyg editor the format select menu is not showing.

---

## [How do sort collections by date or id?](https://discourse.getcockpit.com/t/how-do-sort-collections-by-date-or-id/2743)

<div class="topic-metadata">

**Author:** [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 5:31pm UTC](https://discourse.getcockpit.com/t/how-do-sort-collections-by-date-or-id/2743 "2023-03-23T17:31:28Z")

</div>

When fetching collections data using the API how do you sort the collection by one of the fields? The documenation just says this without any examples or references as to what json object should be passed: \* sort Url enc…

---

## [PHP 8.1.0 is required?](https://discourse.getcockpit.com/t/php-8-1-0-is-required/2741)

<div class="topic-metadata">

**Author:** [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 5:13pm UTC](https://discourse.getcockpit.com/t/php-8-1-0-is-required/2741 "2023-03-23T17:13:11Z")

</div>

I tried to install the latest cockpit version and received this error on /install \*\*Fatal error\*\* : Composer detected issues in your platform: Your Composer dependencies require a PHP version "\>= 8.1.0". You are running…

---

## [Bug File image Upload in getcockpit 2.4.0](https://discourse.getcockpit.com/t/bug-file-image-upload-in-getcockpit-2-4-0/2731)

<div class="topic-metadata">

**Author:** [@creativeplusplus](https://discourse.getcockpit.com/u/creativeplusplus)\
**Replies:** 4\
**Last updated:** [March 15, 2023, 4:30am UTC](https://discourse.getcockpit.com/t/bug-file-image-upload-in-getcockpit-2-4-0/2731 "2023-03-15T04:30:00Z")

</div>

Hi Arthur, in Apache server getcockpit 2.3.7 assets upload jpeg seems fine but in getcockpit 2.4.0 assets upload jpg or png failed to upload but pdf can upload both on same server

---

## [How to create field index for collection?](https://discourse.getcockpit.com/t/how-to-create-field-index-for-collection/2732)

<div class="topic-metadata">

**Author:** [@COValhalla](https://discourse.getcockpit.com/u/COValhalla)\
**Replies:** 0\
**Last updated:** [March 13, 2023, 8:16pm UTC](https://discourse.getcockpit.com/t/how-to-create-field-index-for-collection/2732 "2023-03-13T20:16:16Z")

</div>

Hey there, We are still on version 0.90 of Cockpit CMS, if its relevant. We have a Collection of “Units” that have a field “Serial”. It is important that “Serial” be unique and not duplicated. It doesn’t look like I’m s…

---

## [How to change the dashboard UI language?](https://discourse.getcockpit.com/t/how-to-change-the-dashboard-ui-language/2599)

<div class="topic-metadata">

**Author:** [@dbkblk](https://discourse.getcockpit.com/u/dbkblk)\
**Replies:** 11\
**Last updated:** [February 8, 2023, 3:29pm UTC](https://discourse.getcockpit.com/t/how-to-change-the-dashboard-ui-language/2599 "2023-02-08T15:29:20Z")

</div>

Hello, I’m trying to find out how to change the UI language to another language than English (fr-FR), but I cannot find a way nor indications on how to do it with cockpit v2. Is it possible? Thank you

---

## [Error installing on shared hosting (domainracer)](https://discourse.getcockpit.com/t/error-installing-on-shared-hosting-domainracer/2670)

<div class="topic-metadata">

**Author:** [@JoyMajumdar2001](https://discourse.getcockpit.com/u/JoyMajumdar2001)\
**Replies:** 3\
**Last updated:** [January 12, 2023, 5:21pm UTC](https://discourse.getcockpit.com/t/error-installing-on-shared-hosting-domainracer/2670 "2023-01-12T17:21:49Z")

</div>

When I hit the url 403 forbidden access error is popping up. How to solve it ?

---

## [Create custom field or add layout field in v2](https://discourse.getcockpit.com/t/create-custom-field-or-add-layout-field-in-v2/2632)

<div class="topic-metadata">

**Author:** [@poll](https://discourse.getcockpit.com/u/poll)\
**Replies:** 1\
**Last updated:** [December 19, 2022, 12:54am UTC](https://discourse.getcockpit.com/t/create-custom-field-or-add-layout-field-in-v2/2632 "2022-12-19T00:54:05Z")

</div>

I want to use the layout field, but I can’t find how to add it. Is there a way to do this somehow or write an addon that implements this.

---

## [How to get Singleton modified timestamp](https://discourse.getcockpit.com/t/how-to-get-singleton-modified-timestamp/2375)

<div class="topic-metadata">

**Author:** [@Carsten](https://discourse.getcockpit.com/u/Carsten)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 4:26pm UTC](https://discourse.getcockpit.com/t/how-to-get-singleton-modified-timestamp/2375 "2022-11-29T16:26:29Z")

</div>

There are some older threads on this topic and I would like to know if there is any news on this. It’s easy to filter for \_modified timestamps when I ask for collections, and I thought this would work the same way with …

---

## [Query like Mongodb query](https://discourse.getcockpit.com/t/query-like-mongodb-query/2572)

<div class="topic-metadata">

**Author:** [@jbeuria](https://discourse.getcockpit.com/u/jbeuria)\
**Replies:** 7\
**Last updated:** [November 25, 2022, 1:05pm UTC](https://discourse.getcockpit.com/t/query-like-mongodb-query/2572 "2022-11-25T13:05:44Z")

</div>

Hello, I am trying to query like mentioned in https://www.mongodb.com/docs/manual/reference/operator/query/regex/#mongodb-query-op.-regex When I try using GET “http://localhost:8400/api/content/items/Books?filter={Cod…

---

## [Updating Collection entry via API](https://discourse.getcockpit.com/t/updating-collection-entry-via-api/2560)

<div class="topic-metadata">

**Author:** [@SKWeb](https://discourse.getcockpit.com/u/SKWeb)\
**Replies:** 0\
**Last updated:** [November 15, 2022, 2:42pm UTC](https://discourse.getcockpit.com/t/updating-collection-entry-via-api/2560 "2022-11-15T14:42:03Z")

</div>

Hi - very new to Cockpit as I’ve been asked by a client to do a bit of work on an existing site. I am trying to update a collection entry via a HTTP request: https://mydomain.com/api/collections/save/member/?token=xxxx…

---

## [Account-Link Field Type?](https://discourse.getcockpit.com/t/account-link-field-type/2285)

<div class="topic-metadata">

**Author:** [@seank1968](https://discourse.getcockpit.com/u/seank1968)\
**Replies:** 2\
**Last updated:** [November 15, 2022, 12:30pm UTC](https://discourse.getcockpit.com/t/account-link-field-type/2285 "2022-11-15T12:30:37Z")

</div>

Had the following idea: I have the User Groups addon - I have assigned some users to the group ‘Profile’ I have a Collection called Profiles Each entry is a ‘user profile’ - Photo, address, social media links etc I c…

---

## [Cockpit for Arm server](https://discourse.getcockpit.com/t/cockpit-for-arm-server/2550)

<div class="topic-metadata">

**Author:** [@Acwildweb](https://discourse.getcockpit.com/u/Acwildweb)\
**Replies:** 0\
**Last updated:** [November 4, 2022, 8:13am UTC](https://discourse.getcockpit.com/t/cockpit-for-arm-server/2550 "2022-11-04T08:13:30Z")

</div>

Hi. Is Cockpit compatible with Oracle Ampere Arm Istances?

---

## [Import functionality via tower CLI](https://discourse.getcockpit.com/t/import-functionality-via-tower-cli/2545)

<div class="topic-metadata">

**Author:** [@julian.schmidl](https://discourse.getcockpit.com/u/julian.schmidl)\
**Replies:** 0\
**Last updated:** [October 27, 2022, 7:55am UTC](https://discourse.getcockpit.com/t/import-functionality-via-tower-cli/2545 "2022-10-27T07:55:13Z")

</div>

Hey everyone, the old cp-CLI had an import function. Is such a function planned for the tower CLI as well? Or in other words: How do you import backups into the system? Directly on database level? Thanks and kind regar…

[Previous page](https://discourse.getcockpit.com/c/uncategorized/1.md)

[Next page](https://discourse.getcockpit.com/c/uncategorized/1.md?page=2)
