So I go to the thanks page and put in {debug} to see what variables I have to work with, and I get this:
Code: Select all
Smarty Debug Console
included templates & config files (load time in seconds)
no templates included
assigned template variables
{$SCRIPT_NAME} "/cmsms/index.php"
{$actionid} "m3"
{$actionparams} Array (3)
mode => "subscribe"
module => "NMS"
action => "default"
{$app_name} "CMS"
{$ccuser} ccUser Object (3)
->_groups = Array (0)
->_uid = false
->_module = CustomContent Object (21)
->_initialized = false
->substitute_content = false
->cms = null
->config = null
->curlang = null
->langhash = null
->params = null
->wysiwygactive = null
->syntaxactive = null
->error = null
->modinstall = null
->modtemplates = null
->modlang = null
->modform = null
->modredirect = null
->modmisc = null
->param_map = null
->restrict_unknown_params = null
->xml_exclude_files = Array (5)
0 => "^\.svn"
1 => "^CVS$"
2 => "^\#.*\#$"
3 => "~$"
4 => "\.bak$"
->xmldtd = " <!DOCTYPE module [ <!ELEMENT modul..."
->smarty = null
{$cgsimple} cgSimple Object (1)
->_module = CGSimpleSmarty Object (19)
->cms = null
->config = null
->curlang = null
->langhash = null
->params = null
->wysiwygactive = null
->syntaxactive = null
->error = null
->modinstall = null
->modtemplates = null
->modlang = null
->modform = null
->modredirect = null
->modmisc = null
->param_map = null
->restrict_unknown_params = null
->xml_exclude_files = Array (5)
0 => "^\.svn"
1 => "^CVS$"
2 => "^\#.*\#$"
3 => "~$"
4 => "\.bak$"
->xmldtd = " <!DOCTYPE module [ <!ELEMENT modul..."
->smarty = null
{$content_id} "15"
{$count} 13
{$email} "my.email@gmail.com"
{$encoding} "UTF-8"
{$formend} "</form><i>\n</i>"
{$formhidden} "<input type="hidden" name="m3lists[]"..."
{$formid} "m3"
{$formstart} "<form id="m3moduleform_1" method="pos..."
{$friendly_position} "1"
{$gCms}
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 732295 bytes) in /home/itali17/public_html/cmsms/lib/smarty/plugins/modifier.debug_print_var.php on line 47