Search found 219 matches
- Sun May 12, 2024 10:40 pm
- Forum: Modules/Add-Ons
- Topic: Khronos issues
- Replies: 4
- Views: 795
Re: Khronos issues
OK, I looked at the database and apparently (as the error message says) there is no event_status column, so as a nasty workaround I went ahead and added one manually with this SQL query: ALTER TABLE cms_module_khronos_events ADD COLUMN event_status CHAR(1); It seems to work for the time being. I can...
- Fri May 10, 2024 12:34 pm
- Forum: Modules/Add-Ons
- Topic: Khronos issues
- Replies: 4
- Views: 795
Re: Khronos issues
I’m upgrading an old site from version 1.12.1 on PHP 5.4 – the hosting company has sent a message that they are going to charge serious money if they are to continue to support PHP 5, so this is kind of urgent and I’m stuck with my project because of this Khronos issue. :( Everything else is working...
- Thu Apr 25, 2024 12:19 pm
- Forum: Modules/Add-Ons
- Topic: Custom field of LISE entries in Khronos
- Replies: 1
- Views: 22129
Re: Custom field of LISE entries in Khronos
Just for the records, this is the solution: Create a user defined tag. Paste this code in: $mod = \cms_utils::get_module('LISE instance name here'); // put the name of the LISE instance here!!! if( !is_object($mod) ) { /* probably handle errors */ return; } $item_query = $mod->GetItemQuery($params);...
- Sun Apr 21, 2024 6:04 pm
- Forum: Modules/Add-Ons
- Topic: Custom field of LISE entries in Khronos
- Replies: 1
- Views: 22129
Custom field of LISE entries in Khronos
Is there a way to have a custom select field of LISE entries in Khronos? I suppose this would be solved with the “dropdown from UDT” but how is this achieved?
- Fri Apr 19, 2024 5:31 pm
- Forum: CMSMS Core
- Topic: “top” parameter in {cms_filepicker} changes output path?
- Replies: 2
- Views: 31169
Re: “top” parameter in {cms_filepicker} changes output path?
Thanks for the quick answer.
- Fri Apr 19, 2024 2:36 pm
- Forum: CMSMS Core
- Topic: “top” parameter in {cms_filepicker} changes output path?
- Replies: 2
- Views: 31169
“top” parameter in {cms_filepicker} changes output path?
So, I have hero images in a directory called “hero” inside the uploads directory. I’m using this template tag: {content_module module='ECB2' block='filepicker' field='file_picker' top='hero' assign='hero'} Since ECB2 is just extending the default FilePicker module, I can use the “top” parameter of {...
- Fri Apr 19, 2024 1:20 pm
- Forum: Modules/Add-Ons
- Topic: ECB2 (Enhanced Content Blocks) Support Page
- Replies: 27
- Views: 8029
Re: ECB2 (Enhanced Content Blocks) Support Page
Chris, thanks for this useful module. If I had known about this thread I’d have posted my issue right here but alas, I’ve created a separate thread at viewtopic.php?t=84008. I’d be curious whether this is an actual bug or just an ID-10-T error.
- Thu Apr 18, 2024 10:32 pm
- Forum: CMSMS Core
- Topic: Plugin 'smarty_cms_function_cms_action_url' not callable
- Replies: 4
- Views: 399
Re: Plugin 'smarty_cms_function_cms_action_url' not callable
Some more progress, even if little: I had an older version of CMSMS lying around (version 2.2.15) where this error didn’t seem to occur. Then I upgraded that version to 2.2.19 and pronto, the error came up. In version 2.2.15, the function _checkPlugins() didn’t yet exist in /lib/smarty/sysplugins/sm...
- Thu Apr 18, 2024 9:28 pm
- Forum: Modules/Add-Ons
- Topic: ECB2 error
- Replies: 0
- Views: 1903
ECB2 error
This is a split off from the topic at https://forum.cmsmadesimple.org/viewtopic.php?p=350683#p350683 due to the change of subject. So, if I add a “type” parameter to the ECB2 content module tag, I get a fatal error. Before I wrongfully file a bug report I wanted to ask here to exclude a mistake on m...
- Thu Apr 18, 2024 4:59 pm
- Forum: CMSMS Core
- Topic: FilePicker preview image?
- Replies: 8
- Views: 32454
Re: FilePicker preview image?
Thanks, ECB2 looks very useful and exactly like what I need.
But (and this shifts the subject a bit but hopefully can be answered quickly) if I add type='image' to the content module tag it reverts to a standard text input. Am I missing something?
But (and this shifts the subject a bit but hopefully can be answered quickly) if I add type='image' to the content module tag it reverts to a standard text input. Am I missing something?
- Thu Apr 18, 2024 3:51 pm
- Forum: CMSMS Core
- Topic: FilePicker preview image?
- Replies: 8
- Views: 32454
Re: FilePicker preview image?
I mean this type of input: {content_module assign='hero_image' label='Hero image' block='filepicker_block' module='FilePicker' type='image' profile="Standard" scope="global"} This shows up in the page edit screen in admin as input field where I can select an image. After selectin...
- Thu Apr 18, 2024 1:39 pm
- Forum: CMSMS Core
- Topic: FilePicker preview image?
- Replies: 8
- Views: 32454
Re: FilePicker preview image?
Thanks. I hope we’re not misunderstanding us here. What I mean is in the page edit screen, I want a preview image shown in addition to the text field that shows the file name.
Also, I don’t see a way to trigger the generation of a thumbnail file in FilePicker.
Also, I don’t see a way to trigger the generation of a thumbnail file in FilePicker.
- Thu Apr 18, 2024 12:06 pm
- Forum: CMSMS Core
- Topic: FilePicker preview image?
- Replies: 8
- Views: 32454
FilePicker preview image?
Is there a way to show a preview image in the filepicker block like JMFilePicker (or GBFilePicker before that) used to do?
- Wed Apr 17, 2024 4:19 pm
- Forum: CMSMS Core
- Topic: Duplicate content blocks; template inheritance
- Replies: 1
- Views: 33550
Duplicate content blocks; template inheritance
So, I have a global page template that defines the default content in a block, like so: {block name="top"} … {content assign="main_content" label='Some text' scope="global"} … {/block} Then I have a child template that extends the default, replacing the default block co...
- Fri Apr 12, 2024 9:18 am
- Forum: Modules/Add-Ons
- Topic: Khronos issues
- Replies: 4
- Views: 795
Re: Khronos issues
OK, thanks, looks like it. All imported events are unpublished, apparently. Also, I loaded the page at http://localhost/index.php?mact=Khronos,cntnt01,ajax_fetchevents,0&cntnt01detailpage=16&cntnt01returnid=16&cntnt01showchildren=1&cntnt01detailpage=16&cntnt01eventtemplate=&c...