Search found 81 matches

by WDJames
Sun Mar 09, 2025 10:20 pm
Forum: Modules/Add-Ons
Topic: Smartforms change sender to user provided name
Replies: 0
Views: 797

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...
by WDJames
Mon Dec 23, 2024 11:24 am
Forum: Modules/Add-Ons
Topic: Smart forms with Captcha
Replies: 15
Views: 5230

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.
by WDJames
Wed Dec 18, 2024 4:57 pm
Forum: Modules/Add-Ons
Topic: Smart forms with Captcha
Replies: 15
Views: 5230

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.
by WDJames
Wed Dec 04, 2024 4:54 pm
Forum: Modules/Add-Ons
Topic: TinyMCE: Internal Server Error when uploading a new image
Replies: 7
Views: 3216

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.
by WDJames
Wed Dec 04, 2024 4:39 pm
Forum: Modules/Add-Ons
Topic: TinyMCE: Internal Server Error when uploading a new image
Replies: 7
Views: 3216

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_...
by WDJames
Wed Dec 04, 2024 4:27 pm
Forum: Modules/Add-Ons
Topic: TinyMCE: Internal Server Error when uploading a new image
Replies: 7
Views: 3216

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...
by WDJames
Wed Dec 04, 2024 3:52 pm
Forum: Modules/Add-Ons
Topic: TinyMCE: Internal Server Error when uploading a new image
Replies: 7
Views: 3216

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...
by WDJames
Wed Dec 04, 2024 1:19 pm
Forum: Modules/Add-Ons
Topic: TinyMCE: Internal Server Error when uploading a new image
Replies: 7
Views: 3216

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...
by WDJames
Tue Oct 08, 2024 10:06 am
Forum: Modules/Add-Ons
Topic: Access LISE parameters via URL
Replies: 3
Views: 3257

Re: Access LISE parameters via URL

Hi Velden,

Thanks for the the suggestion, that is definitely simpler than my solution.

Thanks,

James
by WDJames
Mon Sep 30, 2024 3:37 pm
Forum: Modules/Add-Ons
Topic: Access LISE parameters via URL
Replies: 3
Views: 3257

Re: Access LISE parameters via URL

Hi All,

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
I hope this helps someone.

James
by WDJames
Mon Sep 30, 2024 3:16 pm
Forum: Modules/Add-Ons
Topic: Access LISE parameters via URL
Replies: 3
Views: 3257

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...
by WDJames
Tue Aug 27, 2024 2:54 pm
Forum: Modules/Add-Ons
Topic: get_field_value causes error 500
Replies: 1
Views: 1188

get_field_value causes error 500

Hello, I'm trying to save data from Smartforms to LISE using a UDT but found that "get_field_value" is causing an error 500. This used to work on previous versions of CMSMS but isn't on version 2.2.21. Below is my UDT so far: $data = $params['data']; $mod = cmsms()->GetModuleInstance('LISE...
by WDJames
Wed Jul 10, 2024 9:20 am
Forum: Modules/Add-Ons
Topic: Translate CGBlog
Replies: 0
Views: 5330

Translate CGBlog

Hello, We've got a bilingual website that uses CGBlog and MleCMS. I've added the extra field definitions on CGBlog to translate the content and I am able to display the posts in the correct language (using a session variable set on the summary page to determine the language the user is currently usi...
by WDJames
Thu Jun 13, 2024 11:40 am
Forum: Modules/Add-Ons
Topic: Formbuilder Save Checkbox Group to LISE
Replies: 2
Views: 2865

Re: Formbuilder Save Checkbox Group to LISE

Hi, This is my part of my UDT if I want to save checkboxes: foreach($params as $key => $value) { if(isset($obj->fielddefs[$key])){ if($value != "[unspecified]"){ if($key == "checkboxes"){ $multi_result = explode(",", $params["checkboxes"]); $obj->checkboxes = ...
by WDJames
Fri Jun 07, 2024 2:00 pm
Forum: Modules/Add-Ons
Topic: Formbuilder Save to LISE
Replies: 5
Views: 3750

Re: Formbuilder Save to LISE

Hi Jo, Thanks again for your help. I think I understand what you are suggesting and correct me if I am wrong but this is how I interpret your suggestion. 1. Add a "Replace/Delete Image" checkbox on my form. 2. On my UDT check the value of "Replace/Delete Image" and then either re...

Go to advanced search