Search found 221 matches

by Guido
Wed Aug 01, 2018 8:49 am
Forum: CMSMS Core
Topic: Can't upgrade modules, database version newer
Replies: 2
Views: 1407

Re: Can't upgrade modules, database version newer

Thanks. Forced this by setting the version a tick back in the main class file of the module but I'm sure your solution would've worked better.
by Guido
Tue Jul 31, 2018 10:35 am
Forum: CMSMS Core
Topic: Can't upgrade modules, database version newer
Replies: 2
Views: 1407

Can't upgrade modules, database version newer

I'm trying to upgrade my modules ( I'm on CMSMS 2.2.8 ). In the upgradeable modules tab in module manager, I can see 4 upgradeable modules, but they won't install since they are already installed (I tried upgrading earlier). But in the installed modules tab, I can only see a message that says the da...
by Guido
Wed Apr 26, 2017 12:44 pm
Forum: Tips and Tricks
Topic: A UDT that gets the current page ID (CMSMS 2)
Replies: 1
Views: 6310

A UDT that gets the current page ID (CMSMS 2)

Create a UDT called 'get_current_page_id': $assign = isset($params['assign']) ? $params['assign'] : 'page_id'; $hm = cmsms()->GetHierarchyManager(); if ( empty($page_id) ) $page_id = \cms_utils::get_current_pageid(); $smarty->assignGlobal($assign,$page_id); Now in your template use: {get_current_pag...
by Guido
Wed Feb 22, 2017 7:39 pm
Forum: Modules/Add-Ons
Topic: Aviary in TinyMCE 3.0 not working, console error
Replies: 0
Views: 912

Aviary in TinyMCE 3.0 not working, console error

When trying to launch the Aviary editor in tinyMCE's filebrowser, I just get a spinning loader and the message: Uncaught TypeError: Cannot read property 'launch' of undefined at k (include.js:1) at Object.edit_img (include.js:1) at init.callback (include.js:1) at HTMLLIElement.itemClick (plugins.js:...
by Guido
Fri Sep 30, 2016 2:22 pm
Forum: CMSMS Core
Topic: "Manage All Content" off without losing drag page reordering
Replies: 2
Views: 1497

Re: "Manage All Content" off without losing drag page reorde

Well, I understand why there are different permission levels (and I like that). It allows me to limit the amount of 'clutter' for an editor. But I don't understand why that has to apply on the order of pages (probably something about the core I don't know). The problem is, imagine yourself being an ...
by Guido
Fri Sep 30, 2016 12:45 pm
Forum: CMSMS Core
Topic: "Manage All Content" off without losing drag page reordering
Replies: 2
Views: 1497

"Manage All Content" off without losing drag page reordering

I'm setting up an "editor" user and came across the following "bug" (as I percieve it): When I turn off "Manage All Content" for the editor-group, an editor can't re-order pages using the drag-n-drop functionality under "options". In stead, he/she has to use t...
by Guido
Tue Aug 23, 2016 8:35 pm
Forum: Tips and Tricks
Topic: AJAX form submission (non jQuery)
Replies: 2
Views: 3520

Re: AJAX form submission (non jQuery)

No problem, as soon as I have some time I'll send some more to Rolf.. And update Ace Editor 2..
by Guido
Tue Aug 23, 2016 8:33 pm
Forum: Modules/Add-Ons
Topic: Getting rid of the auto-image param in TinyMCE
Replies: 3
Views: 1893

Re: Getting rid of the auto-image param in TinyMCE

Did you manage to find a way around this?
by Guido
Wed Jul 27, 2016 12:48 pm
Forum: Modules/Add-Ons
Topic: Getting rid of the auto-image param in TinyMCE
Replies: 3
Views: 1893

Re: Getting rid of the auto-image param in TinyMCE

You mean the adding of the cache param?
by Guido
Tue Jul 26, 2016 3:43 pm
Forum: Modules/Add-Ons
Topic: Getting rid of the auto-image param in TinyMCE
Replies: 3
Views: 1893

Getting rid of the auto-image param in TinyMCE

When I add an image in the awesome new TinyMCE module through the Responsive file manager, there is a URL param automatically added to the image source. For caching purposes I presume. But this breaks the functionality of CGSmartImage when you surround the output of the block with {cgsi_convert} tag...
by Guido
Tue Jul 12, 2016 9:51 am
Forum: Tips and Tricks
Topic: AJAX form submission (non jQuery)
Replies: 2
Views: 3520

AJAX form submission (non jQuery)

I wrote a tutorial for Rolf's blog on how to submit a form using only pure JavaScript. You can read it here: http://www.cmscanbesimple.org/blog/usin ... n-in-cmsms
by Guido
Mon Feb 29, 2016 1:59 pm
Forum: Modules/Add-Ons
Topic: TinyMCE 3.0 module is out in Alpha
Replies: 28
Views: 9796

Re: TinyMCE 3.0 module is out in Alpha

Great, thanks for fixing it!
by Guido
Mon Feb 29, 2016 1:36 pm
Forum: Modules/Add-Ons
Topic: TinyMCE 3.0 module is out in Alpha
Replies: 28
Views: 9796

Re: TinyMCE 3.0 module is out in Alpha

For anyone reading this thread: If I'm not mistaken the problem has been identified and the devs are working on it.
by Guido
Thu Feb 11, 2016 6:43 pm
Forum: Tips and Tricks
Topic: A bit more styling for the sortable list of CGContentUtils
Replies: 0
Views: 2153

A bit more styling for the sortable list of CGContentUtils

I made a replacement template for the sortable list in CGContentUtils. To use it, create a folder (in your CMSMS root) called: module_custom/CGContentUtils/templates/ So actually three folders/levels. Create a file there called sortable_list.tpl and open it. Paste the following: {* sortable list tem...
by Guido
Thu Feb 11, 2016 3:18 pm
Forum: Developers Discussion
Topic: Some questions about "GetContentBlockFieldInput"
Replies: 2
Views: 2602

Re: Some questions about "GetContentBlockFieldInput"

You mean this? Get an input field for a module generated content block type. This method is called from the content edit form when a {content_module} tag is encountered. This method can be overridden if the module is providing content block types to the CMSMS content objects. Arguments string $block...

Go to advanced search