Hi - love this software btw. Totally mind-blowing. Thanks.
Many thanks!
How to make the popup element in the box, thanks.
from a green hand.
Hi, I tried to trigger a Python script in Saltcorn by the "run_js_code" feature of the "Action" object. However, I did not figure out which Javascript code I have to pass to make it working. Thank you for helping!
Get data from datarangefilter and show fulcalendar based on this data, and if its posible to showe period in fulcallendar view longer than one month in dayGrid type.
myView: {
type: 'dayGridMonth',
buttonText: 'My View',
validRange: {
start: START DATE FROM DATARANGE
end: ENDDATEFROM DATARANGE
}
}
I have build an android app corresponding to my page created in Saltcorn dashboard. I have installed this all in my Samsung mobile. When I am running this app in my mobile then after clicking on Login button I am getting message "Unable to call GET http://ccpplamp.saltcorn.com with /jwt Network Error". When I made the page public then after loding the mobile app I am again getting the same error message. Please tell me how to fix this problem?
Best Regards ...
Pankaj Kumar
Hey All!
I have a Ubuntu 22.04 VM that has Chromium installed. I have configured the Page-to-PDF module, but when I attempt to export the page as a PDF, it doesn't work.
I can see the DB queries are executed and the HTML page is created in the file cache for saltcorn on the file system, I then see the chromium process come to life, but nothing happens after that. I never see the PDF or an error message.
Is there anywhere I can go to check logs? Or any sort of manual test I can perform to ensure there is nothing wrong with any of the underlying software or OS that lets this work?
Could anyone please help me to understand how to add a row to a table through an 'edit' or 'show' view panel link without requiring the user to manually designate the relationship.
I have two tables, "rooms" and "equipment".
Rooms table fields: ID, room number, room name
Equipment table fields: ID, brand, category, serial, purch date, location (key to rooms)
I can of course use the 'location' field in an edit view for the equipment table to select the room in which a device is located.
But what if I have a 'list' view of the euipment table embedded within a 'show' view of the rooms table with an add row button. In this case, I want the location field of the equipment 'edit' view to be hidden, and the relatiopnship to defined by the row that I just came from.
So, I am in the show view for "Room 5" (rooms). Within this view I have an embedded list view (equipment) which I will use to add a new printer to the euipment table with "Use view to create". I don't need to manually enter any data in the key to rooms field. Saltcorn already knows this printer belongs to the Purple Room because I arrived to this view via the Purple Room, and so uses this fact to define the relationship.
I have a feeling I'm coming at this from the worng approach, so if the above makes no sense, that may be why
Cheers,
Could anyone please help me to understand how to add a row to a table through an 'edit' or 'show' view panel link without requiring the user to manually designate the relationship.
I have two tables, "rooms" and "equipment".
Rooms table fields: ID, room number, room name
Equipment table fields: ID, brand, category, serial, purch date, location (key to rooms)
I can of course use the 'location' field in an edit view for the equipment table to select the room in which a device is located.
But what if I have a 'list' view of the euipment table embedded within a 'show' view of the rooms table with an add row button. In this case, I want the location field of the equipment 'edit' view to be hidden, and the relatiopnship to defined by the row that I just came from.
So, I am in the show view for "Room 5" (rooms). Within this view I have an embedded list view (equipment) which I will use to add a new printer to the euipment table with "Use view to create". I don't need to manually enter any data in the key to rooms field. Saltcorn already knows this printer belongs to the Purple Room because I arrived to this view via the Purple Room, and so uses this fact to define the relationship.
I have a feeling I'm coming at this from the worng approach, so if the above makes no sense, that may be why
Cheers,
Hi, i would like to pay a consultant for some help with my site and saltcorn, in a more instant messaging capacity.
Can send payments by the hour through bitcoin or any other crypto.
An example of the kind of help i need is : setting things up so that a specific image is shown based on user input in a field.
Thanks !
Hi, is it possible to create a multiple choice item ?
Hello I love and would like to use saltcorn, however I would really use to filter by single HTML fields and cant find out how to. E.g. Field1 and Field2 are both HTML fields and Field1 must contay string1 and Field2 string2. If both conditions are true, the data entry is displayed. This is a text search each time but limited to one field.
Thank You, Oliver
Hi there,
I just installed saltcorn and so far everything works good.
I did an ubuntu install: https://wiki.saltcorn.com/view/ShowPage/install-on-ubuntu
Got custom SSL running.
Although if i want to connect to the store i get an invalid JSON error.
The JSON is OK - but it seems not to reach the system.
Is there some paket missing I am not aware of?
Is this a known issue or did I something wrong?
Bevore I build everything again to double check I wanted to ask here first.
Saltcorn Version | 0.8.7-beta.0 |
---|
Node.js Version | v14.21.3 |
---|---|
Datenbanktyp | PostgreSQL 14.8 |
Jun 12 13:33:31 apps saltcorn[21222]: FetchError: invalid json response body at https://store.saltcorn.com/api/extensions reason: Unexpected token < in JSON at position 0
Jun 12 13:33:31 apps saltcorn[21222]: at /home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/node-fetch/lib/index.js:273:32
Jun 12 13:33:31 apps saltcorn[21222]: at processTicksAndRejections (internal/process/task_queues.js:95:5)
Jun 12 13:33:31 apps saltcorn[21222]: at Function.store_plugins_available_from_store (/home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/models/plugin.ts:198:18)
Jun 12 13:33:31 apps saltcorn[21222]: at Function.store_plugins_available (/home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/models/plugin.ts:166:26)
Jun 12 13:33:31 apps saltcorn[21222]: at get_store_items (/home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/server/routes/plugins.js:164:19)
Jun 12 13:33:31 apps saltcorn[21222]: at /home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/server/routes/plugins.js:551:19 {
Jun 12 13:33:31 apps saltcorn[21222]: type: 'invalid-json'
Jun 12 13:33:31 apps saltcorn[21222]: }
Jun 12 13:33:31 apps saltcorn[21222]: fetch store error FetchError: invalid json response body at https://store.saltcorn.com/api/packs?fields=name,description reason: Unexpected token < in JSON at position 0
Jun 12 13:33:31 apps saltcorn[21222]: at /home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/node-fetch/lib/index.js:273:32
Jun 12 13:33:31 apps saltcorn[21222]: at processTicksAndRejections (internal/process/task_queues.js:95:5)
Jun 12 13:33:31 apps saltcorn[21222]: at fetch_available_packs_from_store (/home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/admin-models/models/pack.ts:499:16)
Jun 12 13:33:31 apps saltcorn[21222]: at fetch_available_packs (/home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/admin-models/models/pack.ts:458:24)
Jun 12 13:33:31 apps saltcorn[21222]: at get_store_items (/home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/server/routes/plugins.js:165:27)
Jun 12 13:33:31 apps saltcorn[21222]: at /home/saltcorn/.local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/server/routes/plugins.js:551:19 {
Jun 12 13:33:31 apps saltcorn[21222]: type: 'invalid-json'
Jun 12 13:33:31 apps saltcorn[21222]: }
Does anyone how to fix this?
If this is not enough info please tell what you want me to post.
Thank you!
Does anyone know how to pass a Show view table field to a Link so that the Edit view page auto-populates a field with the table field passed?
No matter how I try to use the send_email Action (change email addresses, enable/disable notifications, etc.) in my Show view, I always get:
connect ECONNREFUSED 127.0.0.1:25
Is this because the Saltcorn server isn't allowing emails to be sent? Do I have to deploy the site to Linode first?
Thanks in advance.
Hello Saltcorn Community,
I've been considering building an app using Saltcorn, and as part of this project, I anticipate that users will be uploading multiple files, including avatar images and a series of photos.
However, I've noticed that Saltcorn's default file saving behaviour doesn't quite meet my needs. It appears that all uploaded files are stored in a single, unstructured folder, with identical file names simply being appended with _1, _2, _3, etc.
Ideally, I would prefer to have a more organized structure - perhaps a unique folder for each user's files. Additionally, the ability to rename files upon upload (for example, a user's avatar image could be automatically renamed to "Avatar.jpg") would be extremely helpful. This could also potentially save a database entry, as I could set "Avatar.jpg" as the default avatar for all users.
With the existing file saving structure, I fear that even a moderate number of users could result in an unmanageable amount of files in a single folder (e.g., 100 users could create over 1,100 files).
Has anyone found a way to customize the file save location and naming in Saltcorn, or does anyone know if these features are being considered for future updates? Any advice, workarounds, or pointers towards relevant resources would be greatly appreciated!
Thank you for your time and looking forward to your responses.
I forgot to check the "Allow users to request a password reset email" checkbox on my site. For some reason, my password no longer works and I can't reset it with my email. Can someone allow assist me in recovering my site?
Does anyone know how to configure a Search component to a table or, preferably, a view? The only configuration I can see is "Has dropdrop" and "Show current state badges". I added a Search component on a page containing a Feed view (configured with a table). When I run the page and type something in this component, it brings me immediately back to my account page and shows a "Search not configured" message at the top of the page.
Hi everyone,
I have the problem when creating a new ListShowList view, I can't find the needed view on the second page of the config dialog Subtables (step 2 / 2) because I have a bunch of them ;-)
It would be nice to have an option to reach/select the wanted views.
Or is it just me, because of poor design?
BR
Lindrdor
good morning I'm new here, I changed the login method, I put a view in the place and I can't log in anymore, how do I regain access