Search found 5 matches
- Sat Jun 15, 2024 7:08 pm
- Forum: Developers Discussion
- Topic: How to include a *.tpl file in my template???
- Replies: 7
- Views: 4318
Re: How to include a *.tpl file in my template???
A response from the far future. Add plugins/function.get_tpl.php : <?php //opcache_reset(); function smarty_function_get_tpl($params, $smarty) { // empty($params['name'] $config = cmsms()->GetConfig(); $smarty->display($config['root_path'] . '\your_path\\' . $params['path']); } ?> Use: {get_tpl path...
- Sun Jan 28, 2024 12:21 am
- Forum: CMS Show Off
- Topic: Company site for my brother
- Replies: 0
- Views: 10098
Company site for my brother
Hi, I have created a website for my brother's company that specializes in installing air conditioning and heat pumps in Poland. MTKlima It's a simple implementation of CMSMS 2.2.19 . As for the modules, I didn't use anything extraordinary, I think. Currently, there are officially only 5 subpages, bu...
- Tue Jul 04, 2017 9:23 am
- Forum: CMSMS Core
- Topic: Lost WYSIWYG editor after upgrade to 2.2
- Replies: 4
- Views: 2465
Re: Lost WYSIWYG editor after upgrade to 2.2
Problem is still occurring in version 2.2.1.calguy1000 wrote:Already fixed in SVN. Expect a 2.2.1 release within the next couple of days.
- Mon Jul 03, 2017 8:35 am
- Forum: The Lounge
- Topic: Change in admin theme turn off tinyMCE and AceEditor
- Replies: 0
- Views: 1175
Change in admin theme turn off tinyMCE and AceEditor
If you put OneEleven theme working on CMS MS 2.1 into CMS MS 2.2 tinyMCE, and AceEditor stop working (there are normal textareas instead). Any suggestions what can cause this behaviour and how to fix this?
I use custom theme made for earlier version of CMS.
I use custom theme made for earlier version of CMS.
- Thu Jun 22, 2017 5:08 pm
- Forum: Polish - Polski
- Topic: News Module - Aktualności - Format daty
- Replies: 1
- Views: 9145
Re: News Module - Aktualności - Format daty
Format daty możesz edytować bezpośrednio w znacznikach smarty np. {$entry->postdate|date_format:"%d.%m.%Y"} {*04.04.2017*} Sprawdź czy zmiany w php przypadkiem nie są przez coś takiego nadpisywane w miejscu wywołania. Co do samej daty w aktualnościach, to ja stosuję to co wyżej, formatuje ...