Search found 23 matches

by drmikecrowe
Sat Feb 28, 2015 6:10 pm
Forum: Modules/Add-Ons
Topic: New Module: SmartySnippets
Replies: 0
Views: 927

New Module: SmartySnippets

Hi folks, After throwing together a couple of CMSMS sites, I've discovered the joy of custom smarty tags. Especially when taking themes from a site like wrapbootstrap and converting them into templates. To that end, I've created a module called SmartySnippets. This module allows you to define your o...
by drmikecrowe
Tue Jul 15, 2014 5:40 pm
Forum: Developers Discussion
Topic: Ann: CMS-Monolog alpha module (developers only)
Replies: 2
Views: 3140

Ann: CMS-Monolog alpha module (developers only)

Attention developers: If you would like a more robust logging solution for your CMSMS modules, I've released an alpha version of a new module, CMS-Monolog. This integrates https://github.com/Seldaek/monolog as a module in CMSMS, and provides a host of new logging features that you may like. It's rou...
by drmikecrowe
Sat Jul 05, 2014 1:31 pm
Forum: Module Developers
Topic: [mod_issue] ListIt2 broken in 2.0
Replies: 3
Views: 7088

Re: ListIt2 broken in 2.0

My question was more "How has the language functionality changed in 2.0?"

I've written some plugins for ListIt2 and use it regularly. I was going to assist in the porting, but I was looking for some pointers in the new method of handling languages in modules.
by drmikecrowe
Sat Jul 05, 2014 12:53 pm
Forum: Module Developers
Topic: [mod_issue] ListIt2 broken in 2.0
Replies: 3
Views: 7088

[mod_issue] ListIt2 broken in 2.0

Folks, How would we fix this? ListIt2 uses this to load the language files: public function ModLang() { $this->LoadLangMethods(); $args = func_get_args(); array_unshift($args,''); $args[0] = &$this; return call_user_func_array('cms_module_Lang', $args); } However, LoadLangMethods() isn't present...
by drmikecrowe
Sat Jul 05, 2014 4:30 am
Forum: Closed Issues
Topic: [invalid] ListIt2 broken in 2.0
Replies: 1
Views: 1465

[invalid] ListIt2 broken in 2.0

Folks, How would we fix this? ListIt2 uses this to load the language files: public function ModLang() { $this->LoadLangMethods(); $args = func_get_args(); array_unshift($args,''); $args[0] = &$this; return call_user_func_array('cms_module_Lang', $args); } However, LoadLangMethods() isn't present...
by drmikecrowe
Wed Jun 25, 2014 4:07 am
Forum: Closed Issues
Topic: (info) Installing Orders->Class 'encrypted_store' not found
Replies: 0
Views: 1422

(info) Installing Orders->Class 'encrypted_store' not found

OK, this one is a little fuzzier, because I can't explain it. I'm positive that in installing Orders, I got the Class 'encrypted_store' not found. However, I'm not sure I can reproduce this, or if this was potentially my problem. Recording it here for reference, in case it rings a bell for somebody ...
by drmikecrowe
Wed Jun 25, 2014 3:49 am
Forum: Closed Issues
Topic: [fixed] CMSMailer help generates error
Replies: 2
Views: 1785

[fixed] CMSMailer help generates error

From module-manager, clicking on "Help" for CMSMailer generates the following: PHP Fatal error: Uncaught exception 'CmsException' with message 'Call to invalid method FriendlyName on cms_mailer object' in /var/www/modules/CMSMailer/CMSMailer.module.php:125 Stack trace: #0 /var/www/modules/...
by drmikecrowe
Fri Mar 21, 2014 1:08 pm
Forum: Modules/Add-Ons
Topic: New Minify module under development
Replies: 2
Views: 1444

Re: New Minify module under development

Thanks for the update, I just received it as well.

Will revise and publish shortly.
by drmikecrowe
Tue Jul 16, 2013 4:27 pm
Forum: Modules/Add-Ons
Topic: [Solved] NMS HTML errors (spaces become Â)
Replies: 3
Views: 1470

Re: NMS HTML errors (spaces become Â)

Bingo -- charset was iso-8859-1 in NMS, but when it's utf-8 it works great.

Thanks, velden!
by drmikecrowe
Tue Jul 16, 2013 1:32 am
Forum: Modules/Add-Ons
Topic: [Solved] NMS HTML errors (spaces become Â)
Replies: 3
Views: 1470

[Solved] NMS HTML errors (spaces become Â)

Folks, We're composing newsletters in NMS (using TinyMCE), and what looks fine when composed becomes this in an inbox (this is the actual HTML from Gmail using "Show Original"): <p>=C2=A0</p> <p><em><span style=3D"font-family: arial,helvetica,sans-serif; font-size:= large; color: #800...
by drmikecrowe
Sun Jun 16, 2013 5:11 pm
Forum: Modules/Add-Ons
Topic: New Minify module under development
Replies: 2
Views: 1444

New Minify module under development

Hi folks, I've embedded Minify into a module, and I'm about to post it to the forge for general use. This can also support CSS (though CMSMS handles this already). ScriptDeploy never works for me and won't install in the latest version. For my implementation, I want as simple as possible. Basically,...
by drmikecrowe
Wed May 08, 2013 2:39 am
Forum: Developers Discussion
Topic: Custom REST interface: Can the URL parameter "id" be used?
Replies: 3
Views: 2845

Re: Custom REST interface: Can the URL parameter "id" be us

For anyone else who must do this

(warning, hack follows)

In your .htaccess, you can do:

Code: Select all

RewriteCond %{REQUEST_URI} ^/postback [NC]
RewriteCond %{QUERY_STRING} ^id=(.*)$
RewriteRule ^(.+)$ index.php?page=postback?srid=%1 [L]
Looks simple, but took hours to perfect....
by drmikecrowe
Sun May 05, 2013 4:10 pm
Forum: The Lounge
Topic: HowTo: Transfer content between sites via MySQL
Replies: 3
Views: 1634

HowTo: Transfer content between sites via MySQL

OK, I've gotten this down so this works very well for me. To transfer just the website content between a development site and a production site, I use the following to create a SQL update file: mysqldump --opt DATABASE_NAME cms_content cms_content_props cms_content_props_seq cms_content_seq cms_cros...
by drmikecrowe
Sun Apr 28, 2013 5:14 am
Forum: Developers Discussion
Topic: Custom REST interface: Can the URL parameter "id" be used?
Replies: 3
Views: 2845

Custom REST interface: Can the URL parameter "id" be used?

Hi folks, I was experimenting with adding a REST interface to cmsms, and found that "id" can't be used, since it is used by cmsms. NOTE: I'm implementing this in a quick/dirty manner, by: I'm setting the template to simply: "{process_pagedata}{content}" I'm using a UDT to read th...

Go to advanced search