Search found 85 matches
- Fri Oct 03, 2025 10:51 am
- Forum: Modules/Add-Ons
- Topic: LISE UDT
- Replies: 1
- Views: 355
Re: LISE UDT
I think I've got it: $mod = cmsms()->GetModuleInstance('LISEBookings'); if (!is_object($mod)) return; $parms = [ 'pagelimit' => 1000, 'showall' => true, 'xs_Status' => "Pending" ]; $item_query = new LISEItemQuery($mod, $parms); $item_query->AppendTo(LISEQuery::VARTYPE_WHERE, "A.active...
- Fri Oct 03, 2025 10:15 am
- Forum: Modules/Add-Ons
- Topic: LISE UDT
- Replies: 1
- Views: 355
LISE UDT
Hi Everyone, I have the below UDT which queries all inactice items in a LISE instance (LISEBookings): $mod = cmsms()->GetModuleInstance('LISEBookings'); if (!is_object($mod)) return; $parms = [ 'pagelimit' => 1000, 'showall' => true ]; $item_query = new LISEItemQuery($mod, $parms); $item_query->Appe...
- Tue Sep 23, 2025 10:15 am
- Forum: Modules/Add-Ons
- Topic: Preventing Race Conditions in SmartForms with LISE
- Replies: 2
- Views: 1002
Re: Preventing Race Conditions in SmartForms with LISE
Hi Jo, Thanks for getting back to me. I'm not quite sure how to implement your suggestion. Just for context, the system works as follows: 1. Booking Form (SmartForms) is submitted. 2. Event's Spaces Available (LISEEvents item) is checked by UDT (triggered by the SmartForm's handler). 3. If there are...
- Fri Sep 19, 2025 4:02 pm
- Forum: Modules/Add-Ons
- Topic: Preventing Race Conditions in SmartForms with LISE
- Replies: 2
- Views: 1002
Preventing Race Conditions in SmartForms with LISE
Hello, I have a booking form (using SmartForms) that, on submission, checks if an event (LISE item) has any spaces available. It does this by reading the value of the "spaces" field (UDT). If spaces are available, the form updates the event's spaces, saves the booking (in another LISE inst...
- Sun Mar 09, 2025 10:20 pm
- Forum: Modules/Add-Ons
- Topic: Smartforms change sender to user provided name
- Replies: 0
- Views: 4748
Smartforms change sender to user provided name
Hello, I'm using SmartForms for an enquiry form and wanted to check if it is possible to set/change the "From Name" using the name provided on the form. I understand that this was a Feature Request for CGBetterForms that wasn't going to be actioned but I was wondering if anyone has any ide...
- Mon Dec 23, 2024 11:24 am
- Forum: Modules/Add-Ons
- Topic: Smart forms with Captcha
- Replies: 15
- Views: 6578
Re: Smart forms with Captcha
Can you clarify that the reCaptcha is visible? Also, have you tried using one of the other captcha libraries? Just tried on a fresh install with php 7.4 and can confirm it working as intended.
- Wed Dec 18, 2024 4:57 pm
- Forum: Modules/Add-Ons
- Topic: Smart forms with Captcha
- Replies: 15
- Views: 6578
Re: Smart forms with Captcha
Have you tried removing the validations and then re-adding them via the "Auto Add Validations" button? I seemed to have the same issue before with CGBetterForms.
- Wed Dec 04, 2024 4:54 pm
- Forum: Modules/Add-Ons
- Topic: TinyMCE: Internal Server Error when uploading a new image
- Replies: 7
- Views: 3660
Re: TinyMCE: Internal Server Error when uploading a new image
Yup, I've installed it on the server which sorted the issue. Thanks for the help.
- Wed Dec 04, 2024 4:39 pm
- Forum: Modules/Add-Ons
- Topic: TinyMCE: Internal Server Error when uploading a new image
- Replies: 7
- Views: 3660
Re: TinyMCE: Internal Server Error when uploading a new image
Found the error log: [04-Dec-2024 16:35:26 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /modules/TinyMCE/responsive_filemanager/filemanager/include/php_image_magician.php:2723 Stack trace: #0 /home/account/website.co.uk/modules/TinyMCE/responsive_...
- Wed Dec 04, 2024 4:27 pm
- Forum: Modules/Add-Ons
- Topic: TinyMCE: Internal Server Error when uploading a new image
- Replies: 7
- Views: 3660
Re: TinyMCE: Internal Server Error when uploading a new image
I've compared the php plugins and settings but found that there are more disabled php plugins on the site where its working. Also, the closest thing I have to an error message is (when I enable display_errors on the PHP INI settings): SyntaxError: Unexpected token '<', "<br /> <b> ... is not va...
- Wed Dec 04, 2024 3:52 pm
- Forum: Modules/Add-Ons
- Topic: TinyMCE: Internal Server Error when uploading a new image
- Replies: 7
- Views: 3660
Re: TinyMCE: Internal Server Error when uploading a new image
I've tried that but the issue persists. Also, the error_log isn't being updated. For now, I'm manually copying the uploaded image to the "/tmp/thumbs/images" folder which sorts the issue but is rather annoying to have to do that. I've tested on other CMSMS installs on a separate server and...
- Wed Dec 04, 2024 1:19 pm
- Forum: Modules/Add-Ons
- Topic: TinyMCE: Internal Server Error when uploading a new image
- Replies: 7
- Views: 3660
TinyMCE: Internal Server Error when uploading a new image
Hi All, We're having a weird one with TinyMCE. We are getting an Internal Server Error message when uploading an image via the Responsive File Manager on TinyMCE. The odd thing is that the image IS being uploaded to the correct folder but does not appear on the Responsive File Manager (the file is i...
- Tue Oct 08, 2024 10:06 am
- Forum: Modules/Add-Ons
- Topic: Access LISE parameters via URL
- Replies: 3
- Views: 3801
Re: Access LISE parameters via URL
Hi Velden,
Thanks for the the suggestion, that is definitely simpler than my solution.
Thanks,
James
Thanks for the the suggestion, that is definitely simpler than my solution.
Thanks,
James
- Mon Sep 30, 2024 3:37 pm
- Forum: Modules/Add-Ons
- Topic: Access LISE parameters via URL
- Replies: 3
- Views: 3801
Re: Access LISE parameters via URL
Hi All,
Nevermind, I figured it out. I needed to add cntnt01 to the parameter so it reads:
I hope this helps someone.
James
Nevermind, I figured it out. I needed to add cntnt01 to the parameter so it reads:
Code: Select all
https://website.com/events?mact=LISEEvents,cntnt01,default,0&cntnt01orderby=custom_StartDateTime&showtemplate=false
James
- Mon Sep 30, 2024 3:16 pm
- Forum: Modules/Add-Ons
- Topic: Access LISE parameters via URL
- Replies: 3
- Views: 3801
Access LISE parameters via URL
Hello, I'm wondering if anyone can help. I have the following LISE tag: {LISEEvents orderby="custom_StartDateTime|ASC"} Is there anyway to access the above via a URL as I am using javascript to load the items. At the moment this is the URL that I am fetching which does not have the orderby...