Search found 48 matches
- Mon Dec 05, 2016 6:00 am
- Forum: General Discussion
- Topic: Flat File Templates / Theme System
- Replies: 4
- Views: 3520
Re: Flat File Templates / Theme System
Scooper - I'm aware of the possibility of using the tmp/templates folder but this feels a little hackish considering that this folder is intended for cached files and is regularly emptied. Generally I exclude the tmp folder from the repo. Another problem with using the tmp folder is that it still re...
- Sat Dec 03, 2016 8:54 am
- Forum: General Discussion
- Topic: Flat File Templates / Theme System
- Replies: 4
- Views: 3520
Flat File Templates / Theme System
I started using CMS Made Simple in 2006 and I can remember when the decision was made to move the templates from flat files into the DB. At the time it didn't seem like that big of a deal and in fact was probably the right decision given the mission of the project which was to make a simple cms that...
- Wed Dec 17, 2014 10:29 pm
- Forum: General Discussion
- Topic: Global JavaScript Object for CMS Made Simple
- Replies: 1
- Views: 3029
Global JavaScript Object for CMS Made Simple
I'm interested in creating a module that will allow other modules to send JavaScript to page templates. The module would be a tag at the bottom of the page and would combine, minify and cache all the JS into a single file at the bottom of the page and eliminate all the inline JS that occurs now. Bot...
- Wed Jul 16, 2014 4:26 am
- Forum: Developers Discussion
- Topic: Ann: CMS-Monolog alpha module (developers only)
- Replies: 2
- Views: 3381
Re: Ann: CMS-Monolog alpha module (developers only)
Nice work! I'm going to check this out.
- Sat Jun 28, 2014 10:25 pm
- Forum: Closed Issues
- Topic: Installation fails on step 6 - Problem finding NLS files
- Replies: 1
- Views: 1631
Installation fails on step 6 - Problem finding NLS files
I'm trying to install the beta version of CMSMS on my dev machine which is running Windows 8.1 64bit and the latest version of the Bitnami WAMP stack which includes PHP 5.4.xx and Apache 2. When I get to step 6 I get the following message - "Problem finding NLS files in archive". Is there ...
- Fri Jan 03, 2014 12:28 am
- Forum: The Lounge
- Topic: Database query and loop
- Replies: 1
- Views: 3302
Database query and loop
I want to pass all the columns of a query to an object so that I can access the object in my smarty template like this: {foreach from=$items item=item} {$item->column_1} {$item->column_2} {$item->column_3} {/foreach} In the past I've done something like this: $query = "SELECT * FROM ".cms_...
- Tue Jun 11, 2013 12:44 am
- Forum: Developers Discussion
- Topic: Help: Smarty Caching
- Replies: 2
- Views: 2729
Re: Help: Smarty Caching
Where is the file located that's actually writing to the tmp directory? Would you recommend using smarty for the application I've described?
- Mon Jun 10, 2013 11:59 pm
- Forum: Developers Discussion
- Topic: Help: Smarty Caching
- Replies: 2
- Views: 2729
Help: Smarty Caching
I'm interested in creating a module that allows users to create JavaScript to use within themes. I was thinking it would work similar to the Layout -> StyleSheet functionality. I understand how to store the data within the database but what I'm struggling with is how to utilize smarty and it's cachi...
- Fri Feb 08, 2013 6:12 pm
- Forum: Developers Discussion
- Topic: How to make dynamic pretty urls
- Replies: 2
- Views: 3649
Re: How to make dynamic pretty urls
I was having this same issue last night. The way I finally solved it was to move all the route information from the InitializeFrontend() method to the CreateStaticRoutes() method. Just for clarification this code is located in the MyModule.module.php file. After I moved my code around, I went to Sit...
- Tue Sep 18, 2012 6:34 pm
- Forum: Developers Discussion
- Topic: MD5 Password Encryption and Special Characters
- Replies: 0
- Views: 2661
MD5 Password Encryption and Special Characters
So... I guess my last post wasn't "Developer" worthy and was moved to the lounge. http://forum.cmsmadesimple.org/viewtopic.php?f=28&t=63048 Anyway, the SelfRegistration module along with many other modules use MD5 to encrypt passwords. In the case of the SelfRegistration module MD5 is ...
- Tue Sep 18, 2012 4:52 pm
- Forum: The Lounge
- Topic: SelfRegistration - Password Verification doesn't work
- Replies: 0
- Views: 1221
SelfRegistration - Password Verification doesn't work
I've installed the SelfRegistration module on the most recent version of CMSMS - 1.11.2. I'm also using the latest version of all of the module dependencies. If a new user signs up and uses special characters in their password such as "!@#$%^&*", they are unable to complete the verific...
- Thu Jul 26, 2012 11:22 pm
- Forum: Developers Discussion
- Topic: Sync GitHub with CMSMS Forge
- Replies: 1
- Views: 2132
Sync GitHub with CMSMS Forge
I use GitHub for all my projects. I've created a new project in the CMSMS forge and was wondering if anybody could help me sync my GitHub repository with my project in the forge. Basically I want all the files in GitHub to appear under the "file" section of the project on the forge. I can'...
- Fri Jan 27, 2012 2:13 am
- Forum: Developers Discussion
- Topic: Custom ID's in module forms and inputs for JavaScript
- Replies: 0
- Views: 1522
Custom ID's in module forms and inputs for JavaScript
Can custom id's be used for module forms and input fields? I know that the id of a form determines how the form is processed but if the form id matches the input id's does it matter what you use? For example - normally you would create from elements like this: $this->CreateFormStart($id,'action',$re...
- Thu Jan 26, 2012 6:35 pm
- Forum: The Lounge
- Topic: Message "Could not determine manipulator class name"
- Replies: 2
- Views: 1645
Re: Message "Could not determine manipulator class name"
Did you try adding "global $gCms" at the top.
- Tue Jul 26, 2011 6:41 pm
- Forum: Developers Discussion
- Topic: json Web Service in module
- Replies: 2
- Views: 2235
Re: json Web Service in module
I've made a little progress. In the MyModuleName.module.php file I've added the following lines: function SetParameters() { $gCms = cmsms(); $contentops = $gCms->GetContentOperations(); $returnid = $contentops->GetDefaultContent(); $parms = array('action'=>'feed','returnid'=>$returnid); $route = new...