Page 1 of 1

Module suggestions (last time/date/person edited, template switcher)

Posted: Sun Aug 20, 2006 3:58 am
by zeroality
Hello, I've thought of two modules that would offer additional functionality to CMSMS and probably would be popular if they were developed.

A last time/date/person edited module would add the last time, date and person who edited the page and place it optionally as a comment in the HTML above the CMSMS auto-generated message (on the bottom) or as a tag to be placed on the page.

There's already a last time edited module but I found it difficult to use and it doesn't have the 'last edited by' either.

Next module would be a template switcher. I have no idea why this is not built into core CMSMS already, as seeing that the template functionality is already there. This would give the user the ability to create different templates then add a chooser (probably drop-down menu would be best) to the site. Preferences could be stored via cookies.

There's already a stylesheet switcher but I want a template switcher as seeing that I designed my layout mostly for Firefox and it would be nice if I could include an IE template as well as a "light/dark" version of my site.

Re: Module suggestions (last time/date/person edited, template switcher)

Posted: Sun Aug 20, 2006 4:56 am
by Elijah Lofgren
zeroality wrote: A last time/date/person edited module would add the last time, date and person who edited the page and place it optionally as a comment in the HTML above the CMSMS auto-generated message (on the bottom) or as a tag to be placed on the page.

There's already a last time edited module but I found it difficult to use and it doesn't have the 'last edited by' either.
You may want to use the last_modified_by tag:

Code: Select all

{last_modified_by format="fullname"}

Re: Module suggestions (last time/date/person edited, template switcher)

Posted: Sun Aug 20, 2006 1:14 pm
by zeroality
Fatal error: Smarty error: [in content:content_en line 5]: syntax error: unrecognized tag 'last_modified_by' (Smarty_Compiler.class.php, line 580) in /home/pokereal/public_html/lib/smarty/Smarty.class.php on line 1095

Or am I supposed to put it outside of the tags?

Re: Module suggestions (last time/date/person edited, template switcher)

Posted: Sun Aug 20, 2006 1:15 pm
by Elijah Lofgren
zeroality wrote: Fatal error: Smarty error: [in content:content_en line 5]: syntax error: unrecognized tag 'last_modified_by' (Smarty_Compiler.class.php, line 580) in /home/pokereal/public_html/lib/smarty/Smarty.class.php on line 1095
Sorry, that tag is probably only in CMSMS 1.0 beta5 and not 0.13  ;)

Re: Module suggestions (last time/date/person edited, template switcher)

Posted: Tue Aug 22, 2006 9:05 pm
by zeroality
Ah, that'd explain it then.

Can't wait till v1 goes gold.