Search found 250 matches

by Simon66
Wed Jun 29, 2022 7:51 am
Forum: Tips and Tricks
Topic: Add JotForm to Site Down Message to get customer IP address
Replies: 3
Views: 3522

Re: Add JotForm to Site Down Message to get customer IP address

Not sure. I copied it from a similar post I did on the Slack channel. I think Slack must have added them. The code should be: <__script__ type="text/javascript" src="https://form.jotform.com/jsform/221752305"></__script>Concept Factory Pty Ltd I just added it here (above) from my...
by Simon66
Sat Jun 25, 2022 11:28 am
Forum: Tips and Tricks
Topic: Add JotForm to Site Down Message to get customer IP address
Replies: 3
Views: 3522

Add JotForm to Site Down Message to get customer IP address

So I develop all my sites online, usually at the domain/hosting of the webhost I use for all my sites. (Sometimes I use a staging domain in my bulk hosting if a site already exists). I'm too lazy to set up my own personal server and faff about with moving it when it's finished. Therefore I use 'Main...
by Simon66
Sat Apr 03, 2021 10:42 am
Forum: Tips and Tricks
Topic: How to autofill fields, from internal links, in a CGBetterForms form
Replies: 1
Views: 6365

How to autofill fields, from internal links, in a CGBetterForms form

So, I needed to automatically fill the subject field of a form, from an enquiry link on a 'Pricing' page. The 'Pricing' page was populated from a LISE module. pricing.png The form field to be auto filled: <div class="form-group mt-10"> <label for="mysubject"><span>Subject</span><...
by Simon66
Tue Dec 03, 2019 4:48 am
Forum: Modules/Add-Ons
Topic: CGBetterForms honeypot
Replies: 1
Views: 1042

CGBetterForms honeypot

CGBetterForms module help says there is a built in honeypot. How do I use this? I can create one from scratch using the tutorial on cmscanbesimple.org But CGBetterForms doesn't have a Field Validation of "Doesn't match Regular Expression". Any suggestions on how to work around that? Cheers...
by Simon66
Sun Jul 07, 2019 1:39 am
Forum: Modules/Add-Ons
Topic: CGContentUtils Multiselect Box problem
Replies: 5
Views: 1801

Re: CGContentUtils Multiselect Box problem

Digi3, I did try your solution. You also mentioned it in this post:
viewtopic.php?f=7&t=78619

It does work, and I'll just have to hope this 'bug' doesn't get fixed any time soon.

Cheers
Simon66
by Simon66
Sat Jul 06, 2019 11:40 pm
Forum: Modules/Add-Ons
Topic: CGContentUtils Multiselect Box problem
Replies: 5
Views: 1801

Re: CGContentUtils Multiselect Box problem

Thanks guys,
I'm going to try a UDT to achieve the same thing.

Cheers
Simon66
by Simon66
Sat Jul 06, 2019 8:29 am
Forum: Modules/Add-Ons
Topic: CGContentUtils Multiselect Box problem
Replies: 5
Views: 1801

CGContentUtils Multiselect Box problem

I have created a Multiselect Box block in CGContentUtils. It works perfectly with an option list in the options field: Test 1|test_1 Test 2|test_2 Test 3|test_3 Test 4|test_4 It also works perfectly with this smarty generated list in the options field: {foreach item=i from=0|@range:9} Test {$i}|test...
by Simon66
Mon Jul 01, 2019 9:56 pm
Forum: Modules/Add-Ons
Topic: CGBetterForms radio button Label errors
Replies: 2
Views: 1085

Re: CGBetterForms radio button Label errors

Thanks Calguy!
by Simon66
Mon Jul 01, 2019 6:19 am
Forum: Modules/Add-Ons
Topic: CGBetterForms radio button Label errors
Replies: 2
Views: 1085

CGBetterForms radio button Label errors

When I scan my form I get multiple errors about missing labels on all radio buttons. This is my code: <div class="option-group field"> <div class="smart-option-group smart-option-list group-vertical"> <label for="male" class="option"> <input type="radio&q...
by Simon66
Wed Jun 12, 2019 11:35 pm
Forum: Modules/Add-Ons
Topic: CGBetterForms problems
Replies: 3
Views: 1526

Re: CGBetterForms problems

Thanks CalGuy I figured out the problem. I had the {CGBetterForms form="Contact Form"} in the template instead of the content. So I switched 'Display form inline' to yes and 'Upload files asynchronously' to yes. With data attributes I had copied the example from the module help: data-cgbf-...
by Simon66
Wed Jun 12, 2019 6:17 am
Forum: Modules/Add-Ons
Topic: CGBetterForms problems
Replies: 3
Views: 1526

CGBetterForms problems

I'm having a few problems with CGBetterForms. I'm using the latest version 1.9.5. CMSms 2.2.10 & PHP 7.3 I can't save form results to a flat file. Everything in the templates gets replaced with HTML entities. Which causes an error message on the front end. data-cgbf-extension - this data attribu...
by Simon66
Mon May 13, 2019 11:32 pm
Forum: Modules/Add-Ons
Topic: CGBetterForm inside Widget not working properly
Replies: 0
Views: 1103

CGBetterForm inside Widget not working properly

I have a very simple contact form in CGBetterForms that works perfectly when placed in page content. I have 'inline' set to no and the form output displays a message after submit. If I set 'inline' to yes I get an error alert, on submit, saying "Please specify a form name when calling CGBetterF...
by Simon66
Mon May 06, 2019 10:41 pm
Forum: Tips and Tricks
Topic: Simple tag cloud using Search and News
Replies: 3
Views: 6756

Re: Simple tag cloud using Search and News

Thanks CalGuy I'll try that.
by Simon66
Thu Apr 18, 2019 2:27 am
Forum: Tips and Tricks
Topic: Simple tag cloud using Search and News
Replies: 3
Views: 6756

Simple tag cloud using Search and News

In News settings I created a text field called Comma_Separated_Tags. In Design Manager I create a Search Form Template: {$startform} <input class="button button-3d button-mini button-rounded" id="{$search_actionid}searchinput" name="{$search_actionid}searchinput" value=...
by Simon66
Fri Apr 12, 2019 11:42 pm
Forum: Tips and Tricks
Topic: A UDT to convert HEX color to RGB
Replies: 3
Views: 3785

Re: A UDT to convert HEX color to RGB

Thanks to Jo Morg it's been updated to use multiple times on a page. $hex = $params['hex']; $alpha = $params['alpha']; $hex = str_replace('#', '', $hex); $length = strlen($hex); $rgb['r'] = hexdec($length == 6 ? substr($hex, 0, 2) : ($length == 3 ? str_repeat(substr($hex, 0, 1), 2) : 0)); $rgb['g'] ...

Go to advanced search