Elijah Lofgren

I follow Jesus Christ and enjoy reading, writing, helping people, and making websites. Who is Jesus?

Jesus gives me overflowing hope, peace, and joy in this short life of mine. You can have it too! :)

My life mission: "Whatever you do, do it all for the glory of God." - 1 Corinthians 10:31

You are here: Home » CMS Made Simple Tips

CMS Made Simple Tips

Contents

  • IP-Restricted Pages - Added: 2007-03-12 16:51:32
    http://forum.cmsmadesimple.org/index.php/topic,4799.msg27231.html#msg27231

Use bossbot to tell people messages when they get back in CMSMS IRC channel

Modified: 2007-05-13 22:58:08

In the #cms channel on irc.freenode.net just type:
@later tell username your message

Quite nice. :)

Debugging CMSMS Templates

Modified: 2008-05-14 11:48:19

Heard in #cms in irc.freenode.net on May 14, 2008:

(11:39:36 AM) sk3tch: in smarty is there anyway to have it do a php style var_dump?
(11:40:46 AM) calguy1000: you can use {debug} or {get_template_vars}
(11:41:36 AM) sk3tch: that will just display all the variables that the page/template contains?
(11:43:01 AM) bigcalm: {debug} seems to cause out of memory issues
(11:43:10 AM) bigcalm: sk3tch: yes
(11:43:22 AM) sk3tch: thanks
(11:44:55 AM) sk3tch: that's from {get_template_vars}.  is there anyway to have it var_dump or print_r to display all the keys and values of the array?
(11:46:50 AM) bigcalm: sk3tch: {$array|print_r}
(11:46:59 AM) bigcalm: Replace $array with the required array
(11:47:09 AM) sk3tch: bigcalm - thanks

Useful CMSMS modules

  • RSS2HTML
    RSS2HTML allows one to consume and display feeds on their site. Compatible with RSS 0.9 - RSS 2.0 and Atom. Features Caching, display limits, encoding and customizable templates. Parsing based on the MagpieRSS library

Useful CMSMS Plugins

  • Frontend edit button:
    Hide the 'edit content' button on your website from everyone that's not logged into the backend.

Useful CMSMS related pages

Comments? Questions? What do you think?

Add A Comment

Type in the letters/numbers in the picture below (spam prevention measure):

2 + 4 =
Your Name(*):
Comment(*):

Pages

Last Modified: June 26, 2008 07:52 PM

Back to Top

Previous page: Bookmarks

Next page: Tip: Easily display the content of all sub-pages (child pages)