Search found 7894 matches

by calguy1000
Wed Sep 04, 2019 5:16 pm
Forum: Announcements
Topic: Announcing CMS Made Simple v2.3 Beta7
Replies: 0
Views: 6463

Announcing CMS Made Simple v2.3 Beta7

Today we have issued another beta release of CMSMS 2.3. The 7th beta fixes yet another slew of bugs. Particularly in the Search, FileManager and ContentManager modules (or related to the content manager). One notable change is that now attempting to get an unknown property of a module will throw an ...
by calguy1000
Sun Sep 01, 2019 1:23 pm
Forum: Announcements
Topic: Announcing CMS Made Simple v2.2.11 - Vulcan
Replies: 0
Views: 6671

Announcing CMS Made Simple v2.2.11 - Vulcan

Hello CMS Made Simple fans, Today we are announcing the release of CMSMS v2.2.11 - Vulcan. This is a maintenance release addressing a few minor issues that have arisen while we've been hard at work on the upcoming 2.3 major release. Specifically, we have made some tweaks for better PHP 7.3 support*,...
by calguy1000
Fri Aug 30, 2019 6:18 pm
Forum: Modules/Add-Ons
Topic: Error: TinyMCE add p tag to smarty tag {}
Replies: 4
Views: 1814

Re: Error: TinyMCE add p tag to smarty tag {}

If you are putting tags like {FormBuilder}, {CGBetterForms} or {YourCustomModule} into a content page then that content page is part of the application, not part of the content. You should either disable the WYSIWYG editor for that page, or block... and preferably not let your content editors edit t...
by calguy1000
Thu Aug 29, 2019 7:57 pm
Forum: Modules/Add-Ons
Topic: Map field values to Email addresses error - Invalid address:
Replies: 3
Views: 1517

Re: Map field values to Email addresses error - Invalid addr

I have made corrections to the editor processing for the next version of CGBF.
by calguy1000
Wed Aug 28, 2019 5:21 pm
Forum: CMSMS Core
Topic: ModuleManager
Replies: 4
Views: 2063

Re: ModuleManager

The Module Manager works fine for most people with PHP 7.2 and CMSMS 2.2.10. I use it all the time. There was a minor service interruption today.
by calguy1000
Tue Aug 27, 2019 12:57 pm
Forum: Modules/Add-Ons
Topic: Error: TinyMCE add p tag to smarty tag {}
Replies: 4
Views: 1814

Re: Error: TinyMCE add p tag to smarty tag {}

This has been discussed before and is common knowledge. TinyMCE is a text editor, it does not know if you are embedding a link with a {cms_selflink} or a time/datestamp or a block tag. i.e: {News} is a block {$smarty.now|date_format:'%x %X'} is an inline tag. it is perfectly fine for that to be with...
by calguy1000
Sun Aug 25, 2019 1:00 pm
Forum: Modules/Add-Ons
Topic: Dropdown inputfield with data from database
Replies: 6
Views: 2026

Re: Dropdown inputfield with data from database

Now you need to get into general programming. CMSMS Provides a library to allow querying and inserting data into the database. You do not need to worry about establishing a new connection if you are going to use the same database that CMSMS is using, and just add tables. This is what we normally do....
by calguy1000
Thu Aug 22, 2019 12:40 am
Forum: Modules/Add-Ons
Topic: Errors in Admin Log (CGBLOG templates)
Replies: 1
Views: 842

Re: Errors in Admin Log (CGBLOG templates)

Sounds like somebody is trying to hack your site
by calguy1000
Tue Aug 20, 2019 3:55 pm
Forum: Modules/Add-Ons
Topic: Smarty alternative to php (max) function needed
Replies: 10
Views: 3564

Re: Smarty alternative to php (max) function needed

but I would just use {sort($arr)}
by calguy1000
Tue Aug 20, 2019 3:17 pm
Forum: Modules/Add-Ons
Topic: Smarty alternative to php (max) function needed
Replies: 10
Views: 3564

Re: Smarty alternative to php (max) function needed

This should work:

Code: Select all

{$tmp=[5, 3, 12, 8, 7]}
{asort($tmp)}
<pre>{$tmp|@print_r}</pre>
by calguy1000
Tue Aug 20, 2019 2:29 pm
Forum: Modules/Add-Ons
Topic: Smarty alternative to php (max) function needed
Replies: 10
Views: 3564

Re: Smarty alternative to php (max) function needed

You asked about 'max'.

what you really want to do is sort your array.
by calguy1000
Tue Aug 20, 2019 2:02 pm
Forum: Feature ideas
Topic: A powerfull image upload field for all modules
Replies: 9
Views: 10398

Re: A powerfull image upload field for all modules

First. processing an image on the client side to only upload an image of say 600x600 requires extensive functionality.. including resizing, rotating, cropping and possibly color balancing etc. and has platform specific problems so is by no means 'simple'. Next: The user uploading an image to display...
by calguy1000
Tue Aug 20, 2019 12:11 pm
Forum: Modules/Add-Ons
Topic: Smarty alternative to php (max) function needed
Replies: 10
Views: 3564

Re: Smarty alternative to php (max) function needed

In the config.php

Code: Select all

$config['permissive_smarty'] = 1;
by calguy1000
Tue Aug 20, 2019 11:45 am
Forum: Feature ideas
Topic: A powerfull image upload field for all modules
Replies: 9
Views: 10398

Re: A powerfull image upload field for all modules

You do know that all image selection stuff in the core uses the filepicker? or is moving that way. This is what people wanted, the ability to use a filepicker to use an existing image or to optionally upload a new one. Which means images can be reused from a shared location. i.e: two or more differe...
by calguy1000
Tue Aug 20, 2019 11:30 am
Forum: Modules/Add-Ons
Topic: Smarty alternative to php (max) function needed
Replies: 10
Views: 3564

Re: Smarty alternative to php (max) function needed

This should work: {$max=max($a,$b,$c); You can call php functions within smarty. Though you may have to enable permissive smarty in the config.php to call this function. If you have to do that... I would ensure that you are not allowing untrusted users to submit content and then display it without r...

Go to advanced search