Solved

reinsert value to nested array

Posted on 2009-06-27
11
3,857 Views
Last Modified: 2013-11-10
Hello so I know this is a little funky and I'm open to a better way but this works to get to the right value of a  nested nested nested array... but I need to put the value back in... Replacing the old value... any help would be great... Thank you for the help...

Jeremy

$temArray = $smarty->get_template_vars();

foreach ($temArray as $k=>$v){

	if($k=='Transmission'){

	//echo $k."<br/>";

		foreach ($v as $kK=>$vV){

			if($kK=='input'){	

				print_r($vV);

				echo "<br/>";

				foreach ($vV as $kKk=>$vVv){

						//echo $kKk."<br/>";

						foreach ($vVv as $kKkK=>$vVvV){

								if($kKkK=='input'){

									

								echo $vVvV."<br/>";

								

								$vVvV = str_replace(">", "checked >", $vVvV);

								echo $vVvV."<br/>";

								$kKkK['input']=$vVvV; /// not working

								//I'm echo the corrected value.. I need to insert it back... 

								

							}

						}

		//				$tepV=$vVv;

		//				echo $tepV."<br/>";

				}

				print_r($vV);

					//echo $kK."<br/>";

			//echo $vV."<br/>";

			}

			

			

	

		}

	}

}

Open in new window

0
Comment
Question by:jeremyBass26
  • 7
  • 4
11 Comments
 
LVL 7

Assisted Solution

by:szewkam
szewkam earned 500 total points
ID: 24727310
first - if i'm looking correctly you could get rid of 2 of you foreaches. You do a loop in order to find one key in array. So instead of:
foreach ($temArray as $k=>$v){
        if($k=='Transmission'){
        //echo $k."<br/>";
                foreach ($v as $kK=>$vV){
                        if($kK=='input'){      
                                print_r($vV);
                                echo "<br/>";
                                foreach ($vV as $kKk=>$vVv){
just do:
print_r($temArray['Transmission']['input']);
then you need foreach because you don't have if statement
foreach($temArray['Transmission']['input'] as $element) {
  echo $element['input'];
  $element['input'] = str_replace(">", "checked >", $element['input'])
}
So your whole code will look like this in snippet. Of course if it's possible that in you array there will be ne key Transmission, or input you could check id those keys exists using function array_key_exists() http://pl.php.net/manual/en/function.array-key-exists.php
<?php

$temArray = $smarty->get_template_vars();

print_r($temArray['Transmission']['input']);

foreach($temArray['Transmission']['input'] as $element) {

  echo $element['input'];

  $element['input'] = str_replace(">", "checked >", $element['input'])

}

print_r($temArray['Transmission']['input']);

?>

Open in new window

0
 
LVL 4

Author Comment

by:jeremyBass26
ID: 24727913
um... that gets me

Fatal error: Cannot use object of type stdClass as array in

which is  the first line of

print_r($temArray['Transmission']['input']);

I'd think that if I tried it that way it'd be more like

$temArray['Transmission']['input']['***DON"T KNOW THE KEY']['input']

The two different inputs are on different levels of the array... and tring to echo the $kKk on the level I don't know what the key is gets me 0, 1, 2 etc... and that could change.... and the value I want to chang could be on any one of those...

Gosh I hope all that was clear...

Thank you for the help...

Jeremy

0
 
LVL 4

Author Comment

by:jeremyBass26
ID: 24727926
for fyi

this


$temArray = $smarty->get_template_vars();
foreach ($temArray as $k=>$v){
      if($k=='Transmission'){
      echo $k." first <br/>";
            foreach ($v as $kK=>$vV){
                  if($kK=='input'){      
                        print_r($vV);
                        echo "<br/>";
                        foreach ($vV as $kKk=>$vVv){
                                    echo $kKk."<br/>";
                                    foreach ($vVv as $kKkK=>$vVvV){
                                                if($kKkK=='input'){
                                                      
                                                echo $vVvV."<br/>";
                                                
                                                $vVvV = str_replace(">", "checked >", $vVvV);
                                                echo $vVvV."<br/>";
                                                $kKkK['input']=$vVvV; /// not working
                                                //I'm echo the corrected value.. I need to insert it back...
                                                
                                          }
                                    }
            //                        $tepV=$vVv;
            //                        echo $tepV."<br/>";
                        }
                        print_r($vV);
                              echo $kK."<br/>";
                  echo $vV."<br/>";
                  }
                  
                  
      
            }
      }
}





will produce....





Transmission first Transmission<br/>Array
(
    [0] => stdClass Object
        (
            [name] => <label for="m2fbrp__64_0">Automatic</label>
            [title] => Automatic
            [input] => <input type="radio" id="m2fbrp__64_0" value="1" name="m2fbrp__64"/>
        )

    [1] => stdClass Object
        (
            [name] => <label for="m2fbrp__64_1">Manual</label>
            [title] => Manual
            [input] => <input type="radio" id="m2fbrp__64_1" value="2" name="m2fbrp__64"/>
        )

)
<br/>0<br/><input type="radio" id="m2fbrp__64_0" value="1" name="m2fbrp__64"/><br/><input type="radio" checked="" id="m2fbrp__64_0" value="1" name="m2fbrp__64"/><br/>1<br/><input type="radio" id="m2fbrp__64_1" value="2" name="m2fbrp__64"/><br/><input type="radio" checked="" id="m2fbrp__64_1" value="2" name="m2fbrp__64"/><br/>Array
(
    [0] => stdClass Object
        (
            [name] => <label for="m2fbrp__64_0">Automatic</label>
            [title] => Automatic
            [input] => <input type="radio" id="m2fbrp__64_0" value="1" name="m2fbrp__64"/>
        )

    [1] => stdClass Object
        (
            [name] => <label for="m2fbrp__64_1">Manual</label>
            [title] => Manual
            [input] => <input type="radio" id="m2fbrp__64_1" value="2" name="m2fbrp__64"/>
        )

)
input<br/>Array<br/>
0
 
LVL 7

Expert Comment

by:szewkam
ID: 24728646
well, you don't hace typical arrays, but stdVlass Objects. Personally I don't have experienced with it...
maybe you could cast the type stdClass to array type?
$temArray = $smarty->get_template_vars();

$array = (array)$temArray['Transmission']['input'];

print_r($array);

foreach($array as $element) {

  echo $element['input'];

  $element['input'] = str_replace(">", "checked >", $element['input'])

}

print_r($temArray['Transmission']['input']);

Open in new window

0
 
LVL 4

Author Comment

by:jeremyBass26
ID: 24728658
ok... based of the idea szewkam presented...

of $temArray['Transmission']['input'] as $element

I tryed

$temArray[$k][$kK][$kKk][$kKkK]=$vVvV;

which causes

Cannot use object of type stdClass as array

any help here would be great.. I really need it fixed lol... thank you

Jeremy
$temArray = $smarty->get_template_vars();

foreach ($temArray as $k=>$v){

	if($k=='Transmission'){

	echo $k." first <br/>";

		foreach ($v as $kK=>$vV){

			if($kK=='input'){	

				print_r($vV);

				echo "<br/>";

				foreach ($vV as $kKk=>$vVv){

						echo $kKk."<br/>";

						foreach ($vVv as $kKkK=>$vVvV){

								if($kKkK=='input'){

									

								echo $vVvV."<br/>";

								

								$vVvV = str_replace(">", "checked >", $vVvV);

								echo $vVvV."<br/>";

								$kKkK['input']=$vVvV; /// not working

								

								$temArray[$k][$kK][$kKk][$kKkK]=$vVvV;

								//I'm echo the corrected value.. I need to insert it back... 

								print_r($vV);

							}

						}

		//				$tepV=$vVv;

		//				echo $tepV."<br/>";

				}

				print_r($vV);

					echo $kK."<br/>";

			echo $vV."<br/>";

			}

			

			

	

		}

	}

}

Open in new window

0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 4

Author Comment

by:jeremyBass26
ID: 24728715
we crossed posted...

$array = (array)$temArray['Transmission']['input'];

still puts out

Fatal error: Cannot use object of type stdClass as array

off you lat suggestion...   I was tring this script here but I need to get at the input and you see that there are a few over the one I need at... but may-be it's more on track... may-be?

The thought was that once at the level of

$value = 'Manual';

or

  [title] => Manual

that I could grab the input of the array level and do what I need... but I still need to get it back in.. gosh...


$value = 'Manual';

$key = 'title';

myInArray($temArray, $value, $key);
 
 

function myInArray($array, $value, $key){

    //loop through the array

    foreach ($array as $val) {

      //if $val is an array cal myInArray again with $val as array input

      if(is_array($val)){

        if(myInArray($val,$value,$key))

		echo $val;

		echo 'true on val';

		//

         // return true;

      }

      //else check if the given key has $value as value

      else{

        if($array[$key]==$value){

		echo 'true on value';

		echo $value;

		//

          //return true;

		}

      }

    }

    //return false;

  }

Open in new window

0
 
LVL 7

Expert Comment

by:szewkam
ID: 24728740
could you give me the output for print_r($temArray) ?
0
 
LVL 4

Author Comment

by:jeremyBass26
ID: 24728876
oh.. well that is extensive... but is is about 5% of it

from

$temArray = $smarty->get_template_vars();
print_r($temArray);

Array ( [SCRIPT_NAME] => /stock_1_5_4/admin/moduleinterface.php [app_name] => CMS [sitename] => CMS Made Simple Site [lang] => [encoding] => utf-8 [gCms] => CmsObject Object ( [config] => Array ( [php_memory_limit] => [process_whole_template] => [dbms] => mysql [db_hostname] => l [db_username] => r [db_password] => d! [db_name] => cms_154 [db_port] => [db_prefix] => cms_154_ [root_url] => http://localhost/stock_1_5_4 [root_path] => C:\wamp\www\stock_1_5_4 [query_var] => page [use_bb_code] => [use_smarty_php_tags] => [previews_path] => C:\wamp\www\stock_1_5_4\tmp\cache [uploads_path] => C:\wamp\www\stock_1_5_4\uploads [uploads_url] => http://localhost/stock_1_5_4/uploads [max_upload_size] => 25000000 [debug] => [output_compression] => [assume_mod_rewrite] => [internal_pretty_urls] => [use_hierarchy] => [auto_alias_content] => 1 [image_manipulation_prog] => GD [image_transform_lib_path] => C:/Program Files/VisualMagick/bin/ [use_Indite] => 1 [image_uploads_path] => C:\wamp\www\stock_1_5_4\uploads\images [image_uploads_url] => http://localhost/stock_1_5_4/uploads/images [default_encoding] => utf-8 [disable_htmlarea_translation] => [admin_dir] => admin [persistent_db_conn] => [default_upload_permission] => 664 [page_extension] => [use_adodb_lite] => 1 [locale] => [old_stylesheet] => [wiki_url] => http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel [backwards_compatible] => [admin_encoding] => utf-8 ) [db] => pear_ADOConnection Object ( [autoCommit] => 1 [transOff] => 0 [transCnt] => 0 [transaction_status] => 1 [genID] => 0 [_genIDSQL] => update %s set id=LAST_INSERT_ID(id+1); [_genSeqSQL] => create table %s (id int not null) [_genSeq2SQL] => insert into %s values (%s) [_dropSeqSQL] => drop table %s [fmtDate] => 'Y-m-d' [fmtTimeStamp] => 'Y-m-d H:i:s' [emptyDate] =>   [emptyTimeStamp] =>   [sysDate] => CURDATE() [sysTimeStamp] => NOW() [isoDates] => 1 [nameQuote] => ` [connectionId] => Resource id #26 [record_set] => [database] => cms_154 [dbtype] => mysql [dataProvider] => mysql [host] => localhost [open] => [password] => c0rBEN013108Bass! [username] => root [persistent] => [debug] => [debug_console] => [debug_echo] => 1 [debug_output] => [forcenewconnection] => [createdatabase] => [last_module_name] => pear [socket] => [port] => [clientFlags] => 0 [sql] => SELECT module_name,template_name,modified_date FROM cms_154_module_templates [raiseErrorFn] => [query_count] => 68 [query_time_total] => 0.032425880432129 [query_list] => Array ( ) [query_list_time] => Array ( ) [query_list_errors] => Array ( ) [_logsql] => ) [variables] => Array ( [content-type] => text/html [modulenum] => 3 [routes] => Array ( [0] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/archive\/(?P[0-9]+)\/(?P[0-9]+)\/(?P[0-9]+)$/ [defaults] => Array ( [action] => default ) ) [1] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/archive\/(?P[0-9]+)\/(?P[0-9]+)$/ [defaults] => Array ( [action] => default [returnid] => 15 ) ) [2] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => detail ) ) [3] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/(?P[0-9]+)\/(?P[0-9]+)$/ [defaults] => Array ( [action] => detail ) ) [4] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => detail [returnid] => 15 ) ) [5] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/(?P[0-9]+)$/ [defaults] => Array ( [action] => detail [returnid] => 15 ) ) [6] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/category\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => default ) ) [7] => CmsRoute Object ( [module] => CGBlog [regex] => /cgblog\/category\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => default [returnid] => 15 ) ) [8] => CmsRoute Object ( [module] => CGCalendar [regex] => /calendar\/(?P[0-9]+)\/(?P[0-9]+)-.*$/ [defaults] => Array ( [action] => default [display] => event ) ) [9] => CmsRoute Object ( [module] => CGUserDirectory [regex] => /[Uu]sers\/(?P[0-9]+)\/(?P[0-9]+)\/(?P[A-Za-z0-9\-\_]+?)\/(?P.*?)$/ [defaults] => Array ( [action] => detail ) ) [10] => CmsRoute Object ( [module] => CGUserDirectory [regex] => /[Uu]sers\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => detail ) ) [11] => CmsRoute Object ( [module] => CGUserDirectory [regex] => /[Uu]sergroup\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => default ) ) [12] => CmsRoute Object ( [module] => CGUserDirectory [regex] => /[Uu]sers\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => detail ) ) [13] => CmsRoute Object ( [module] => CGUserDirectory [regex] => /[Uu]sergroup\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => default ) ) [14] => CmsRoute Object ( [module] => FrontEndUsers [regex] => /[fF]eu\/verify\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => verifycode ) ) [15] => CmsRoute Object ( [module] => FrontEndUsers [regex] => /[fF]eu\/edit\/(?P[0-9]+)$/ [defaults] => Array ( [action] => changesettings ) ) [16] => CmsRoute Object ( [module] => FrontEndUsers [regex] => /[fF]eu\/logout\/(?P[0-9]+)$/ [defaults] => Array ( [action] => logout ) ) [17] => CmsRoute Object ( [module] => FrontEndUsers [regex] => /[fF]eu\/forgot\/(?P[0-9]+)$/ [defaults] => Array ( [action] => forgotpw ) ) [18] => CmsRoute Object ( [module] => FrontEndUsers [regex] => /[fF]eu\/lostusername\/(?P[0-9]+)$/ [defaults] => Array ( [action] => lostusername ) ) [19] => CmsRoute Object ( [module] => News [regex] => /[nN]ews\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)\/d,(?P.*?)$/ [defaults] => Array ( ) ) [20] => CmsRoute Object ( [module] => News [regex] => /[nN]ews\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( ) ) [21] => CmsRoute Object ( [module] => News [regex] => /[nN]ews\/(?P[0-9]+)\/(?P[0-9]+)$/ [defaults] => Array ( ) ) [22] => CmsRoute Object ( [module] => News [regex] => /[nN]ews\/(?P[0-9]+)$/ [defaults] => Array ( ) ) [23] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [action] => details ) ) [24] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/(?P[0-9]+)$/ [defaults] => Array ( ) ) [25] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/summary\/($P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( ) ) [26] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/summary\/($P[0-9]+)$/ [defaults] => Array ( ) ) [27] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/bycategory\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( ) ) [28] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/bycategory\/(?P[0-9]+)\/(?P[0-9]+)$/ [defaults] => Array ( ) ) [29] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/byhierarchy\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( ) ) [30] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/byhierarchy\/(?P[0-9]+)\/(?P[0-9]+)$/ [defaults] => Array ( ) ) [31] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/hierarchy\/(?P[0-9]+)\/(?P[0-9]+)$/ [defaults] => Array ( ) ) [32] => CmsRoute Object ( [module] => Products [regex] => /[Pp]roducts\/hierarchy\/(?P[0-9]+)\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( ) ) [33] => CmsRoute Object ( [module] => Uploads [regex] => /[Uu]ploads\/(?P[0-9]+)\/(?P.*?)$/ [defaults] => Array ( [showtemplate] => false [action] => getfile ) ) ) [user_id] => 1 [username] => jeremyBass [pluginnum] => 1 [default_content_id] => 15 [pageinfo] => stdClass Object ( [cachable] => ) [user_in_group] => Array ( [1,1] => 1 ) [userperms] => Array ( [0] => Add Pages [1] => Add Groups [2] => Add Templates [3] => Add Users [4] => Modify Any Page [5] => Modify Groups [6] => Modify Group Assignments [7] => Modify Permissions [8] => Modify Templates [9] => Modify Users [10] => Remove Pages [11] => Remove Groups [12] => Remove Templates [13] => Remove Users [14] => Modify Modules [15] => Modify Files [16] => Modify Site Preferences [17] => Modify Stylesheets [18] => Add Stylesheets [19] => Remove Stylesheets [20] => Add Stylesheet Assoc [21] => Modify Stylesheet Assoc [22] => Remove Stylesheet Assoc [23] => Modify User-defined Tags [24] => Clear Admin Log [25] => Add Global Content Blocks [26] => Modify Global Content Blocks [27] => Remove Global Content Blocks [28] => Modify Page Structure [29] => Modify Events [30] => Use FileManager Advanced [31] => Modify News ) [authorblobs] => Array ( [0] => 5 [1] => 1 ) [authorpages] => Array ( [0] => 15 [1] => 51 [2] => 52 [3] => 53 [4] => 54 [5] => 55 ) [admintheme] => NCleanGreyTheme Object ( [cms] => CmsObject Object *RECURSION* [title] => Cars [subtitle] => [url] => /stock_1_5_4/admin/moduleinterface.php [script] => moduleinterface.php [query] => mact=Cars,m1_,edittemplate,0&_s_=49a3db1f&m1_VINV=sdssds&m1_active_tab=email_template&m1_mode=edit [modulesBySection] => Array ( [extensions] => Array ( [0] => Array ( [key] => CMSMailer [name] => CMSMailer [description] => This is a simple wrapper around PHPMailer, it has an equivalent API (function for function) and a simple interface for some defaults. ) [1] => Array ( [key] => CGExtensions [name] => Calguys Module Extensions [description] => This module is a library of php classes used to build advanced forms ) [2] => Array ( [key] => CGUserDirectory [name] => Calguys User Directory [description] => A module allowing searching, browsing, and viewing details about frontend users ) [3] => Array ( [key] => Cars [name] => Cars [description] => Allows FrontEndUsers to book times with FEU users. ) [4] => Array ( [key] => FirePHPDebug [name] => FirePHP Debugging [description] => FirePHP supplies an easy way for module developers to add messages to FireBug's debugging console. ) [5] => Array ( [key] => FormBuilder [name] => Form Builder [description] => Add, edit and manage interactive Forms ) [6] => Array ( [key] => ModuleManager [name] => Module Manager [description] => A tool for retrieving and installing modules from remote servers. ) [7] => Array ( [key] => Search [name] => Search [description] => Module for search site and other module's contents. ) [8] => Array ( [key] => SimpleBooking [name] => SimpleBooking [description] => Allows FrontEndUsers to book times with FEU users. ) [9] => Array ( [key] => TinyMCE [name] => TinyMCE WYSIWYG [description] => ) ) [content] => Array ( [0] => Array ( [key] => CGBlog [name] => Calguys Blog Module [description] => Add, edit and remove CGBlog entries ) [1] => Array ( [key] => CGCalendar [name] => Calguys Calendar [description] => A full featured, and flexible module to allow displaying information about events in numerous formats. ) [2] => Array ( [key] => FileManager [name] => File Manager [description] => Handling of files and directories in the upload-filesection of cmsms ) [3] => Array ( [key] => Uploads [name] => Front End File Management (Uploads) [description] => A module that allows users to upload files, and allows you to manage them. ) [4] => Array ( [key] => News [name] => News [description] => Add, edit and remove News entries ) [5] => Array ( [key] => Printing [name] => Printer Friendly Pages [description] => This module is an easily customizable way of providing printer friendly pages for CMSms. Alternatively PDF-files with the main content can be created on-the-fly. ) [6] => Array ( [key] => Products [name] => Product Manager [description] => A module for managing a catalog of products, their price, images, etc, and for allowing users to build a cart ) ) [usersgroups] => Array ( [0] => Array ( [key] => FrontEndUsers [name] => Frontend User Management [description] => Allow users to log in to the frontend of your site ) ) [layout] => Array ( [0] => Array ( [key] => MenuManager [name] => Menu Manager [description] => Manage menu templates to display menus in any way imaginable. ) [1] => Array ( [key] => ThemeManager [name] => Theme Manager [description] => A module to allow importing and exporting of content themes (templates and stylesheets) ) ) [siteadmin] => Array ( [0] => Array ( [key] => SitePusher [name] => Site Pusher [description] => A site rollout utility ) [1] => Array ( [key] => SiteUtilities [name] => SiteUtilities [description] => Allows FrontEndUsers to book times with FEU users. ) ) ) [sectionCount] => Array ( [extensions] => 10 [content] => 7 [usersgroups] => 1 [layout] => 2 [siteadmin] => 2 ) [perms] => Array ( [htmlPerms] => 1 [pagePerms] => 1 [contentPerms] => 1 [templatePerms] => 1 [cssPerms] => 1 [cssAssocPerms] => 1 [layoutPerms] => 1 [filePerms] => 1 [userPerms] => 1 [groupPerms] => 1 [groupPermPerms] => 1 [groupMemberPerms] => 1 [usersGroupsPerms] => 1 [sitePrefPerms] => 1 [adminPerms] => 1 [siteAdminPerms] => 1 [codeBlockPerms] => 1 [modulePerms] => 1 [eventPerms] => 1 [taghelpPerms] => 1 [extensionsPerms] => 1 ) [recent] => Array ( ) [user] => [menuItems] => Array ( [main] => Array ( [url] => index.php?_s_=49a3db1f [parent] => -1 [title] => CMS [description] => [show_in_menu] => 1 [children] => Array ( [0] => home [1] => dashboard [2] => viewsite [3] => logout ) [selected] => ) [home] => Array ( [url] => index.php?_s_=49a3db1f [parent] => main [title] => Home [description] => [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [dashboard] => Array ( [url] => dashboard.php?_s_=49a3db1f [parent] => main [title] => View Dashboard [description] => [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [viewsite] => Array ( [url] => ../index.php [parent] => main [title] => View Site [type] => external [description] => [show_in_menu] => 1 [target] => _blank [children] => Array ( ) [selected] => ) [logout] => Array ( [url] => logout.php?_s_=49a3db1f [parent] => main [title] => Logout [description] => [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [content] => Array ( [url] => topcontent.php?_s_=49a3db1f [parent] => -1 [title] => Content [description] => This is where we add and edit content. [show_in_menu] => 1 [children] => Array ( [0] => pages [1] => images [2] => blobs [3] => FileManager [4] => News [5] => Printing [6] => CGBlog [7] => CGCalendar [8] => Uploads [9] => Products ) [selected] => ) [pages] => Array ( [url] => listcontent.php?_s_=49a3db1f [parent] => content [title] => Pages [description] => This is where we add and edit pages and other content. [show_in_menu] => 1 [children] => Array ( [0] => addcontent [1] => editpage ) [selected] => ) [addcontent] => Array ( [url] => addcontent.php?_s_=49a3db1f [parent] => pages [title] => Add New Content [description] => Add New Content [show_in_menu] => [children] => Array ( ) [selected] => ) [editpage] => Array ( [url] => editcontent.php?_s_=49a3db1f [parent] => pages [title] => Edit Page [description] => Edit Page [show_in_menu] => [children] => Array ( ) [selected] => ) [images] => Array ( [url] => imagefiles.php?_s_=49a3db1f [parent] => content [title] => Image Manager [description] => Upload/edit and remove images. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [blobs] => Array ( [ url] => listhtmlblobs.php?_s_=49a3db1f [parent] => content [title] => Global Content Blocks [description] => Global Content Blocks are chunks of content you can place in your pages or templates. [show_in_menu] => 1 [children] => Array ( [0] => addhtmlblob [1] => edithtmlblob ) [selected] => ) [addhtmlblob] => Array ( [url] => addhtmlblob.php?_s_=49a3db1f [parent] => blobs [title] => Add Global Content Block [description] => Add Global Content Block [show_in_menu] => [children] => Array ( ) [selected] => ) [edithtmlblob] => Array ( [url] => edithtmlblob.php?_s_=49a3db1f [parent] => blobs [title] => Edit Global Content Block [description] => Edit Global Content Block [show_in_menu] => [children] => Array ( ) [selected] => ) [layout] => Array ( [url] => toplayout.php?_s_=49a3db1f [parent] => -1 [title] => Layout [description] => Site layout options. [show_in_menu] => 1 [children] => Array ( [0] => template [1] => stylesheets [2] => MenuManager [3] => ThemeManager ) [selected] => ) [template] => Array ( [url] => listtemplates.php?_s_=49a3db1f [parent] => layout [title] => Templates [description] => This is where we add and edit templates. Templates define the look and feel of your site. [show_in_menu] => 1 [children] => Array ( [0] => addtemplate [1] => edittemplate [2] => currentassociations [3] => copytemplate ) [selected] => ) [addtemplate] => Array ( [url] => addtemplate.php?_s_=49a3db1f [parent] => template [title] => Add New Template [description] => Add New Template [show_in_menu] => [children] => Array ( ) [selected] => ) [edittemplate] => Array ( [url] => edittemplate.php?_s_=49a3db1f [parent] => template [title] => Edit Template [description] => Edit Template [show_in_menu] => [children] => Array ( ) [selected] => ) [currentassociations] => Array ( [url] => listcssassoc.php?_s_=49a3db1f [parent] => template [title] => Current Associations [description] => Current Associations [show_in_menu] => [children] => Array ( ) [selected] => ) [copytemplate] => Array ( [url] => copyemplate.php?_s_=49a3db1f [parent] => template [title] => Copy Template [description] => Copy Template [show_in_menu] => [children] => Array ( ) [selected] => ) [stylesheets] => Array ( [url] => listcss.php?_s_=49a3db1f [parent] => layout [title] => Stylesheets [description] => Stylesheet management is an advanced way to handle cascading Stylesheets (CSS) separately from templates. [show_in_menu] => 1 [children] => Array ( [0] => addcss [1] => editcss [2] => templatecss ) [selected] => ) [addcss] => Array ( [url] => addcss.php?_s_=49a3db1f [parent] => stylesheets [title] => Add a Stylesheet [description] => Add a Stylesheet [show_in_menu] => [children] => Array ( ) [selected] => ) [editcss] => Array ( [url] => editcss.php?_s_=49a3db1f [parent] => stylesheets [title] => Edit Stylesheet [description] => Edit Stylesheet [show_in_menu] => [children] => Array ( ) [selected] => ) [templatecss] => Array ( [url] => templatecss.php?_s_=49a3db1f [parent] => stylesheets [title] => Assign Templates to Stylesheet [description] => Assign Templates to Stylesheet [show_in_menu] => [children] => Array ( ) [selected] => ) [usersgroups] => Array ( [url] => topusers.php?_s_=49a3db1f [parent] => -1 [title] => Users & Groups [description] => User and Group related items. [show_in_menu] => 1 [children] => Array ( [0] => users [1] => groups [2] => groupmembers [3] => groupperms [4] => FrontEndUsers ) [selected] => ) [users] => Array ( [url] => listusers.php?_s_=49a3db1f [parent] => usersgroups [title] => Users [description] => This is where you manage users. [show_in_menu] => 1 [children] => Array ( [0] => adduser [1] => edituser ) [selected] => ) [adduser] => Array ( [url] => adduser.php?_s_=49a3db1f [parent] => users [title] => Add New User [description] => Add New User [show_in_menu] => [children] => Array ( ) [selected] => ) [edituser] => Array ( [url] => edituser.php?_s_=49a3db1f [parent] => users [title] => Edit User [description] => Edit User [show_in_menu] => [children] => Array ( ) [selected] => ) [groups] => Array ( [url] => listgroups.php?_s_=49a3db1f [parent] => usersgroups [title] => Groups [description] => This is where you manage groups. [show_in_menu] => 1 [children] => Array ( [0] => addgroup [1] => editgroup ) [selected] => ) [addgroup] => Array ( [url] => addgroup.php?_s_=49a3db1f [parent] => groups [title] => Add New Group [description] => Add New Group [show_in_menu] => [children] => Array ( ) [selected] => ) [editgroup] => Array ( [url] => editgroup.php?_s_=49a3db1f [parent] => groups [title] => Edit Group [description] => Edit Group [show_in_menu] => [children] => Array ( ) [selected] => ) [groupmembers] => Array ( [url] => changegroupassign.php?_s_=49a3db1f [parent] => usersgroups [title] => Group Assignments [description] => Here you can assign users to groups. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [groupperms] => Array ( [url] => changegroupperm.php?_s_=49a3db1f [parent] => usersgroups [title] => Group Permissions [description] => Set permissions and access levels for groups [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [extensions] => Array ( [url] => topextensions.php?_s_=49a3db1f [parent] => -1 [title] => Extensions [description] => Modules, tags, and other assorted fun. [show_in_menu] => 1 [children] => Array ( [0] => modules [1] => tags [2] => eventhandlers [3] => usertags [4] => CMSMailer [5] => ModuleManager [6] => Search [7] => TinyMCE [8] => CGExtensions [9] => CGUserDirectory [10] => Cars [11] => FirePHPDebug [12] => FormBuilder [13] => SimpleBooking ) [selected] => 1 ) [modules] => Array ( [url] => listmodules.php?_s_=49a3db1f [parent] => extensions [title] => Modules [description] => Modules extend CMS Made Simple to provide all kinds of custom functionality. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [tags] => Array ( [url] => listtags.php?_s_=49a3db1f [parent] => extensions [title] => Tags [description] => Tags are little bits of functionality that can be added to your content and/or templates. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [eventhandlers] => Array ( [url] => eventhandlers.php?_s_=49a3db1f [parent] => extensions [title] => Event Manager [description] => Associate user tags with events [show_in_menu] => 1 [children] => Array ( [0] => editeventhandler ) [selected] => ) [editeventhandler] => Array ( [url] => editevent.php?_s_=49a3db1f [parent] => eventhandlers [title] => Edit Event Handler [description] => --Add Me - editeventshandler -- [show_in_menu] => [children] => Array ( ) [selected] => ) [usertags] => Array ( [url] => listusertags.php?_s_=49a3db1f [parent] => extensions [title] => User Defined Tags [description] => Tags that you can create and modify yourself to perform specific tasks, right from your browser. [show_in_menu] => 1 [children] => Array ( [0] => addusertag [1] => editusertag ) [selected] => ) [addusertag] => Array ( [url] => adduserplugin.php?_s_=49a3db1f [parent] => usertags [title] => Add User Defined Tag [description] => Add User Defined Tag [show_in_menu] => [children] => Array ( ) [selected] => ) [editusertag] => Array ( [url] => edituserplugin.php?_s_=49a3db1f [parent] => usertags [title] => Edit User Defined Tag [description] => Edit User Defined Tag [show_in_menu] => [children] => Array ( ) [selected] => ) [siteadmin] => Array ( [url] => topadmin.php?_s_=49a3db1f [parent] => -1 [title] => Site Admin [description] => Site Administration functions. [show_in_menu] => 1 [children] => Array ( [0] => siteprefs [1] => pagedefaults [2] => systeminfo [3] => checksum [4] => adminlog [5] => SitePusher [6] => SiteUtilities ) [selected] => ) [siteprefs] => Array ( [url] => siteprefs.php?_s_=49a3db1f [parent] => siteadmin [title] => Global Settings [description] => This is where you set various site-wide preferences. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [pagedefaults] => Array ( [url] => pagedefaults.php?_s_=49a3db1f [parent] => siteadmin [title] => Page Defaults [description] => Set default values for new pages [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [systeminfo] => Array ( [url] => systeminfo.php?_s_=49a3db1f [parent] => siteadmin [title] => System Information [description] => Display various pieces of information about your system that may be useful in diagnosing problems [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [checksum] => Array ( [url] => checksum.php?_s_=49a3db1f [parent] => siteadmin [title] => System Verification [description] => Validate the integrity of CMS files by comparing against known checksums [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [adminlog] => Array ( [url] => adminlog.php?_s_=49a3db1f [parent] => siteadmin [title] => Admin Log [description] => Shows a log of who did what in the admin. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [myprefs] => Array ( [url] => topmyprefs.php?_s_=49a3db1f [parent] => -1 [title] => My Preferences [description] => This is where you can customize the site admin area to work the way you want. [show_in_menu] => 1 [children] => Array ( [0] => myaccount [1] => preferences [2] => managebookmarks [3] => addbookmark [4] => editbookmark ) [selected] => ) [myaccount] => Array ( [url] => myedituser.php?_s_=49a3db1f [parent] => myprefs [title] => My Account [description] => This is where you can update your personal account details. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [preferences] => Array ( [url] => editprefs.php?_s_=49a3db1f [parent] => myprefs [title] => User Preferences [description] => This is where you set your specific preferences for site administration. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [managebookmarks] => Array ( [url] => listbookmarks.php?_s_=49a3db1f [parent] => myprefs [title] => Manage Shortcuts [description] => This is where you can manage your administration shortcuts. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [addbookmark] => Array ( [url] => addbookmark.php?_s_=49a3db1f [parent] => myprefs [title] => Add Shortcut [description] => Add Shortcut [show_in_menu] => [children] => Array ( ) [selected] => ) [editbookmark] => Array ( [url] => editbookmark.php?_s_=49a3db1f [parent] => myprefs [title] => Edit Shortcut [description] => Edit Shortcut [show_in_menu] => [children] => Array ( ) [selected] => ) [FileManager] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=FileManager [parent] => content [title] => File Manager [description] => Handling of files and directories in the upload-filesection of cmsms [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [News] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=News [parent] => content [title] => News [description] => Add, edit and remove News entries [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [Printing] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=Printing [parent] => content [title] => Printer Friendly Pages [description] => This module is an easily customizable way of providing printer friendly pages for CMSms. Alternatively PDF-files with the main content can be created on-the-fly. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [MenuManager] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=MenuManager [parent] => layout [title] => Menu Manager [description] => Manage menu templates to display menus in any way imaginable. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [ThemeManager] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=ThemeManager [parent] => layout [title] => Theme Manager [description] => A module to allow importing and exporting of content themes (templates and stylesheets) [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [CMSMailer] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=CMSMailer [parent] => extensions [title] => CMSMailer [description] => This is a simple wrapper around PHPMailer, it has an equivalent API (function for function) and a simple interface for some defaults. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [ModuleManager] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=ModuleManager [parent] => extensions [title] => Module Manager [description] => A tool for retrieving and installing modules from remote servers. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [Search] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=Search [parent] => extensions [title] => Search [description] => Module for search site and other module's contents. [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [TinyMCE] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=TinyMCE [parent] => extensions [title] => TinyMCE WYSIWYG [description] => [show_in_menu] => 1 [children] => Array ( ) [selected] => ) [CGBlog] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=CGBlog [parent] => content [title] => Calguys Blog Module [description] => Add, edit and remove CGBlog entries [show_in_menu] => 1 [firstmodule] => 1 [children] => Array ( ) [selected] => ) [CGCalendar] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=CGCalendar [parent] => content [title] => Calguys Calendar [description] => A full featured, and flexible module to allow displaying information about events in numerous formats. [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) [Uploads] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=Uploads [parent] => content [title] => Front End File Management (Uploads) [description] => A module that allows users to upload files, and allows you to manage them. [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) [Products] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=Products [parent] => content [title] => Product Manager [description] => A module for managing a catalog of products, their price, images, etc, and for allowing users to build a cart [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) [FrontEndUsers] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=FrontEndUsers [parent] => usersgroups [title] => Frontend User Management [description] => Allow users to log in to the frontend of your site [show_in_menu] => 1 [firstmodule] => 1 [children] => Array ( ) [selected] => ) [CGExtensions] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=CGExtensions [parent] => extensions [title] => Calguys Module Extensions [description] => This module is a library of php classes used to build advanced forms [show_in_menu] => 1 [firstmodule] => 1 [children] => Array ( ) [selected] => ) [CGUserDirectory] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=CGUserDirectory [parent] => extensions [title] => Calguys User Directory [description] => A module allowing searching, browsing, and viewing details about frontend users [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) [Cars] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=Cars [parent] => extensions [title] => Cars [description] => Allows FrontEndUsers to book times with FEU users. [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => 1 ) [FirePHPDebug] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=FirePHPDebug [parent] => extensions [title] => FirePHP Debugging [description] => FirePHP supplies an easy way for module developers to add messages to FireBug's debugging console. [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) [FormBuilder] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=FormBuilder [parent] => extensions [title] => Form Builder [description] => Add, edit and manage interactive Forms [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) [SimpleBooking] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=SimpleBooking [parent] => extensions [title] => SimpleBooking [description] => Allows FrontEndUsers to book times with FEU users. [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) [SitePusher] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=SitePusher [parent] => siteadmin [title] => Site Pusher [description] => A site rollout utility [show_in_menu] => 1 [firstmodule] => 1 [children] => Array ( ) [selected] => ) [SiteUtilities] => Array ( [url] => moduleinterface.php?_s_=49a3db1f&module=SiteUtilities [parent] => siteadmin [title] => SiteUtilities [description] => Allows FrontEndUsers to book times with FEU users. [show_in_menu] => 1 [module] => 1 [children] => Array ( ) [selected] => ) ) [imageLink] => Array ( [info.gif] => themes/NCleanGrey/images/icons/system/info.gif [info-external.gif] => themes/NCleanGrey/images/icons/system/info-external.gif ) [themeName] => NCleanGrey [breadcrumbs] => Array ( [0] => Array ( [title] => Extensions [url] => topextensions.php?_s_=49a3db1f ) [1] => Array ( [title] => Cars [url] => moduleinterface.php?_s_=49a3db1f&module=Cars ) ) [_notificationitems] => Array ( [0] => Array ( [0] => Array ( [0] => Core [1] => Warning: install directory still exists. Please remove it completely. ) ) [1] => Array ( ) [2] => Array ( ) ) [userid] => 1 ) [handlercache] => Array ( [0] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => ContentEditPost [handler_order] => 1 [handler_id] => 1 [removable] => 0 ) [1] => Array ( [tag_name] => [module_name] => SimpleBooking [originator] => FrontEndUsers [event_name] => OnDeleteUser [handler_order] => 1 [handler_id] => 201 [removable] => 1 ) [2] => Array ( [tag_name] => [module_name] => SiteUtilities [originator] => Core [event_name] => ContentEditPre [handler_order] => 1 [handler_id] => 192 [removable] => 1 ) [3] => Array ( [tag_name] => [module_name] => SiteUtilities [originator] => Core [event_name] => TemplatePreCompile [handler_order] => 1 [handler_id] => 193 [removable] => 1 ) [4] => Array ( [tag_name] => [module_name] => SimpleBooking [originator] => FrontEndUsers [event_name] => OnUpdateUser [handler_order] => 1 [handler_id] => 202 [removable] => 1 ) [5] => Array ( [tag_name] => [module_name] => SimpleBooking [originator] => FrontEndUsers [event_name] => OnExpireUser [handler_order] => 1 [handler_id] => 203 [removable] => 1 ) [6] => Array ( [tag_name] => [module_name] => SimpleBooking [originator] => FrontEndUsers [event_name] => OnLogin [handler_order] => 1 [handler_id] => 204 [removable] => 1 ) [7] => Array ( [tag_name] => [module_name] => SimpleBooking [originator] => FrontEndUsers [event_name] => OnLogout [handler_order] => 1 [handler_id] => 205 [removable] => 1 ) [8] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => ModuleUninstalled [handler_order] => 1 [handler_id] => 9 [removable] => 0 ) [9] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => DeleteGlobalContentPost [handler_order] => 1 [handler_id] => 8 [removable] => 0 ) [10] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => EditGlobalContentPost [handler_order] => 1 [handler_id] => 7 [removable] => 0 ) [11] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => AddGlobalContentPost [handler_order] => 1 [handler_id] => 6 [removable] => 0 ) [12] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => DeleteTemplatePost [handler_order] => 1 [handler_id] => 5 [removable] => 0 ) [13] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => EditTemplatePost [handler_order] => 1 [handler_id] => 4 [removable] => 0 ) [14] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => AddTemplatePost [handler_order] => 1 [handler_id] => 3 [removable] => 0 ) [15] => Array ( [tag_name] => [module_name] => Search [originator] => Core [event_name] => ContentDeletePost [handler_order] => 1 [handler_id] => 2 [removable] => 0 ) [16] => Array ( [tag_name] => [module_name] => SimpleBooking [originator] => FrontEndUsers [event_name] => OnCreateUser [handler_order] => 1 [handler_id] => 200 [removable] => 1 ) ) [formcount] => 2 [module_template_cache] => Array ( [News;summarySample] => 1242495857 [News;detailSample] => 1242495857 [News;formSample] => 1242495857 [News;browsecatSample] => 1242495857 [News;email_template] => 1242495857 [Printing;linktemplate] => 1242495857 [Printing;printtemplate] => 1242495857 [Printing;pdftemplate] => 1242495857 [Search;displaysearch] => 1242495857 [Search;displayresult] => 1242495857 [CGExtensions;cg_errormsg] => 1242495924 [CGExtensions;sortablelists_Sample] => 1242495924 [CGBlog;summarySample] => 1244231426 [CGBlog;detailSample] => 1244231426 [CGBlog;fesubmitSample] => 1244231426 [CGBlog;archiveSample] => 1244231426 [CGBlog;browsecatSample] => 1244231426 [CGBlog;email_template] => 1244231719 [FrontEndUsers;feusers_loginform] => 1242495982 [FrontEndUsers;feusers_logoutform] => 1242495982 [FrontEndUsers;feusers_changesettingsform] => 1242495982 [FrontEndUsers;feusers_forgotpasswordform] => 1242495982 [FrontEndUsers;feusers_forgotpasswordemailform] => 1242495982 [FrontEndUsers;feusers_forgotpasswordverifyform] => 1242495982 [FrontEndUsers;feusers_lostunform] => 1242495982 [FrontEndUsers;feusers_lostunform_confirm] => 1242495982 [FrontEndUsers;notification_template] => 1243129614 [FrontEndUsers;feusers_viewuser] => 1242495982 [CGCalendar;search_Sample] => 1242785256 [CGCalendar;searchresult_Sample] => 1242785256 [CGCalendar;event_Sample] => 1242785256 [CGCalendar;event_blog-post-detail] => 1242785256 [CGCalendar;list_Sample] => 1242790928 [CGCalendar;list_blog-post-list] => 1242785256 [CGCalendar;list_blog-post-list-with-content] => 1242785256 [CGCalendar;list_blog-post-list-month-archive-list] => 1242785256 [CGCalendar;upcominglist_Sample] => 1242785256 [CGUserDirectory;directory_Sample] => 1242527146 [CGUserDirectory;summary_Sample] => 1242528903 [CGUserDirectory;detail_Sample] => 1243736693 [CGCalendar;calendar_Sample] => 1242786367 [CGCalendar;FEUform_Sample] => 1242785256 [CGCalendar;calendar_bookingDAYs] => 1243732457 [CGCalendar;list_bookingTimes] => 1243727851 [SiteUtilities;dbProfiletest] => 1245024798 [SiteUtilities;dbProfilet2] => 1245025821 [Uploads;uploadform_default] => 1245202046 [Uploads;summaryrpt_default] => 1245202046 [Uploads;detailrpt_default] => 1245202046 [Uploads;sendfileform_default] => 1245202046 [Uploads;yousenditform_default] => 1245202046 [Uploads;upload_sendfilerpt] => 1245202046 [Uploads;upload_emailtemplate] => 1245202046 [FormBuilder;fb_1] => 1245545099 [FormBuilder;fb_2] => 1245545100 [Products;summary_Sample] => 1245373225 [Products;detail_Sample] => 1245373225 [Products;byhierarchy_Sample] => 1245373225 [Products;categorylist_Sample] => 1245373225 [FormBuilder;fb_7] => 1245544785 [FormBuilder;fb_6] => 1245627179 ) ) [cmsmodules] => Array ( ) [cmssystemmodules] => Array ( [0] => FileManager [1] => nuSOAP [2] => MenuManager [3] => ModuleManager [4] => Search [5] => CMSMailer [6] => News [7] => TinyMCE [8] => Printing [9] => ThemeManager ) [cmsplugins] => Array ( [0] => URLhere [1] => cms_date_format [2] => custom_copyright [3] => editListener [4] => makeCookies [5] => postcompilefunc [6] => precompilefunc [7] => summarize [8] => urlIs [9] => userAdmin [10] => user_agent [11] => ~bookingPREF ) [userplugins] => Array ( [user_agent] => 1 [custom_copyright] => 2 [makeCookies] => 4 [userAdmin] => 5 [URLhere] => 0 [~bookingPREF] => 6 [urlIs] => 7 [editListener] => 8 ) [bbcodeparser] => [siteprefs] => Array ( [enablecustom404] => 0 [custom404] =>
 

Page could not be found.

[custom404template] => -1 [enablesitedownmessage] => 0 [sitedownmessage] =>
 

Site is currently down for maintenance.

[sitedownmessagetemplate] => -1 [useadvancedcss] => 1 [metadata] => [xmlmodulerepository] => [logintheme] => NCleanGrey [sitename] => CMS Made Simple Site [CMSMailer_mapi_pref_mailer] => mail [CMSMailer_mapi_pref_host] => localhost [CMSMailer_mapi_pref_port] => 25 [CMSMailer_mapi_pref_from] => jeremybass@cableone.net [CMSMailer_mapi_pref_fromuser] => CMS Administratorsssssssssss [CMSMailer_mapi_pref_sendmail] => /usr/sbin/sendmail [CMSMailer_mapi_pref_timeout] => 1000 [CMSMailer_mapi_pref_smtpauth] => 0 [CMSMailer_mapi_pref_username] => [CMSMailer_mapi_pref_password] => [FileManager_mapi_pref_iconsize] => 32px [FileManager_mapi_pref_uploadboxes] => 5 [FileManager_mapi_pref_advancedmode] => false [FileManager_mapi_pref_showhiddenfiles] => false [ModuleManager_mapi_pref_module_repository] => http://modules.cmsmadesimple.org/soap.php?module=ModuleRepository [News_mapi_pref_default_summary_template_contents] => {if $pagecount > 1}
 

{if $pagenumber > 1} {$firstpage} {$prevpage}  {/if} {$pagetext} {$pagenumber} {$oftext} {$pagecount} {if $pagenumber < $pagecount}  {$nextpage} {$lastpage} {/if}

{/if} {foreach from=$items item=entry}

{if $entry->postdate}

{$entry->postdate|cms_date_format}

{/if}

{$entry->title|escape}

{$category_label} {$entry->category}

{if $entry->author}

{$author_label} {$entry->author}

{/if} {if $entry->summary}

{eval var=$entry->summary}

[{$entry->morelink}]

{else if $entry->content}

{eval var=$entry->content}

{/if} {if isset($entry->extra)}

{eval var=$entry->extra} {* {cms_module module='Uploads' mode='simpleurl' upload_id=$entry->extravalue} *}

{/if} {if isset($entry->fields)} {foreach from=$entry->fields item='field'}

{if $field->type == 'file'} {else} {$field->name}: {eval var=$field->value} {/if}

{/foreach} {/if}

{/foreach} [News_mapi_pref_current_summary_template] => Sample [News_mapi_pref_default_detail_template_contents] => {* set a canonical variable that can be used in the head section if process_whole_template is false in the config.php *} {if isset($entry->canonical)} {assign var='canonical' value=$entry->canonical} {/if} {if $entry->postdate}

{$entry->postdate|cms_date_format}

{/if}

{$entry->title|escape:htmlall}

{if $entry->summary}

{eval var=$entry->summary}

{/if} {if $entry->category}

{$category_label} {$entry->category}

{/if} {if $entry->author}

{$author_label} {$entry->author}

{/if}

{eval var=$entry->content}

{if $entry->extra}

{$extra_label} {$entry->extra}

{/if}

{$entry->printlink}

{if $return_url != ""}

{$return_url}

{/if} {if isset($entry->fields)} {foreach from=$entry->fields item='field'}

{if $field->type == 'file'} {* this template assumes that every file uploaded is an image of some sort, because News doesn't distinguish *} {else} {$field->name}: {eval var=$field->value} {/if}

{/foreach} {/if} [News_mapi_pref_current_detail_template] => Sample [News_mapi_pref_default_form_template_contents] => {* original form template *} {if isset($error)}

{$error}

{else} {if isset($message)}

{$message}

{/if} {/if} {$startform}
 

*{$titletext}:
 

{$inputtitle}
 

{$categorytext}:
 

{$inputcategory}

{if !isset($hide_summary_field) or $hide_summary_field == 0}
 

{$summarytext}:
 

{$inputsummary}

{/if}
 

*{$contenttext}:
 

{$inputcontent}
 

{$extratext}:
 

{$inputextra}
 

{$startdatetext}:
 

{html_select_date prefix=$startdateprefix time=$startdate end_year="+15"} {html_select_time prefix=$startdateprefix time=$startdate}
 

{$enddatetext}:
 

{html_select_date prefix=$enddateprefix time=$enddate end_year="+15"} {html_select_time prefix=$enddateprefix time=$enddate}

{if isset($customfields)} {foreach from=$customfields item='onefield'}
 

{$onefield->name}:
 

{$onefield->field}

{/foreach} {/if}
 

 
 

{$hidden}{$submit}{$cancel}

{$endform} [News_mapi_pref_current_form_template] => Sample [News_mapi_pref_default_browsecat_template_contents] => {if $count > 0}
 

      {foreach from=$cats item=node} {if $node.depth > $node.prevdepth} {repeat string="

            " times=$node.depth-$node.prevdepth} {elseif $node.depth < $node.prevdepth} {repeat string="" times=$node.prevdepth-$node.depth} {elseif $node.index > 0} {/if} {if $node.count > 0} {$node.news_category_name} ({$node.count}){else}{$node.news_category_name} (0){/if} {/foreach} {repeat string="

*
 

" times=$node.depth-1} {/if} [News_mapi_pref_current_browsecat_template] => Sample [News_mapi_pref_email_subject] => A new News article has been posted [News_mapi_pref_allowed_upload_types] => gif,png,jpeg,jpg [News_mapi_pref_auto_create_thumbnails] => gif,png,jpeg,jpg [Printing_mapi_pref_overridestyle] => /* You can put css stuff here, which will be inserted in the header after calling the cmsms-stylesheets. Provided you don't remove the {$overridestylesheet} in PrintTemplate, of course. Any suggestions for default content in this stylesheet? Have fun! */ [Search_mapi_pref_stopwords] => i, me, my, myself, we, our, ours, ourselves, you, your, yours, yourself, yourselves, he, him, his, himself, she, her, hers, herself, it, its, itself, they, them, their, theirs, themselves, what, which, who, whom, this, that, these, those, am, is, are, was, were, be, been, being, have, has, had, having, do, does, did, doing, a, an, the, and, but, if, or, because, as, until, while, of, at, by, for, with, about, against, between, into, through, during, before, after, above, below, to, from, up, down, in, out, on, off, over, under, again, further, then, once, here, there, when, where, why, how, all, any, both, each, few, more, most, other, some, such, no, nor, not, only, own, same, so, than, too, very [Search_mapi_pref_usestemming] => false [Search_mapi_pref_searchtext] => Enter Search... [TinyMCE_mapi_pref_skin] => default [TinyMCE_mapi_pref_source_formatting] => 1 [TinyMCE_mapi_pref_showtogglebutton] => 1 [TinyMCE_mapi_pref_editor_width] => 800 [TinyMCE_mapi_pref_editor_width_auto] => 1 [TinyMCE_mapi_pref_editor_width_unit] => px [TinyMCE_mapi_pref_editor_height] => 400 [TinyMCE_mapi_pref_editor_height_auto] => 1 [TinyMCE_mapi_pref_editor_height_unit] => px [TinyMCE_mapi_pref_show_path] => 1 [TinyMCE_mapi_pref_striptags] => 0 [TinyMCE_mapi_pref_imagebrowserstyle] => both [TinyMCE_mapi_pref_allowupload] => 0 [TinyMCE_mapi_pref_filepickerstyle] => both [TinyMCE_mapi_pref_fpwidth] => 700 [TinyMCE_mapi_pref_fpheight] => 500 [TinyMCE_mapi_pref_toolbar1] => cut,paste,pastetext,pasteword,copy,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,fontselect,fontsizeselect [TinyMCE_mapi_pref_toolbar2] => bold,italic,underline,strikethrough,advhr,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,customdropdown,cmslinker,link,unlink,anchor,image,charmap,cleanup,separator,forecolor,backcolor,separator,code,fullscreen,help [TinyMCE_mapi_pref_toolbar3] => [TinyMCE_mapi_pref_allow_tables] => 0 [TinyMCE_mapi_pref_front_toolbar1] => cut,paste,pastetext,pasteword,copy,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,fontselect,fontsizeselect [TinyMCE_mapi_pref_front_toolbar2] => bold,italic,underline,strikethrough,advhr,separator,bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,cmslinker,link,unlink,anchor,image,charmap,cleanup,separator,forecolor,backcolor,separator,code,fullscreen,help [TinyMCE_mapi_pref_front_toolbar3] => [TinyMCE_mapi_pref_front_allow_tables] => 0 [TinyMCE_mapi_pref_plugins] => paste,advimage,advlink,contextmenu,inlinepopups [TinyMCE_mapi_pref_newlinestyle] => p [TinyMCE_mapi_pref_usecompression] => 0 [TinyMCE_mapi_pref_entityencoding] => raw [TinyMCE_mapi_pref_bodycss] => [TinyMCE_mapi_pref_forcedrootblock] => false [TinyMCE_mapi_pref_customdropdown] => Start expand/collapse-area|{startExpandCollapse id=\'expand1\' title=\'This is my expandable area\'} End expand/collapse-area|{stopExpandCollapse} ---|--- Insert CMS version info|{cms_version} {cms_versionname} [TinyMCE_mapi_pref_extraconfig] => [TinyMCE_mapi_pref_forcecleanpaste] => 1 [TinyMCE_mapi_pref_startenabled] => 1 [TinyMCE_mapi_pref_loadcmslinker] => 1 [TinyMCE_mapi_pref_cmslinkerstyle] => 1 [TinyMCE_mapi_pref_usestaticconfig] => 0 [TinyMCE_mapi_pref_dropdownblockformats] => p,div,h1,h2,h3,h4,h5,h6,div,blockquote,dt,dd,code,samp [global_umask] => 022 [frontendlang] => [cms_is_uptodate] => 0 [lastcmsversioncheck] => 1246172395 [CGExtensions_mapi_pref_imageextensions] => jpg,png,gif [CGExtensions_mapi_pref_thumbnailsize] => 75 [CGExtensions_mapi_pref_watermark_text] => CMS Made Simple Site [CGExtensions_mapi_pref_watermark_textsize] => 12 [CGExtensions_mapi_pref_watermark_angle] => 0 [CGExtensions_mapi_pref_watermark_font] => ARIAL.TTF [CGExtensions_mapi_pref_watermark_bgcolor] => #FFFFFF [CGExtensions_mapi_pref_watermark_textcolor] => #000000 [CGExtensions_mapi_pref_watermark_transparent] => 1 [CGExtensions_mapi_pref_dflt_sortablelist_template_content] => {* sortable list template *} {* This template provides one example of using javascript in a CMS module template. The javascript is left here as an example of how one can interact with smarty in javascript. You may infact want to put most of these functions into a seperate .js file and include it somewhere in your head section. You are free to modify this javascript and this template. However, the php driver scripts look for a field named in the smarty variable {$selectarea_prefix}, and expect that to be a comma seperated list of values. *} {literal} {/literal}

{* left column - for the selected items *} {$label_left}
 

	{* center column - for the add/delete buttons *}
 
 
 

	{* right column - for the master list *} {$label_right}

[CGExtensions_mapi_pref_dflt_sortablelist_template] => Sample [Products_mapi_pref_products_pref_newsummary_template] => {if isset($catformstart)} {$catformstart} {$catdropdown}{$catbutton} {$catformend} {/if} {if isset($pagecount) && $pagecount gt 1} {$firstlink} {$prevlink}  {$pagetext} {$curpage} {$oftext} {$pagecount}  {$nextlink} {$lastlink} {/if} {foreach from=$items item=entry} {* the summary template has access to custom fields via the $entry->fields hash and to categories via the $entry->categories array of objects. Also attribute information is available via $entry->attributes. you should use the get_template_vars and the print_r modifier to see what is available *}

{$entry->product_name} ({$entry->weight}{$weight_units})  {$currency_symbol}{$entry->price} {if isset($entry->categories)} Categories:  {foreach from=$entry->categories item='category'} {$category->name},  {/foreach}

{/if}

{* include the cart {if isset($cart_module_tag)}

{eval var=$cart_module_tag}

{/if} *} {/foreach} [SimpleBooking_mapi_pref_booker] => 2 [SimpleBooking_mapi_pref_wysiwyg] => [CGBlog_mapi_pref_default_summary_template_contents] => {if $pagecount > 1}
 

{if $pagenumber > 1} {$firstpage} {$prevpage}  {/if} {$pagetext} {$pagenumber} {$oftext} {$pagecount} {if $pagenumber < $pagecount}  {$nextpage} {$lastpage} {/if}

{/if} {foreach from=$items item=entry}

{if $entry->postdate}

{$entry->postdate|cms_date_format}

{/if}

{$entry->title|escape}

{if $entry->categories}

{strip}{$category_label} {foreach from=$entry->categories item='category'} {$category.name}  {/foreach} {/strip}

{/if} {if $entry->author}

{$author_label} {$entry->author}

{/if} {if $entry->summary}

{eval var=$entry->summary}

{else if $entry->content}

{eval var=$entry->content}

{/if} {if isset($entry->extra)}

{eval var=$entry->extra} {* {cms_module module='Uploads' mode='simpleurl' upload_id=$entry->extravalue} *}

{/if} {if isset($entry->fields)} {foreach from=$entry->fields item='field'}

{if $field->type == 'file'} {else} {$field->name}: {eval var=$field->value} {/if}

{/foreach} {/if}

{/foreach} [CGBlog_mapi_pref_current_summary_template] => Sample [CGBlog_mapi_pref_default_detail_template_contents] => {* set a canonical variable that can be used in the head section if process_whole_template is false in the config.php *} {if isset($entry->canonical)} {assign var='canonical' value=$entry->canonical} {/if} {if $entry->postdate}

{$entry->postdate|cms_date_format}

{/if}

{$entry->title|escape}

{if $entry->summary}

{eval var=$entry->summary}

{/if} {if $entry->categories}

{strip}{$category_label} {foreach from=$entry->categories item='category'} {$category.name}  {/foreach} {/strip}

{/if} {if $entry->author}

{$author_label} {$entry->author}

{/if}

{eval var=$entry->content}

{if $entry->extra}

{$extra_label} {$entry->extra}

{/if} {if isset($entry->fields)} {foreach from=$entry->fields item='field'}

{if $field->type == 'file'} {* this template assumes that every file uploaded is an image of some sort, because CGBlog doesn't distinguish *} {else} {$field->name}: {eval var=$field->value} {/if}

{/foreach} {/if} [CGBlog_mapi_pref_current_detail_template] => Sample [CGBlog_mapi_pref_default_fesubmit_template_contents] => {* original form template *} {if isset($error)}

{$error}

{else} {if isset($message)}

{$message}

{/if} {/if} {$startform}
 

*{$titletext}:
 

{$inputtitle}
 

{$categorytext}:
 

{foreach from=$categorylist item='tmp' key='name'}  {$name}

{/foreach}

{if !isset($hide_summary_field) or $hide_summary_field == 0}
 

{$summarytext}:
 

{$inputsummary}

{/if}
 

*{$contenttext}:
 

{$inputcontent}
 

{$extratext}:
 

{$inputextra}
 

{$startdatetext}:
 

{html_select_date prefix=$startdateprefix time=$startdate end_year="+15"} {html_select_time prefix=$startdateprefix time=$startdate}
 

{$enddatetext}:
 

{html_select_date prefix=$enddateprefix time=$enddate end_year="+15"} {html_select_time prefix=$enddateprefix time=$enddate}

{if isset($customfields)} {foreach from=$customfields item='onefield'}
 

{$onefield->name}:
 

{$onefield->field}

{/foreach} {/if}
 

 
 

{$hidden}{$submit}{$cancel}

{$endform} [CGBlog_mapi_pref_current_fesubmit_template] => Sample [CGBlog_mapi_pref_default_archive_template_contents] => {* archive template *} {if isset($archivelist)}
 

    * {foreach from=$archivelist item=one} {$one.datestamp|date_format:"%B"} {$one.datestamp|date_format:"%Y"} - ({$one.count})

      {/foreach} 
 

{/if} [CGBlog_mapi_pref_current_archive_template] => Sample [CGBlog_mapi_pref_default_browsecat_template_contents] =>
 

    * {foreach from=$categories item='one'} {$one.name} ({$one.count})

      {/foreach} 
 

[CGBlog_mapi_pref_current_browsecat_template] => Sample [CGBlog_mapi_pref_allowed_upload_types] => gif,png,jpeg,jpg [CGBlog_mapi_pref_auto_create_thumbnails] => gif,png,jpeg,jpg [CGBlog_mapi_pref_default_category] => 1 [CGBlog_mapi_pref_fesubmit_email_subject] => A new blog entry been posted [CGBlog_mapi_pref_fesubmit_email_html] => 0 [CGBlog_mapi_pref_fesubmit_email_users] => [CGBlog_mapi_pref_fesubmit_status] => published [CGBlog_mapi_pref_fesubmit_redirect] => -1 [CGBlog_mapi_pref_hide_summary_field] => 0 [CGBlog_mapi_pref_allow_summary_wysiwyg] => 1 [CGBlog_mapi_pref_expired_searchable] => 1 [CGBlog_mapi_pref_expiry_interval] => 180 [CGBlog_mapi_pref_urlprefix] => cgblog [CGBlog_mapi_pref_default_detailpage] => -1 [CGBlog_mapi_pref_default_summarypage] => -1 [FrontEndUsers_mapi_pref_min_passwordlength] => 6 [FrontEndUsers_mapi_pref_max_passwordlength] => 20 [FrontEndUsers_mapi_pref_min_usernamelength] => 4 [FrontEndUsers_mapi_pref_max_usernamelength] => 40 [FrontEndUsers_mapi_pref_user_session_expires] => 1800 [FrontEndUsers_mapi_pref_cookie_keepalive] => 0 [FrontEndUsers_mapi_pref_default_group] => 1 [FrontEndUsers_mapi_pref_required_field_marker] => * [FrontEndUsers_mapi_pref_required_field_color] => blue [FrontEndUsers_mapi_pref_require_onegroup] => 1 [FrontEndUsers_mapi_pref_hidden_field_marker] => ! [FrontEndUsers_mapi_pref_hidden_field_color] => green [FrontEndUsers_mapi_pref_pageid_forgotpasswd] => [FrontEndUsers_mapi_pref_pageid_changesettings] => [FrontEndUsers_mapi_pref_pageid_login] => [FrontEndUsers_mapi_pref_pageid_logout] => [FrontEndUsers_mapi_pref_pageid_afterverify] => [FrontEndUsers_mapi_pref_allow_duplicate_emails] => 1 [FrontEndUsers_mapi_pref_username_is_email] => 0 [FrontEndUsers_mapi_pref_passwordfldlength] => 20 [FrontEndUsers_mapi_pref_usernamefldlength] => 40 [FrontEndUsers_mapi_pref_allow_repeated_logins] => 1 [FrontEndUsers_mapi_pref_image_destination_path] => feusers [FrontEndUsers_mapi_pref_allowed_image_extensions] => .gif,.png,.jpg [FrontEndUsers_mapi_pref_usecookiestoremember] => 0 [FrontEndUsers_mapi_pref_cookiename] => 0 [FrontEndUsers_mapi_pref_notification_subject] => FEU Event Notification [FrontEndUsers_mapi_pref_use_randomusername] => 1 [FrontEndUsers_mapi_pref_expireage_months] => 260 [FrontEndUsers_mapi_pref_signin_button] => Sign in [FrontEndUsers_mapi_pref_pageidforgotpasswd] => [FrontEndUsers_mapi_pref_pageid_afterchangesettings] => [FrontEndUsers_mapi_pref_allow_duplicate_reminders] => 0 [FrontEndUsers_mapi_pref_notification_address] => [FrontEndUsers_mapi_pref_feusers_specific_permissions] => 0 [CGCalendar_mapi_pref_cgcalendar_pref_dfltupcominglist_template] => Sample [CGCalendar_mapi_pref_defaultcalendarpage] => -1 [CGCalendar_mapi_pref_cgcalendar_pref_dfltFEUform_TEMPLATE] => Sample [CGCalendar_mapi_pref_cgcalendar_pref_newsearch_template] => {* search form template *}

{$formstart}

{$mod->Lang('text')}:

{$mod->Lang('start_date')}:

{capture assign='tmp'}{$actionid}cal_search_start_date_{/capture} {html_select_date prefix=$tmp time=$search_start_date start_year=-2 end_year=+2} {* {html_select_time prefix=$tmp time=$search_start_date display_seconds=0} *}

{$mod->Lang('end_date')}:

{capture assign='tmp'}{$actionid}cal_search_end_date_{/capture} {html_select_date prefix=$tmp time=$search_end_date start_year=-2 end_year=+2} {* {html_select_time prefix=$tmp time=$search_end_date display_seconds=0} *}

{$mod->Lang('category')}:

 

{$formend}

[CGCalendar_mapi_pref_cgcalendar_pref_dfltsearch_template] => Sample [CGCalendar_mapi_pref_cgcalendar_pref_newsearchresult_template] => {* original search result template *}

{$mod->Lang('search_results')}
 

{$mod->Lang('search_words')}: {$search_text}
 

{$mod->Lang('start_date')}: {$search_start_date|cms_date_format}
 

{$mod->Lang('end_date')}: {$search_end_date|cms_date_format}
 

{$mod->Lang('category')}: {if $search_category == '-1'}{$mod->Lang('cal_any_category')}{else}{$mod->GetCategoryName($search_category)}{/if}

{if !isset($events)} {$mod->Lang('no_results_found')} {else}

{* pagination stuff *} {if isset($firstpage_url) || isset($lastpage_url)}

{if isset($firstpage_url)} {$mod->Lang('first_page')}  {$mod->Lang('prev_page')}  {/if} {$mod->Lang('page_of',$pagenum,$numpages)} {if isset($lastpage_url)}  {$mod->Lang('next_page')}  {$mod->Lang('last_page')} {/if}

{/if} {* display the output *} {foreach from=$events key=key item=event}

{$event.event_title}

{assign var=month_number value=$event.event_date_start|date_format:"%m"} {assign var=end_month_number value=$event.event_date_end|date_format:"%m"} {if $event.event_date_start == $event.event_date_end || $event.event_date_end == 0}

{$lang.date}: {$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y"}

{else} {if $event.event_date_start|date_format:"%d%m%Y" == $event.event_date_end|date_format:"%d%m%Y"}

{$lang.date}: {$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y %H:%M"} {$lang.to} {$event.event_date_end|date_format:"%H:%M"}

{else}

{$lang.date}: {$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y %H:%M"} {$lang.to} {$event.event_date_end|date_format:"%d"} {$month_names[$end_month_number]} {$event.event_date_end|date_format:"%Y %H:%M"}

{/if} {/if} {if $event.event_summary !="" && ($detail != 1 || ($event.event_details =="" || $event.event_details == "

"))}

{$lang.summary}: {$event.event_summary}

{/if} {* optionally display detail information {if $event.event_details !="" && $event.event_details != "

"}

{$lang.details}: {$event.event_details}

{/if} *} {$mod->Lang('cal_more')}

{/foreach} {/if} [CGCalendar_mapi_pref_cgcalendar_pref_dfltsearchresult_template] => Sample [CGCalendar_mapi_pref_cgcalendar_pref_newevent_template] =>

{$event.event_title}

{assign var=month_number value=$event.event_date_start|date_format:"%m"} {assign var=end_month_number value=$event.event_date_end|date_format:"%m"} {if $event.event_date_start == $event.event_date_end || $event.event_date_end == 0}

{$lang.date}: {$event.event_date_start|cms_date_format} {$event.event_date_start|date_format:"%X"}

{else} {if $event.event_date_start|date_format:"%d%m%Y" == $event.event_date_end|date_format:"%d%m%Y"}

{$lang.date}: {$event.event_date_start|cms_date_format} {$event.event_date_start|date_format:"%X"} {$lang.to} {$event.event_date_end|date_format:"%H:%M"}

{else}

{$lang.date}: {$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y %H:%M"} {$lang.to} {$event.event_date_end|date_format:"%d"} {$month_names[$end_month_number]} {$event.event_date_end|date_format:"%Y %H:%M"}

{/if} {/if} {if $event.event_summary !="" && $event.event_details ==""}

{$lang.summary}: {$event.event_summary}

{/if} {if $event.event_details !="" && $event.event_details != "

"}

{$lang.details}: {eval var=$event.event_details}

{/if} {* Display custom fields There are two ways to address custom fields 1) {$event.fields.fieldname} 2) {foreach from=$event.fields key='fieldnamee' item='fieldvalue'} {$fieldname}: {$fieldvalue} {/foreach} You may want to use the former method with file upload fields. *}

{foreach from=$event.fields key='fieldname' item='fieldvalue'} {$fieldname}: {$fieldvalue}

{/foreach}

{$return_url}

[CGCalendar_mapi_pref_cgcalendar_pref_dfltevent_template] => Sample [CGCalendar_mapi_pref_cgcalendar_pref_newlist_template] =>

{if !isset($smarty.post.FEUday)}

Pick a day

{else}

Pick a time

{assign var=hoursOpen value=$hoursOpen} {assign var=startOfDay value=$startOfDay} {assign var=timeBlocksIncro value=$timeBlocksIncro} {assign var=mintue value=60} {assign var=timeBlocks value=$mintue/$timeBlocksIncro} {assign var=timeBlockslooped value=0} {assign var=eventNum value=0} {assign var=timeBlocksQuarters value="00"} {section name=hoursOpenTimes loop=$hoursOpen} {section name=timeBlocksQuarters loop=$timeBlocks} {capture assign=timeBookingblock}{$startOfDay+$timeBlockslooped}:{if ($timeBlocksQuarters==00)||($timeBlocksQuarters==60)}00{else}{$timeBlocksQuarters}{/if}{/capture} {$timeBookingblock|date_format:"%l:%M"} {assign var=booked value=false} {foreach from=$events key=key item=event} {if $smarty.post.FEUday == $event.event_date_start|date_format:"%e"} {if ($event.event_date_start|date_format:"%H:%M" == $timeBookingblock|date_format:"%H:%M")} - Booked {assign var=booked value=true} {/if} {/if} {/foreach} {if $booked == false} {assign var=eventNum value=0} {if $eventNum == 0} {assign var=eventNum value=$eventNum+1}

{if ($smarty.cookies.Ujs == 1)} choose this time {else} {/if}

{assign var=booked value=false} {/if} {/if}

{assign var=timeBlocksQuarters value=$timeBlocksQuarters+$timeBlocksIncro} {/section} {assign var=timeBlockslooped value=$timeBlockslooped+1} {assign var=timeBlocksQuarters value="00"} {/section} {if $return_url != ""}

{$return_url}

{/if} {/if}

[CGCalendar_mapi_pref_cgcalendar_pref_dfltlist_template] => bookingTimes [CGCalendar_mapi_pref_cgcalendar_pref_newupcominglist_template] =>

{if isset($pastitems) && $pastitems == 1}

{$lang.past_events}

{else}

{$lang.upcoming_events}

{/if} {if isset($navigation)} {if isset($navigation.prev)}{$lang.prev}{/if}    {if isset($navigation.next)}{$lang.next}{/if} {/if} {foreach from=$events key=key item=event}

{$event.event_title}

{assign var=month_number value=$event.event_date_start|date_format:"%m"} {assign var=end_month_number value=$event.event_date_end|date_format:"%m"} {if $event.event_date_start == $event.event_date_end || $event.event_date_end == 0}

{$lang.date}: {$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y"}

{else} {if $event.event_date_start|date_format:"%d%m%Y" == $event.event_date_end|date_format:"%d%m%Y"}

{$lang.date}: {$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y %H:%M"} {$lang.to} {$event.event_date_end|date_format:"%H:%M"}

{else}

{$lang.date}: {$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y %H:%M"} {$lang.to} {$event.event_date_end|date_format:"%d"} {$month_names[$end_month_number]} {$event.event_date_end|date_format:"%Y %H:%M"}

{/if} {/if} {if $event.event_summary !="" && ($detail != 1 || ($event.event_details =="" || $event.event_details == "

"))}

{$lang.summary}: {$event.event_summary}

{/if} {* optionally display detail information {if $event.event_details !="" && $event.event_details != "

"}

{$lang.details}: {$event.event_details}

{/if} *} {$mod->Lang('cal_more')}

{/foreach} {if $return_url != ""}

{$return_url}

{/if}

[FeuCalendar_mapi_pref_group_name] => [CGUserDirectory_mapi_pref_sysdflt_directory_template] => {* directory template *}

{if isset($chararray)} {foreach from=$chararray item='one'} {if isset($one[1])} {$one[0]} {else} {$one[0]} {/if} {/foreach} {/if}

[CGUserDirectory_mapi_pref_curdflt_directory_template_name] => Sample [CGUserDirectory_mapi_pref_sysdflt_summary_template] => {* CGUserDirectory summary template *}

{if isset($firstpage_url)} << {/if} {if isset($prevpage_url)} < {/if}  {$mod->Lang('page')} {$curpage} {$mod->Lang('of')} {$numpages}  {if isset($nextpage_url)} > {/if} {if isset($lastpage_url)} >> {/if} {foreach from=$users item='oneuser'}

{$mod->Lang('username')}:

{$oneuser.username} ({$oneuser.id})

{$mod->Lang('created')}:

{$oneuser.createdate|cms_date_format}

{$mod->Lang('expires')}:

{$oneuser.expires|cms_date_format}

{if isset($oneuser.refdate)}

{$mod->Lang('last_active')}:

{$oneuser.refdate|cms_date_format}

{/if}

{$mod->Lang('groups')}:

{foreach from=$oneuser.groups item='onegroup'} {$groups.$onegroup.groupname}  {/foreach}

{* properties *} {foreach from=$oneuser.properties item='onepropvalue' key='propname'}

{$properties.$propname.prompt}:

{$onepropvalue}

{/foreach}

{* userdirectory_oneuser *} {/foreach}

{* userdirectory_summary *} [CGUserDirectory_mapi_pref_curdflt_summary_template_name] => Sample [CGUserDirectory_mapi_pref_sysdflt_detail_template] => {* CGUserDirectory detail template *}

{$mod->Lang('username')}:

{$oneuser.username} ({$oneuser.id})

{$mod->Lang('created')}:

{$oneuser.createdate|cms_date_format}

{$mod->Lang('expires')}:

{$oneuser.expires|cms_date_format}

{if isset($oneuser.refdate)}

{$mod->Lang('last_active')}:

{$oneuser.refdate|cms_date_format}

{/if}

{$mod->Lang('groups')}:

{foreach from=$oneuser.groups item='onegroup'} {$groups.$onegroup.groupname}  {/foreach}

{* properties *} {foreach from=$oneuser.properties item='onepropvalue' key='propname'}

{$properties.$propname.prompt}:

{if $properties.$propname.type == 6} {* image *} {else} {$onepropvalue} {/if}

{/foreach}

[CGUserDirectory_mapi_pref_curdflt_detail_template_name] => Sample [CGCalendar_mapi_pref_cgcalendar_pref_dfltcalendar_template] => bookingDAYs [CGCalendar_mapi_pref_cgcalendar_pref_newFEUform_TEMPLATE] => {* todo break tie $oneuser.id and action *} {if isset($smarty.post.timeToBookYear)}{$smarty.post.timeToBookDay} {$smarty.post.timeToBookMintue} {$smarty.post.timeToBookHour} {$smarty.post.timeToBookYear} {$smarty.post.timeToBookMonth} {$form_start} {* *} {*

{$start_label}: 	{$start_input}

{$end_label}: 	{$end_input}

{$title_label}: 	{$title_input}

{$summary_label}: 	{$summary_input}

{$details_label}: 	{$details_input}

{$categories_label}: 	{$categories_input}*}

	{$form_submit} {$form_cancel}

{$form_end} {/if}

[CGCalendar_mapi_pref_cgcalendar_pref_newcalendar_template] => {foreach from=$day_names item=day key=key} {/foreach}{* initial empty days *} {if $first_of_month_weekday_number > 0} {/if} {* iterate over the days of this month *} {assign var=weekday value=$first_of_month_weekday_number} {foreach from=$days item=day key=key} {if $weekday == 7} {assign var=weekday value=0} {/if} {math assign=weekday equation="x + 1" x=$weekday} {/foreach} {* remaining empty days *} {if $weekday != 7} {/if}

{$day_short_names[$key]}

{if ($smarty.now|date_format:"%d" <= $key) && ($smarty.now|date_format:"%d"+$DayAhead-1 >= $key)}

{/if} 	

[FrontEndUsers_mapi_pref_current_group] => -1 [FrontEndUsers_mapi_pref_current_regex] => [FrontEndUsers_mapi_pref_current_loggedinonly] => 0 [FrontEndUsers_mapi_pref_current_limit] => 100 [FrontEndUsers_mapi_pref_current_sort] => username [FrontEndUsers_mapi_pref_current_propsel] => none [FrontEndUsers_mapi_pref_current_propval] => [SimpleBooking_mapi_pref_group_name] => [CMSMailer_mapi_pref_charset] => [mail_is_set] => 1 [SitePusher_mapi_pref_ftpchmod_file] => O644 [SitePusher_mapi_pref_ftpchmod_dir] => O755 [SitePusher_mapi_pref_dbhost] => localhost [FirePHPDebug_mapi_pref_firephpenabled] => 1 [FirePHPDebug_mapi_pref_traceenabled] => 0 [FirePHPDebug_mapi_pref_limitips] => 0 [FirePHPDebug_mapi_pref_limittheseips] => [SimpleBooking_mapi_pref_bookie] => 2 [Uploads_mapi_pref_max_uploadsize] => 1000000 [Uploads_mapi_pref_valid_uploadextensions] => png,gif,jpg,JPEG,bmp,wmf,wma,wmv,mpg,zip,tar,gz,bz2,mp3,wav,au,ogg,xml,pdf [Uploads_mapi_pref_subnet_exclusions] => [Uploads_mapi_pref_create_dummy_index_html] => 1 [Uploads_mapi_pref_send_upload_notifications_to] => [Uploads_mapi_pref_requirefilename_extensions] => 1 [Uploads_mapi_pref_autothumbnail_extensions] => gif,jpg,jpeg,bmp,png [Uploads_mapi_pref_autothumbnail_size] => 80 [Uploads_mapi_pref_download_chunksize] => 8 [Uploads_mapi_pref_uploadform_sysdefault] => {$startform}{$input_key} {if $noauthor } {$input_author} {else}
 

{$prompt_author} {$input_author}

{/if}
 

{$prompt_summary} {$input_summary}
 

{$prompt_description} {$input_description}
 

{$prompt_destname} {$input_destname} {$info_destname}
 

{$prompt_thumbnail} {$input_thumbnail} {$info_thumbnail}
 

{$prompt_replace} {$input_replace} {$info_replace}
 

{$prompt_upload}{$hidden}{$input_browse}
 

{$captcha_title} {$captcha}
 

{$input_captcha}
 

{$input_submit}

{$endform} [Uploads_mapi_pref_default_uploadform] => default [Uploads_mapi_pref_summaryrpt_sysdefault] => {if isset($input_filter) } {$startform} {$prompt_filter}{$input_filter}{$hidden_params}{$input_submit} {$endform}

{if isset($matches)} {$matches} {$matchestext} {/if} {/if}

{if isset($prevpage_url)} {$firstpage_arrow} {$prevpage_arrow} {/if} {if $numpages > 1}   {$pagetext} {$pagenum} {$oftext} {$numpages}   {/if} {if isset($nextpage_url)} {$nextpage_arrow} {$lastpage_arrow} {/if}

{foreach from=$items item='entry' name='uploads'} {if ($smarty.foreach.uploads.index == 0) or ($smarty.foreach.uploads.index % 3 == 0)}

{/if}

{$entry->upload_name} ({$entry->size})

{if isset($entry->thumbnail_url)} {else} {/if}

Send this file

{$author}: {$entry->author}

{$date}: {$entry->date}

{$entry->summary}

{if ($smarty.foreach.uploads.index == 0) or ($smarty.foreach.uploads.index % 3 == 0)}

{/if} {/foreach} [Uploads_mapi_pref_default_summaryrpt] => default [Uploads_mapi_pref_detailrpt_sysdefault] => {if isset($entry->thumbnail_url)} {else} {/if} {if isset($entry->delete_url)} {/if}

{$thumbnail} 		{$icon} 	

{$category} 	{$entry->category}

{$id} 	{$entry->id}

{$name} 	{$entry->name}   Send this file

{$delete} 	{$entry->name}

{$date} 	{$entry->date}

{$author} 	{$entry->author}

{$size} 	{$entry->size}

{$summary} 	{$entry->summary}

{$description} 	{$entry->description}

[Uploads_mapi_pref_default_detailrpt] => default [Uploads_mapi_pref_sendfileform_sysdefault] => {* form to send a file *} {if isset($message)}

{$message}

{/if} {if isset($error)}

{$error}

{/if} {$formstart}

{$mod->Lang('file_info')}: 
 

{$mod->Lang('name')}: {$upload_info.upload_name} ({$upload_info.upload_id})
 

{$upload_info.upload_summary}
 

{$mod->Lang('addressees')}
 

{$sendto}
 

{$mod->Lang('subject')}
 

{$mod->Lang('notes')}
 

{$notes}
 

 
 

{$formend} [Uploads_mapi_pref_default_sendfileform] => default [Uploads_mapi_pref_yousenditform_sysdefault] => {* yousendit interface *} {if isset($message)}
 

    * {foreach from=$messages item='one'} {$one}

      {/foreach} 
 

{/if} {if isset($errors)}
 

    * {foreach from=$errors item='one'} {$one}

      {/foreach} 
 

{/if} {$startform}
 

{$mod->Lang('author')}: 
 

{$mod->Lang('summary')}:
 

{$mod->Lang('description')}:  {$description}
 

{$mod->Lang('destname')}: 

{$mod->Lang('info_destname')}
 

{$mod->Lang('thumbnail')}: 
 

{$mod->Lang('prompt_replace')}: 

{$mod->Lang('info_replace')}
 

*{$mod->Lang('upload')}: 
 
 

*{$mod->Lang('to')}:  {$sendto}
 

*{$mod->Lang('subject')}: 
 

{$mod->Lang('notes')}:  {$notes}
 

{$captcha_title} {$captcha}
 

{$input_captcha}
 

{$endform} [Uploads_mapi_pref_default_yousenditform] => default [Products_mapi_pref_products_pref_dfltsummary_template] => Sample [Products_mapi_pref_products_pref_newdetail_template] => {* this is a sample product detail template *} {assign var='products' value=$mod}

{if is_array($entry->breadcrumb)} Breadcrumb: {' >> '|implode:$entry->breadcrumb}

{/if} Name: {$entry->product_name}

File Location: {$entry->file_location}

{if $entry->price ne ''} Price {$currency_symbol}: {$entry->price}

{/if} {if $entry->weight ne ''} Weight {$weight_units}: {$entry->weight}

{/if} {if $entry->details ne ''} Details:

{$entry->details}

{/if} {* accessing all of the fields in a list *} {if count($entry->fields)}

Custom Fields

{foreach from=$entry->fields key='name' item='field'}
 

{$mod->Lang('name')}: {$name}

{$mod->lang('type')}: {$field->type}

{$mod->lang('value')}: {$field->value}

{if $field->type == 'image' && isset($field->thumbnail)} {$field->value} {/if}

{/foreach} {/if} {* print out attributes *} {if isset($entry->attributes)}

Attributes

{foreach from=$entry->attributes key='name' item='attribset'}

{$name}
 

{foreach from=$attribset key='label' item='adjustment'} {$label}: {$adjustment}

{/foreach}

{/foreach} {/if} {* print out the categories *} {if isset($entry->categories)}

Categories

{foreach from=$entry->categories item='category'}
 

{$mod->Lang('id')}: {$category->id}

{$mod->Lang('name')}: {$category->name}

{* if there are data fields associated with this category, display them too *} {if isset($category->data) && count($category->data)}

{$mod->Lang('data')}

{foreach from=$category->data item='onedataitem'}

{if $onedataitem.field_type == 'image'} thumb {elseif $onedataitem.field_type == 'file'} {$onedataitem.field_value} {else} {$onedataitem.field_prompt}: {$onedataitem.field_value}

{/if}

{/foreach}

{/if}

{/foreach} {/if} {* include the cart *} {if isset($cart_module_tag)}

{eval var=$cart_module_tag}

{/if} {* create a link back to the top of the page *} {anchor anchor='product_name' text=$products->Lang('return_to_top') title=$products->Lang('return_to_top')}

[Products_mapi_pref_products_pref_dfltdetail_template] => Sample [Products_mapi_pref_products_pref_newbyhierarchy_template] => {* hierarchy report template *}

Hierarchy Data for {$hierarchy_item.name} ({$hierarchy_item.id})

{if isset($upurl)}
 

{$mod->Lang('parent')}

{/if} {assign var='prodmod' value=$mod} {if isset($parent)}

This Node

Name: {$parent.name} Description: {$parent.description}

{/if}

Child Nodes

{if isset($child_nodes) && count($child_nodes)} {* {LightBox action='js'} *} {foreach from=$child_nodes item='node'}

{if isset($node.downurl)} {$node.name} {else} {$node.name} {/if}

{if !empty($node.image)} {capture assign='image'}{$hierarchy_image_location}/{$node.image}{/capture} {capture assign='name'}{$node.name}{/capture} {if !empty($node.thumbnail)} {capture assign='thumb'}{$hierarchy_image_location}/{$node.thumbnail}{/capture} {LightBox name="$name" thumb="$thumb" text="$name" image="$image"} {else} {LightBox name="$name" text="$name" image="$image"} {/if} {/if} {if !empty($node.description)}
 

Description: {$node.description}

{/if}
 

{/foreach} {/if}

Products matching this location in hierarchy

{Products hierarchyid=$hierarchy_item.id} [Products_mapi_pref_products_pref_dfltbyhierarchy_template] => Sample [Products_mapi_pref_products_pref_newcategorylist_template] => {foreach from=$categorylist item='obj'}

{* category fields are available as an array in $obj->fields *} {* i.e: $obj->fields.fieldname.field_value *} {$obj->name}({$obj->count})

{/foreach} [Products_mapi_pref_products_pref_dfltcategorylist_template] => Sample [Products_mapi_pref_products_currencysymbol] => $ [Products_mapi_pref_products_weightunits] => kg [Products_mapi_pref_allowed_imagetypes] => jpg,jpeg,gif,png [Products_mapi_pref_allowed_filetypes] => pdf [Products_mapi_pref_autothumbnail] => 1 [Products_mapi_pref_deleteproductfiles] => 1 [Products_mapi_pref_cartmoduleparams] => product=$entry->id [FormBuilder_mapi_pref_show_field_level] => advanced [Cars_mapi_pref_bookie] => 1 [Cars_mapi_pref_booker] => 1 [Cars_mapi_pref_wysiwyg] => [Cars_mapi_pref_allow_guest] => [SimpleBooking_mapi_pref_allow_guest] => 0 ) [userprefs] => Array ( [use_wysiwyg] => 1 [wysiwyg] => [default_cms_language] => en_US [date_format_string] => %x %X [admintheme] => NCleanGrey [bookmarks] => on [recent] => on [indent] => on [ajax] => 0 [paging] => 0 [collapse] => [hide_help_links] => 0 [gcb_wysiwyg] => 0 [syntaxhighlighter] => [enablenotifications] => 1 [homepage] => [ignoredmodules] => ) [smarty] => Smarty_CMS Object ( [template_dir] => C:\wamp\www\stock_1_5_4/admin/templates/ [compile_dir] => C:\wamp\www\stock_1_5_4\tmp\templates_c [config_dir] => C:\wamp\www\stock_1_5_4/admin/configs/ [plugins_dir] => Array ( [0] => C:\wamp\www\stock_1_5_4/lib/smarty/plugins [1] => C:\wamp\www\stock_1_5_4/plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => 1 [caching] => [cache_dir] => C:\wamp\www\stock_1_5_4\tmp\cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => ) [trusted_dir] => Array ( ) [left_delimiter] => { [right_delimiter] => } [request_vars_order] => EGPCS [request_use_auto_globals] => 1 [compile_id] => [use_sub_dirs] => [default_modifiers] => Array ( ) [default_resource_type] => file [cache_handler_func] => [autoload_filters] => Array ( ) [config_overwrite] => 1 [config_booleanize] => 1 [config_read_hidden] => [config_fix_newlines] => 1 [default_template_handler_func] => [compiler_file] => CMS_Compiler.class.php [compiler_class] => CMS_Compiler [config_class] => Config_File [_tpl_vars] => Array *RECURSION* [_smarty_vars] => [_sections] => Array ( ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.18 [_inclusion_depth] => 0 [_compile_id] => FormBuilder [_smarty_debug_id] => SMARTY_DEBUG [_smarty_debug_info] => Array ( ) [_cache_info] => Array ( ) [_file_perms] => 420 [_dir_perms] => 505 [_reg_objects] => Array ( ) [_plugins] => Array ( [modifier] => Array ( [cms_date_format] => Array ( [0] => smarty_cms_modifier_cms_date_format [1] => [2] => [3] => ) [summarize] => Array ( [0] => smarty_cms_modifier_summarize [1] => [2] => [3] => ) [rfc_date] => Array ( [0] => Array ( [0] => CGExtensions [1] => smarty_modifier_rfc_date ) [1] => [2] => [3] => ) ) [function] => Array ( [user_agent] => Array ( [0] => cms_tmp_user_agent_userplugin_function [1] => [2] => [3] => [4] => [5] => ) [custom_copyright] => Array ( [0] => cms_tmp_custom_copyright_userplugin_function [1] => [2] => [3] => [4] => [5] => ) [makeCookies] => Array ( [0] => cms_tmp_makeCookies_userplugin_function [1] => [2] => [3] => [4] => [5] => ) [userAdmin] => Array ( [0] => cms_tmp_userAdmin_userplugin_function [1] => [2] => [3] => [4] => [5] => ) [URLhere] => Array ( [0] => cms_tmp_URLhere_userplugin_function [1] => [2] => [3] => [4] => [5] => ) [urlIs] => Array ( [0] => cms_tmp_urlIs_userplugin_function [1] => [2] => [3] => [4] => [5] => ) [editListener] => Array ( [0] => cms_tmp_editListener_userplugin_function [1] => [2] => [3] => [4] => [5] => ) [CGBlog] => Array ( [0] => Array ( [0] => CGBlog Object ( [_obj] => [_graphics_loaded] => [_watermark_obj] => [_form_loaded] => [_colors] => [_actionid] => [_image_directories] => [_current_tab] => [_errormsg] => [_messages] => [_returnid] => [cms] => CmsObject Object *RECURSION* [config] => Array ( [php_memory_limit] => [process_whole_template] => [dbms] => mysql [db_hostname] => localhost [db_username] => root [db_password] => c0rBEN013108Bass! [db_name] => cms_154 [db_port] => [db_prefix] => cms_154_ [root_url] => http://localhost/stock_1_5_4 [root_path] => C:\wamp\www\stock_1_5_4 [query_var] => page [use_bb_code] => [use_smarty_php_tags] => [previews_path] => C:\wamp\www\stock_1_5_4\tmp\cache [uploads_path] => C:\wamp\www\stock_1_5_4\uploads [uploads_url] => http://localhost/stock_1_5_4/uploads [max_upload_size] => 25000000 [debug] => [output_compression] => [assume_mod_rewrite] => [internal_pretty_urls] => [use_hierarchy] => [auto_alias_content] => 1 [image_manipulation_prog] => GD [image_transform_lib_path] => C:/Program Files/VisualMagick/bin/ [use_Indite] => 1 [image_uploads_path] => C:\wamp\www\stock_1_5_4\uploads\images [image_uploads_url] => http://localhost/stock_1_5_4/uploads/images [default_encoding] => utf-8 [disable_htmlarea_translation] => [admin_dir] => admin [persistent_db_conn] => [default_upload_permission] => 664 [page_extension] => [use_adodb_lite] => 1 [locale] => [old_stylesheet] => [wiki_url] => http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel [backwards_compatible] => [admin_encoding] => utf-8 ) [curlang] => en_US [langhash] => Array ( [en_US] => Array ( [title_default_summarypage] => Default summary page (if no page id is specified on the URL) [title_default_detailpage] => Default detail page (if no page id is specified on the URL) [helparchivetemplate] => Applicable only to the archive action, this parameter can be used to specify an alternate archive view template. [addedit_archive_template] => Add/Edit an Archive View Template [info_archive_templates] => Available Archive View Templates [archivetemplate] => Archive View Templates [title_sysdefault_archive_template] => System Default Archive View Template [helpfesubmittemplate] => Applicable only to the fesubmit action, this parameter can be used to specify an alternate fesubmit form template [helpsummarypage] => Applicable only to the browsecat and archive actions, this parameter can contain a page id or alias to use for the display of summary reports that result from clicking on a category link [help_month] => Applicable only to the default action, this parameter can contain an (integer) month, for which all listings should be displayed. This parameter will only work in conjunction with the "year" parameter. [category_modified] => Category successfully edited [new_category_name] => New Category Name [old_category_name] => Old Category Name [edit_category] => Edit Category [error_nocatname] => No category name supplied [move_up] => Move this up [move_down] => Move this down [postuninstall] => The CGBlog module has been uninstalled. It is now safe to delete the files associated with this module [ipaddress] => IP Address [fesubmit_redirect] => Page to redirect to after a blog entry is submitted [templaterestored] => Template Restored [fesubmit_status] => The Status of newly submitted blog entries [fesubmit_email_users] => Send notification (via email) to these users [no] => No [yes] => Yes [fesubmit_email_template] => Email Template [fesubmit_email_html] => Send an HTML Email? [fesubmit_email_subject] => Email Subject [general_options] => General Blog Options [fesubmit_options] => Frontend Blog Submit Options [dflt_email_subject] => A new blog entry been posted [postdatetoolate] => The post date entered is too late [title_sysdefault_fesubmit_template] => System Default Frontend Submit Form Template [addedit_fesubmit_template] => Add/Edit a Frontend Submit Form Template [info_fesubmit_templates] => Available Frontend Submit Form Templates [fesubmittemplate] => Frontend Submit Templates [help_year] => Used with the default (summary) action, this parameter can contain a year for which all listings should be displayed [info_urlprefix] => This only applies when pretty urls are enabled either via mod_rewrite or internal pretty urls. [url_prefix] => Prefix to use on all URLS from the blog module [friendlyname] => Calguys Blog Module [select_category] => You must select at least one category [set_default] => Set as Default [category_deleted] => Category Deleted [error_dberror] => Some type of database error has occurred. Contact your administrator [category_added] => Category Added [category_name_exists] => A category by that name already exists [error_insufficient_params] => Insufficient or invalid parameters provided for the action [add_category] => Add Category [addedit_summary_template] => Add/Edit a Summary View Template [addedit_detail_template] => Add/Edit a Detail View Template [addedit_browsecat_template] => Add/Edit a Browse Category View Template [info_summary_templates] => Available Summary Templates [info_detail_templates] => Available Detail View Templates [info_browsecat_templates] => Available Browse Category View Templates [title_sysdefault_browsecat_template] => System Default Browse Category Template [title_sysdefault_detail_template] => System Default Detail View Template [title_sysdefault_summary_template] => System Default Summary View Template [info_sysdefault_template] => This template specifies the content included when you create a new template of the specified type. Making changes here will have no immediate effect on the output [expired_searchable] => Expired blog entries can appear in search results [helpshowall] => If set to a non zero value, show all blog entries, irrespective of end date [error_invaliddates] => One or more of the dates entered were invalid [notify_n_draft_items_sub] => %d Blog Entries(s) [notify_n_draft_items] => You have %s that is/are not published [unlimited] => Unlimited [none] => None [anonymous] => Anonymous [unknown] => Unknown [allow_summary_wysiwyg] => Allow using a WYSIWYG editor on the summary field [title_browsecat_template] => Browse Category Template Editor [title_browsecat_sysdefault] => Default Browse category Template [browsecattemplate] => Browse Category Templates [error_filesize] => An uploaded file exceeded the maximum allowed size [post_date_desc] => Post Date Descending [post_date_asc] => Post Date Ascending [expiry_date_desc] => Expiry Date Descending [expiry_date_asc] => Expiry Date Ascending [title_desc] => Title Descending [title_asc] => Title Ascending [error_invalidfiletype] => Cannot upload this type of file [error_upload] => Problem occurred uploading a file [error_movefile] => Could not create file: %s [error_mkdir] => Could not create directory: %s [expiry_interval] => The number of days (by default) before an entry expires (if expiry is selected) [removed] => Removed [msg_contenttype_removed] => The cgblog content type has been removed. Please place {cgblog} tags with appropriate parameters into your page template or into your page content to replace this functionality. [delete_selected] => Delete Selected Entries [areyousure_deletemultiple] => Are you sure you want to delete all of these blog entries?\nThis action cannot be undone! [error_templatenamexists] => A template by that name already exists [error_noarticlesselected] => No Blog Entries Were Selected [reassign_category] => Change Category To [select] => Select [approve] => Set Status to 'Published' [revert] => Set Status to 'Draft' [hide_summary_field] => Hide the summary field when adding or editing entries [textbox] => Text Input [checkbox] => Checkbox [textarea] => Text Area [file] => File [auto_create_thumbnails] => Automatically create thumbnail files for files with these extensions [allowed_upload_types] => Allow only files with these extensions to be uploaded [fielddefupdated] => Field Definition Updated [editfielddef] => Edit Field Definition [up] => Up [down] => Down [fielddefdeleted] => Field Definition Deleted [nameexists] => A field by that name already exists [notanumber] => Maximum Length is Not a Number [fielddef] => Field Definition [fielddefadded] => Field Definition Successfully Added [public] => Public [type] => Type [info_maxlength] => The maximum length only applies to text input fields. [maxlength] => Maximum Length [addfielddef] => Add Field Definition [customfields] => Field Definitions [deprecated] => unsupported [extra] => Extra [uploadscategory] => Uploads Category [title_available_templates] => Available Templates [resettodefault] => Reset to Factory Defaults [prompt_templatename] => Template Name [prompt_template] => Template Source [template] => Template [prompt_name] => Name [prompt_default] => Default [prompt_newtemplate] => Create A New Template [help_pagelimit] => Maximum number of items to display (per page). If this parameter is not supplied all matching items will be displayed. If it is, and there are more items available than specified in the parameter, text and links will be supplied to allow scrolling through the results [prompt_page] => Page [firstpage] => << [prevpage] => < [nextpage] => > [lastpage] => >> [prompt_of] => of [prompt_pagelimit] => Page Limit [prompt_sorting] => Sort By [title_filter] => Filters [published] => Published [draft] => Draft [expired] => Expired [author] => Author [sysdefaults] => Restore to defaults [restoretodefaultsmsg] => This operation will restore the template contents to their system defaults. Are you sure you want to proceed? [addarticle] => Add Blog Entry [articleadded] => The entry was successfully added. [articleupdated] => The entry was successfully updated. [articledeleted] => The entry was successfully deleted. [addcategory] => Add Category [addcgblogitem] => Add Blog Entry [allcategories] => All Categories [allentries] => All Entries [areyousure] => Are you sure you want to delete? [articles] => Entries [cancel] => Cancel [category] => Category [categories] => Categories [default_category] => Default Category [content] => Content [delete] => Delete [description] => Add, edit and remove CGBlog entries [detailtemplate] => Detail Templates [default_templates] => Default Templates [detailtemplateupdated] => The updated Detail Template was successfully saved to the database. [displaytemplate] => Display Template [edit] => Edit [enddate] => End Date [endrequiresstart] => Entering an end date requires a start date also [entries] => %s Entries [status] => Status [expiry] => Expiry [filter] => Filter [more] => More [category_label] => Category: [author_label] => Posted by: [moretext] => More Text [name] => Name [cgblog_return] => Return [newcategory] => New Category [needpermission] => You need the '%s' permission to perform that function. [nocategorygiven] => No Category Given [startdatetoolate] => The Start Date is too late (after end date?) [nocontentgiven] => No Content Given [noitemsfound] => No items found for category: %s [nopostdategiven] => No Post Date Given [note] => Note: Dates must be in a 'yyyy-mm-dd hh:mm:ss' format. [notitlegiven] => No Title Given [nonamegiven] => No Name Given [numbertodisplay] => Number to Display (empty shows all records) [print] => Print [postdate] => Post Date [postinstall] => Make sure to set the "Modify CGBlog" permission on users who will be administering CGBlog items. [selectcategory] => Select Category [showchildcategories] => Show Child Categories [sortascending] => Sort Ascending [startdate] => Start Date [startoffset] => Start displaying at the nth item [startrequiresend] => Entering a start date requires an end date also [submit] => Submit [summary] => Summary [summarytemplate] => Summary Templates [summarytemplateupdated] => The CGBlog Summary Template was successfully updated. [title] => Title [options] => Options [optionsupdated] => The options were successfully updated. [useexpiration] => Use Expiration Date [eventdesc-CGBlogArticleAdded] => Sent when a blog entry is added. [eventhelp-CGBlogArticleAdded] =>
 

Sent when a blog entry is added.

Parameters
 

    * \"cgblog_id\" - Id of the cgblog entry

    * \"categories\" - An array of the selected categories

    * \"title\" - Title of the entry

    * \"content\" - Content of the entry

    * \"summary\" - Summary of the entry

    * \"status\" - Status of the entry ("draft" or "publish")

    * \"start_time\" - Date the entry should start being displayed

    * \"end_time\" - Date the entry should stop being displayed

    * \"useexp\" - Whether the expiration date should be ignored or not
 

[eventdesc-CGBlogArticleEdited] => Sent when an entry is edited. [eventhelp-CGBlogArticleEdited] =>
 

Sent when an entry is edited.

Parameters
 

    * \"cgblog_id\" - Id of the cgblog article

    * \"categoris\" - Array of the selected categorie ids

    * \"title\" - Title of the entry

    * \"content\" - Content of the entry

    * \"summary\" - Summary of the entry

    * \"status\" - Status of the entry ("draft" or "publish")

    * \"start_time\" - Date the entry should start being displayed

    * \"end_time\" - Date the entry should stop being displayed

    * \"useexp\" - Whether the expiration date should be ignored or not
 

[eventdesc-CGBlogArticleDeleted] => Sent when an entry is deleted. [eventhelp-CGBlogArticleDeleted] =>
 

Sent when an entry is deleted.

Parameters
 

    * \"cgblog_id\" - Id of the cgblog entry
 

[eventdesc-CGBlogCategoryAdded] => Sent when a category is added. [eventhelp-CGBlogCategoryAdded] =>
 

Sent when a category is added.

Parameters
 

    * \"category_id\" - Id of the cgblog category

    * \"name\" - Name of the cgblog category
 

[eventdesc-CGBlogCategoryEdited] => Sent when a category is edited. [eventhelp-CGBlogCategoryEdited] =>
 

Sent when a category is edited.

Parameters
 

    * \"category_id\" - Id of the cgblog category

    * \"name\" - Name of the cgblog category

    * \"origname\" - The original name of the cgblog category
 

[eventdesc-CGBlogCategoryDeleted] => Sent when a category is deleted. [eventhelp-CGBlogCategoryDeleted] =>
 

Sent when a category is deleted.

Parameters
 

    * \"category_id\" - Id of the deleted category

    * \"name\" - Name of the deleted category
 

[help_articleid] => This parameter is only applicable to the detail view. It allows specifying which cgblog entry to display in detail mode. If the special value -1 is used, the system will display the newest, published, non expired entry. [helpnumber] => Maximum number of items to display (per page) -- leaving empty will show all items. This is a synonym for the pagelimit parameter. [helpstart] => Start at the nth item -- leaving empty will start at the first item. [helpcategory] => Used in the summary, and archive views to display only items for the specified categories. Use * after the name to show children. Multiple categories can be used if separated with a comma. Leaving empty, will show all categories. This parameter also works for the frontend submit action, however only a single category name is supported. [helpmoretext] => Text to display at the end of a cgblog item if it goes over the summary length. Defaults to "more..." [helpsummarytemplate] => Use a separate database template for displaying the entry summary. This template must exist and be visible in the summary template tab of the CGBlog admin, though it does not need to be the default. If this parameter is not specified, then the current template marked as default will be used. [helpbrowsecattemplate] => Use a database template for displaying the category browser. This template must exist and be visible in the Browse Category Templates tab of the CGBlog admin, though it does not need to be the default. If this parameter is not specified, then the current template marked as default will be used. [helpdetailtemplate] => Use a separate database template for displaying the entry detail. This template must exist and be visible in the detail template tab of the CGBlog admin, though it does not need to be the default. If this parameter is not specified, then the current template marked as default will be used. [helpsortby] => Field to sort by. Options are: "summary", "cgblog_category", "cgblog_title", "cgblog_extra", "end_time", "start_time", "random". Defaults to "cgblog_date". If "random" is specified, the sortasc param is ignored. [helpsortasc] => Sort cgblog items in ascending date order rather than descending. [helpdetailpage] => Page to display CGBlog details in. This can either be a page alias or an id. Used to allow details to be displayed in a different template from the summary. [helpshowarchive] => If set to a non zero value, show only expired cgblog entries. [helpbrowsecat] => Shows a browseable category list. [helpaction] => 'Override the default action. Possible values are:
 

    * "archive" - to displa an archive report of your blog entries.

    * "detail" - to display a specified entry in detail mode.

    * "default" - to display the summary view

    * "browsecat" - to display a browseable category list.

    * "fesubmit" - to display a form allowing site visitors to submit news articles.
 

[help] =>

What does this do?
 

CGBlog is a module for displaying blog events in your CMS Made Simple based website, similar to a blog style, except with more features!. This module is a fork, and serious trimmed down version of the News module that is shipped with CMS Made Simple, with the emphasis being on creating a simple to use, yet powerful blog.

Features
 

    * Supports custom fields, allowing you to associate different data (including images), and files with blog entries

    * Completely customizable via smarty templates.

    * Supports pretty urls

    * Supports expiry dates and start dates for blog entries.

    * Supports published, and draft status so that you can work on a blog entry over time.

    * Supports a single blog entry being added to multiple categories.

    * Supports a category browsing mechanism.
 

How do I Use it?
 

Using this module is as simple as creating some categories in the CGBlog admin panel, and then adding some blog entries. To display the blog entries on your site you simply place the {CGBlog} tag into the content area of a page, or into a page template. The default behaviour is to display a summary report of valid, published blog entries. You can use the optional parameters (as described below) to alter the behaviour of the module.

Thanks
 

    * Thanks to Ted for the initial creation of this module... and for CMS Made Simple, obviously.

    * Thanks to Mark for doing the grunt work of forking this module from News
 

Support
 

This module does not include commercial support. However, there are a number of resources available to help you with it:
 

    * For the latest version of this module, FAQs, or to file a Bug Report or buy commercial support, please visit calguy\'s module homepage at techcom.dyndns.org.

    * Additional discussion of this module may also be found in the CMS Made Simple Forums.

    * The author, calguy1000, can often be found in the CMS IRC Channel.

    * Lastly, you may have some success emailing the author directly.
 

Copyright and License
 

Copyright © 2008, Robert Campbel <calguy1000@cmsmadesimple.org>. All Rights Are Reserved.
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 

However, as a special exception to the GPL, this software is distributed as an addon module to CMS Made Simple. You may not use this software in any Non GPL version of CMS Made simple, or in any version of CMS Made simple that does not indicate clearly and obviously in its admin section that the site was built with CMS Made simple.
 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or read it online

) ) [params] => Array ( [0] => Array ( [name] => lang [default] => en_US [help] => Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this. [optional] => 1 ) [1] => Array ( [name] => year [default] => [help] => Used with the default (summary) action, this parameter can contain a year for which all listings should be displayed [optional] => 1 ) [2] => Array ( [name] => month [default] => [help] => Applicable only to the default action, this parameter can contain an (integer) month, for which all listings should be displayed. This parameter will only work in conjunction with the "year" parameter. [optional] => 1 ) [3] => Array ( [name] => pagelimit [default] => 100000 [help] => Maximum number of items to display (per page). If this parameter is not supplied all matching items will be displayed. If it is, and there are more items available than specified in the parameter, text and links will be supplied to allow scrolling through the results [optional] => 1 ) [4] => Array ( [name] => showall [default] => 0 [help] => If set to a non zero value, show all blog entries, irrespective of end date [optional] => 1 ) [5] => Array ( [name] => showarchive [default] => 0 [help] => If set to a non zero value, show only expired cgblog entries. [optional] => 1 ) [6] => Array ( [name] => sortasc [default] => true [help] => Sort cgblog items in ascending date order rather than descending. [optional] => 1 ) [7] => Array ( [name] => sortby [default] => cgblog_date [help] => Field to sort by. Options are: "summary", "cgblog_category", "cgblog_title", "cgblog_extra", "end_time", "start_time", "random". Defaults to "cgblog_date". If "random" is specified, the sortasc param is ignored. [optional] => 1 ) [8] => Array ( [name] => detailpage [default] => pagealias [help] => Page to display CGBlog details in. This can either be a page alias or an id. Used to allow details to be displayed in a different template from the summary. [optional] => 1 ) [9] => Array ( [name] => detailtemplate [default] => [help] => Use a separate database template for displaying the entry detail. This template must exist and be visible in the detail template tab of the CGBlog admin, though it does not need to be the default. If this parameter is not specified, then the current template marked as default will be used. [optional] => 1 ) [10] => Array ( [name] => summarypage [default] => [help] => Applicable only to the browsecat and archive actions, this parameter can contain a page id or alias to use for the display of summary reports that result from clicking on a category link [optional] => 1 ) [11] => Array ( [name] => summarytemplate [default] => [help] => Use a separate database template for displaying the entry summary. This template must exist and be visible in the summary template tab of the CGBlog admin, though it does not need to be the default. If this parameter is not specified, then the current template marked as default will be used. [optional] => 1 ) [12] => Array ( [name] => browsecattemplate [default] => [help] => Use a database template for displaying the category browser. This template must exist and be visible in the Browse Category Templates tab of the CGBlog admin, though it does not need to be the default. If this parameter is not specified, then the current template marked as default will be used. [optional] => 1 ) [13] => Array ( [name] => fesubmittemplate [default] => [help] => Applicable only to the fesubmit action, this parameter can be used to specify an alternate fesubmit form template [optional] => 1 ) [14] => Array ( [name] => archivetemplate [default] => [help] => Applicable only to the archive action, this parameter can be used to specify an alternate archive view template. [optional] => 1 ) [15] => Array ( [name] => moretext [default] => more... [help] => Text to display at the end of a cgblog item if it goes over the summary length. Defaults to "more..." [optional] => 1 ) [16] => Array ( [name] => category [default] => category [help] => Used in the summary, and archive views to display only items for the specified categories. Use * after the name to show children. Multiple categories can be used if separated with a comma. Leaving empty, will show all categories. This parameter also works for the frontend submit action, however only a single category name is supported. [optional] => 1 ) [17] => Array ( [name] => number [default] => 100000 [help] => Maximum number of items to display (per page) -- leaving empty will show all items. This is a synonym for the pagelimit parameter. [optional] => 1 ) [18] => Array ( [name] => start [default] => 0 [help] => Start at the nth item -- leaving empty will start at the first item. [optional] => 1 ) [19] => Array ( [name] => action [default] => default [help] => 'Override the default action. Possible values are:
 

    * "archive" - to displa an archive report of your blog entries.

    * "detail" - to display a specified entry in detail mode.

    * "default" - to display the summary view

    * "browsecat" - to display a browseable category list.

    * "fesubmit" - to display a form allowing site visitors to submit news articles.
 

[optional] => 1 ) [20] => Array ( [name] => articleid [default] => [help] => This parameter is only applicable to the detail view. It allows specifying which cgblog entry to display in detail mode. If the special value -1 is used, the system will display the newest, published, non expired entry. [optional] => 1 ) ) [wysiwygactive] => [syntaxactive] => [error] => [modinstall] => [modtemplates] => [modlang] => 1 [modform] => [modredirect] => [modmisc] => [param_map] => Array ( [assign] => CLEAN_STRING [module] => CLEAN_STRING [lang] => CLEAN_STRING [returnid] => CLEAN_INT [action] => CLEAN_STRING [showtemplate] => CLEAN_STRING [inline] => CLEAN_STRING [year] => CLEAN_INT [month] => CLEAN_INT [pagelimit] => CLEAN_INT [browsecat] => CLEAN_INT [showall] => CLEAN_INT [showarchive] => CLEAN_INT [sortasc] => CLEAN_STRING [sortby] => CLEAN_STRING [detailpage] => CLEAN_STRING [detailtemplate] => CLEAN_STRING [browsecattemplate] => CLEAN_STRING [fesubmittemplate] => CLEAN_STRING [archivetemplate] => CLEAN_STRING [summarypage] => CLEAN_STRING [summarytemplate] => CLEAN_STRING [moretext] => CLEAN_STRING [category] => CLEAN_STRING [category_id] => CLEAN_STRING [number] => CLEAN_INT [start] => CLEAN_INT [pagenumber] => CLEAN_INT [articleid] => CLEAN_INT [origid] => CLEAN_INT [returid] => CLEAN_INT [regexp:/cgblog_.*/] => CLEAN_STRING [junk] => CLEAN_STRING ) [restrict_unknown_params] => 1 [xml_exclude_files] => Array ( [0] => ^\.svn [1] => ^CVS$ [2] => ^\#.*\#$ [3] => ~$ [4] => \.bak$ ) [xmldtd] => ]> [smarty] => Smarty_CMS Object *RECURSION* ) [1] => function_plugin ) [1] => [2] => [3] => [4] => 1 [5] => ) [cgimage] => Array ( [0] => Array ( [0] => CGExtensions [1] => smarty_function_cgimage ) [1] => [2] => [3] => [4] => 1 [5] => ) [cge_state_options] => Array ( [0] => Array ( [0] => CGExtensions [1] => smarty_function_cge_state_options ) [1] => [2] => [3] => [4] => 1 [5] => ) [cge_country_options] => Array ( [0] => Array ( [0] => CGExtensions [1] => smarty_function_cge_country_options ) [1] => [2] => [3] => [4] => 1 [5] => ) [get_current_url] => Array ( [0] => Array ( [0] => CGExtensions [1] => smarty_function_get_current_url ) [1] => [2] => [3] => [4] => 1 [5] => ) [CGCalendar] => Array ( [0] => Array ( [0] => CGCalendar Object ( [categories_table_name] => cms_154_module_cgcalendar_categories [events_to_categories_table_name] => cms_154_module_cgcalendar_events_to_categories [events_table_name] => cms_154_module_cgcalendar_events [fields_table_name] => cms_154_module_cgcalendar_fields [event_field_values_table_name] => cms_154_module_cgcalendar_event_field_values [admin_tools_loaded] => [_obj] => [_graphics_loaded] => [_watermark_obj] => [_form_loaded] => [_colors] => [_actionid] => [_image_directories] => [_current_tab] => [_errormsg] => [_messages] => [_returnid] => [cms] => CmsObject Object *RECURSION* [config] => Array ( [php_memory_limit] => [process_whole_template] => [dbms] => mysql [db_hostname] => localhost [db_username] => root [db_password] => c0rBEN013108Bass! [db_name] => cms_154 [db_port] => [db_prefix] => cms_154_ [root_url] => http://localhost/stock_1_5_4 [root_path] => C:\wamp\www\stock_1_5_4 [query_var] => page [use_bb_code] => [use_smarty_php_tags] => [previews_path] => C:\wamp\www\stock_1_5_4\tmp\cache [uploads_path] => C:\wamp\www\stock_1_5_4\uploads [uploads_url] => http://localhost/stock_1_5_4/uploads [max_upload_size] => 25000000 [debug] => [output_compression] => [assume_mod_rewrite] => [internal_pretty_urls] => [use_hierarchy] => [auto_alias_content] => 1 [image_manipulation_prog] => GD [image_transform_lib_path] => C:/Program Files/VisualMagick/bin/ [use_Indite] => 1 [image_uploads_path] => C:\wamp\www\stock_1_5_4\uploads\images [image_uploads_url] => http://localhost/stock_1_5_4/uploads/images [default_encoding] => utf-8 [disable_htmlarea_translation] => [admin_dir] => admin [persistent_db_conn] => [default_upload_permission] => 664 [page_extension] => [use_adodb_lite] => 1 [locale] => [old_stylesheet] => [wiki_url] => http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel [backwards_compatible] => [admin_encoding] => utf-8 ) [curlang] => en_US [langhash] => Array ( [en_US] => Array ( [error_calendar_incompatible] => We have detected that the Calendar module is also installed.. This module is not compatible with the Calendar module and cannot co-exist with it on the same install. Please uninstall the Calendar module [error_event_not_found] => Either event_id is not in the database, or there is more than one event with this id! (%d) [first_page] => << [prev_page] => < [next_page] => > [last_page] => >> [page_of] => Page %d of %d [search_results] => Calendar Search Results [search_words] => Search Words [no_results_found] => No results found matching the query specified [frequency] => Frequency [specified_date] => Use the specified date [first_sunday] => First Sunday of the Month [first_monday] => First Monday of the Month [first_tuesday] => First Tuesday of the Month [first_wednesday] => First Wednesday of the Month [first_thursday] => First Thursday of the Month [first_friday] => First Friday of the Month [first_saturday] => First Saturday of the Month [second_sunday] => Second Sunday of the Month [second_monday] => Second Monday of the Month [second_tuesday] => Second Tuesday of the Month [second_wednesday] => Second Wednesday of the Month [second_thursday] => Second Thursday of the Month [second_friday] => Second Friday of the Month [second_saturday] => Second Saturday of the Month [third_sunday] => Third Sunday of the Month [third_monday] => Third Monday of the Month [third_tuesday] => Third Tuesday of the Month [third_wednesday] => Third Wednesday of the Month [third_thursday] => Third Thursday of the Month [third_friday] => Third Friday of the Month [third_saturday] => Third Saturday of the Month [fourth_sunday] => Fourth Sunday of the Month [fourth_monday] => Fourth Monday of the Month [fourth_tuesday] => Fourth Tuesday of the Month [fourth_wednesday] => Fourth Wednesday of the Month [fourth_thursday] => Fourth Thursday of the Month [fourth_friday] => Fourth Friday of the Month [fourth_saturday] => Fourth Saturday of the Month [last_sunday] => Last Sunday of the Month [last_monday] => Last Monday of the Month [last_tuesday] => Last Tuesday of the Month [last_wednesday] => Last Wednesday of the Month [last_thursday] => Last Thursday of the Month [last_friday] => Last Friday of the Month [last_saturday] => Last Saturday of the Month [error_invalid_recur_monthly_freq] => Invalid frequency.... you cannot specify both the specified date AND other values [searchresulttemplate_addedit] => Add/Edit a Search Result Template [info_searchresult_template_tab] => The list of templates that are available for the search results display [info_sysdflt_searchresult_template] => System Default Search Result Template [cal_search_result_templates] => Search Result Templates [error_query_failed] => Database Query Failed [error_search_invalid_dates] => Invalid Search Dates Specified [text] => Text [search] => Search [category] => Category [info_sysdflt_search_template] => System Default Search Form Template [searchtemplate_addedit] => Add/Edit a Search Form Template [info_search_template_tab] => The list of templates that are available for the search form [cal_search_form_templates] => Search Form Templates [max] => max [times] => times [on] => on [areyousure_uninstall] => Are you sure you want to do this? Continuing will permanenently erase all data associated with this module. [post_uninstall] => The Calendar module has been uninstalled and all event and template information associated with this module has been removed [fieldupdated] => Field Updated [every] => Every [or] => or [update_children] => Update Child Events [error_nocategory] => You must select at least one category [error_nothingselected] => Nothing has been selected to delete [error_eventoverlap] => The recuring event parameters you have specified would result in overlapping events. [recurs] => Recurs [error_invalid_dates] => One or more of the date values entered were invalid [sunday] => Sunday [monday] => Monday [tuesday] => Tuesday [wednesday] => Wednesday [thursday] => Thursday [friday] => Friday [saturday] => Saturday [abbr_sunday] => Su [abbr_monday] => Mo [abbr_tuesday] => Tu [abbr_wednesday] => We [abbr_thursday] => Th [abbr_friday] => Fr [abbr_saturday] => Sa [weekdays] => Weekdays [plural_daily] => Days [plural_weekly] => Weeks [plural_monthly] => Months [plural_yearly] => Years [no] => No [daily] => Daily [weekly] => Weekly [monthly] => Monthly [yearly] => Yearly [interval] => Repeat every [cal_recur_details] => Recurring Event Details [unlimited] => Unlimited [max_recur_events] => Maximum number of child events [use_to_date] => Specify a different end date? [cancel] => Cancel [show_child_events] => Show Child Events (may result in very long display) [n/a] => n/a [recurs_until] => Recur Until [parent] => Parent [recur_period] => Recur Period [filter] => Filter [start_date] => Start Date [end_date] => End Date [info_upcominglist_template_tab] => The list of templates that are available for upcominglist views [upcominglisttemplate_addedit] => Add/Edit an Upcominglist Display Template [info_sysdflt_upcominglist_template] => System Default Upcominglist Template [info_list_template_tab] => The list of templates that are available for list views [listtemplate_addedit] => Add/Edit an List Display Template [info_sysdflt_list_template] => System Default List Template [info_event_template_tab] => The list of templates that are available for event views [eventtemplate_addedit] => Add/Edit an Event Display Template [info_sysdflt_event_template] => System Default Event Template [info_calendar_template_tab] => The list of templates that are available for calendar views [calendartemplate_addedit] => Add/Edit a Calendar Display Template [info_sysdflt_calendar_template] => System Default Calendar Template [info_sysdflt_template] => This form defines the template that will be used when you click "New Template" in the appropriate tab. Changing this value will have no immediate effect on the displays generated from this module. [eventdesc-EventAdded] => Called after adding a calendar event [eventdesc-EventEdited] => Called after editing an existing calendar event [eventdesc-EventDeleted] => Called after an event has been deleted [eventdesc-CategoryAdded] => Called after a category is created [eventdesc-CategoryEdited] => Called after a category is edited [eventdesc-CategoryDeleted] => Called after a category is deleted [eventhelp-EventAdded] =>
 

Sent when a calendar event is added.

Parameters
 

    * \"event_title\" - Event Title

    * \"event_summary\" - Summary Text

    * \"event_details\" - Detailed Description

    * \"event_date_start\" - The event start date/time

    * \"event_date_end\" - The event end date/time

    * \"event_created_by\" - The userid of the author

    * \"event_id\" - The event id
 

[eventhelp-EventEdited] =>
 

Sent when a calendar event is edited.

Parameters
 

    * \"event_title\" - Event Title

    * \"event_summary\" - Summary Text

    * \"event_details\" - Detailed Description

    * \"event_date_start\" - The event start date/time

    * \"event_date_end\" - The event end date/time

    * \"event_created_by\" - The userid of the author

    * \"event_id\" - The event id
 

[eventhelp-EventDeleted] =>
 

Sent when a calendar event is deleted.

Parameters
 

    * \"event_id\" - The event id
 

[eventhelp-CategoryAdded] =>
 

Sent when a calendar category is added.

Parameters
 

    * \"category_id\" - The category id
 

[eventhelp-CategoryEdited] =>
 

Sent when a calendar category is edited.

Parameters
 

    * \"category_id\" - The category id

    * \"category_name\" - The category name

    * \"category_order\" - The category sort order
 

[eventhelp-CategoryDeleted] =>
 

Sent when a calendar category is deleted.

Parameters
 

    * \"category_id\" - The category id

    * \"category_name\" - The category name

    * \"category_order\" - The category sort order
 

[msg_eventadded] => Event Added [error_noeventname] => A name for the event is required [error_noupload] => ERROR: No uploaded file found [error_invalidfilename] => ERROR: The file uploaded cannot be accepted [error_problemwithupload] => ERROR: A problem occurred trying to upload the file [error_filecopyfailed] => ERROR: A Problem occurred when copying the file to its final destination [error_fileexists] => ERROR: A file by that name already exists [error_csvfilenotfound] => ERROR: Could not find the CSV File [error_cantopenfile] => ERROR: Cannot open file [error_categoryexists] => ERROR: A category with the name %s already exists [cal_id] => Id [cal_calendar] => Calguys Calendar [cal_default_templates] => Default Templates [cal_description] => A full featured, and flexible module to allow displaying information about events in numerous formats. [cal_addevent] => Add Event [cal_import_events] => Import Events [cal_events] => Events [cal_categories] => Categories [cal_calendar_template] => Calendar Templates [cal_list_template] => List Templates [cal_upcominglist_template] => Upcoming Templates [cal_event_template] => Event Templates [cal_settings] => Settings [cal_prev] => « Prev [cal_next] => Next » [cal_categories_updated] => Categories Updated [cal_settings_updated] => Settings Updated [cal_add_event] => Add Event [cal_edit] => Edit [cal_delete] => Delete [cal_areyousure] => Are you sure you want to delete [cal_update_template] => Update Template [cal_sunday] => Sunday [cal_monday] => Monday [cal_tuesday] => Tuesday [cal_wednesday] => Wednesday [cal_thursday] => Thursday [cal_friday] => Friday [cal_saturday] => Saturday [cal_sun] => Sun [cal_mon] => Mon [cal_tues] => Tue [cal_wed] => Wed [cal_thurs] => Thu [cal_fri] => Fri [cal_sat] => Sat [cal_january] => January [cal_february] => February [cal_march] => March [cal_april] => April [cal_may] => May [cal_june] => June [cal_july] => July [cal_august] => August [cal_september] => September [cal_october] => October [cal_november] => November [cal_december] => December [cal_add] => Add [cal_update] => Update [cal_event] => Event [cal_date] => Date [cal_summary] => Summary [cal_details] => Details [cal_more] => more >> [cal_return] => Return [cal_to] => to [cal_past_events] => Past Events [cal_upcoming_events] => Upcoming Events [cal_any_category] => Any Category [cal_show_only_events_in] => Show Only Events In [cal_filter_by] => Filter Title By (regex) [cal_go] => Go [cal_title] => Title [cal_fromdate] => From Date [cal_todate] => To Date [cal_update_categories] => Update Categories [cal_language] => Language [cal_updatesettings] => Update Settings [cal_use_twelve_hour_clock] => Use twelve hour clock on hour drop-downs? [cal_default_category] => Default Category [cal_update_fields] => Update Fields [force_category] => Force at least one category [showpastyears] => How many years in the past is allowed [showfutureyears] => How many year into the future is allowed [hidesummary] => Should the summary field be hidden [hidecontent] => Should the content field be hidden [category_reminder] => Please check one or more categories for this event [module_example_stylesheet] => Calguys Calendar CSS example [error_permission] => You need the appropriate permission (%s) to access this functionality [install_postmessage] => Make sure to set the "Modify Calendar" permission on users who will be administering calendar events. [deletetagged] => Delete tagged events [confirmdeletetagged] => Are you sure these events should be deleted? [taggeddeleted] => Tagged events successfully deleted [templates] => Templates [template_help] => Template Help [file_templates] => File Templates [addtemplate] => Add Template [template] => Template [templatenametext] => Template Name [edittemplate] => Edit Template [deletetemplate] => Delete Template [newtemplate] => New Template Name [templatenameexists] => Error: A template with that name already exists. Please choose a different name. [templateimported] => The template was sucessfully imported into the database and is now installed for use. [view_default_stylesheet] => View Default Stylesheet [filename] => Filename [importtemplate] => Import Template [template_deleted] => The template was successfully deleted from the database. [updatetemplatesuccess] => The template was updated successfully [updatetemplatefailure] => An error occurred updating the template [settingssaved] => Settings was saved successfully [categorydeleted] => Category deleted [categoryupdated] => Category updated [categoryadded] => Category added [eventdeleted] => The event was deleted [eventupdated] => The event was updated [default_page_error] => Error: You must set a default page in order to use Calendar with pretty URLs turned on. Please go to the Calendar settings tab and choose one. [time_at] => at [type] => Type [name] => Name [order] => Order [fieldadded] => Field Successfully Added [fielddeleted] => Field Deleted [fields] => Custom Fields [textfield] => Text Field [uploadfield] => File upload field [description] =>
 

Calendar is a module for displaying events on your page. When the module is installed, a Calendar admin page is added to the content menu that will allow you to manage your events.

[defaultcalendarpage] => Default page that contains Calendar. This page must contain a Smarty tag that calls Calendar. Required if you use the pretty URLs. [uploaddirectory] => Directory where file uploads should be placed [uploadfiletypes] => Allowed file types [uploadunique] => Ensure unique filenames [thumb_width] => Thumbnail Width [thumb_height] => Thumbnail Height [large_width] => Large Image Width [large_height] => Large Image Height [cal_recur_period] => Recurs [cal_recur_until] => Recurs Until [help_template] =>
 

Print Author Name:

Author: {$event.authorname} [cal_help] =>

Notice:
 

Version 1.0 of the Calguy Calendar module is a complete fork of the old calendar module. However, this module is not compatible in any way with the other module.

What does this do?
 

Calguys Calendar is a module for displaying events on your page. When the module is installed, a "Calguys Calendar" admin page is added to the plugins menu that will allow you to manage your events.

Security
 

The user must belong to a group with the 'Modify Calendar' permission in order to add, edit, or delete calendar event entries.

How do I use it?
 

   1. Put the cms_module tag in the page content. Make sure it is not enclosed in <pre>...</pre> tags. You will need to view source code for this. The code would look something like:

      {cms_module module="CGCalendar"}

   2. Style the calendar appropriately for your display (an example stylesheet is provided for this purpose)
 
 

To attach the sample stylesheet to your template:
 

   1. Go to "Layout -> Templates"

   2. Click the CSS icon (Attach Stylesheet to Template) button to the right of your template

   3. Choose "Calguys Calendar CSS example" from the drop-down menu.

   4. Click the "Add a Stylesheet" button.
 
 

Parameters

action 	Acceptable values:

"default" - Specifies the default action, works in conjunction with the "display" parameter below.

"search" - Display a form for advanced searching of calendar events.

display 	Acceptable values:

"calendar" - displays events for the current month in a traditional grid. Inclues links to prev. and next months.

"event" - display a detail report for a specific event. To use this display mode, the event_id parameter must be specified.

"list" - displays events for the current month as a list. Includes links to prev. and next months.

"yearlist" - displays events for the current year in a list. Includes links to prev. and next years.

"pastlist" - displays all past events. No prev/next links.

"upcominglist" - displays all upcoming events. No prev/next links.

Defaults to "calendar" (optional)

category 	Only display items for that category. Leaving unset, will show all categories. Note that you can limit to muliple categories by separating each one with a comma.(optional)

month 	Display entries for a particular month. If year is not set, then the current year is assumed. This option only works if display is set to "list" or "calendar". (optional)

year 	Display entries for a particular year. This option only works if display is set to "list" or "calendar". (optional)

limit 	Set to the maximum number of events to display. This option only works if display is set to "list", "pastlist" or "upcominglist". (optional)

first_day_of_week 	Set to the first day of the week as a number between 0 and 6 (0 = Sunday). Default is 1 (Monday). This option only works if display is set to "calendar". (optional)

use_session 	Use session variables to store the specifications of the calendar. This will allow a calendar to remember its settings over numerous page views and while scrolling to different months. In the search form it allows saving the search settings until the browser is reset. Default is false. If specified, the value should contain a unique identifier for that calendar instance. This option only works if display is set to "calendar" or "list", or if "action" is search. (optional)

inline 	Set to 1 to set all of the event links to inlined mode (they will replace the oringal tag). Default is 0. (optional)

reverse 	Set to true to display events in reverse chronological order. Applicable to "list", "pastlist" and "upcominglist" displays. Default is false. For the "pastlist", reverse=true is assumed.(optional)

detailpage="pagealias" 	Page to display Calendar event details in. This can either be a page alias or an id. Used to allow details to be displayed in a different template from the summary. Default is current page. (optional)

columns 	Makes Calendar output only a subset of relevant events for allowing displaying in columns. Allowed values 1/2. Default is 1. Implemented for upcominglist and pastlist only. (optional)

columnstyle 	If columns=2 this parameter sets whether the order of events in columns should be organized horizontally (0) or vertically (1). Default is 1. (optional)

currentcolumn 	If columns=2 this indicated whether Calendar should display content of column 1 or 2. Allowed values 1/2. Default is 1. (optional)

event_id 	Used with the display=event mode, this parameter allows you to display information about a specific event on demand.

limit 	Used with the list displays, this parameter allows specifying a maximum number of events to display, and then provides pagination capabilities.

calendartemplate 	Used with display=calendar, this parameter allows you to specify a non default calendar template.

eventtemplate 	Used with display=event, or you can also specify this parameter on any Calendar module call, this parameter allows you to specify a non default event template.

listtemplate 	Used with display=list, this parameter allows you to specify a non default list template.

upcominglisttemplate 	Used with display=upcominglist, this parameter allows you to specify a non default upcominglist template.

Custom Fields
 

It is possible to define a number of custom fields to associate with each event using the Fields tab in the admin. Once one or more fields has been defined the values of that field for each event can be set using the events tab in the admin. These field values can be rendered using a template using the syntax event.fields.fieldname. Hint - insert {debug} into your template see all the data passed to the template.

Examples

Example of allowing Comments on Calendar events
 

Install the Comments module and put this in your Calendar "Event Template":
 

{cms_module module='comments' modulename='CGCalendar' pageid=$event.event_id}
 

Support
 

This module does not include commercial support. However, there are a number of resources available to help you with it:
 

    * Discussion of this module may also be found in the CMS Made Simple Forums.

    * The author, calguy1000, can often be found in the CMS IRC Channel.

    * Lastly, you may have some success emailing the author directly.
 

Copyright and License
 

Copyright © 2008, Robert Campbel <calguy1000@cmsmadesimple.org>. All Rights Are Reserved.
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 

However, as a special exception to the GPL, this software is distributed as an addon module to CMS Made Simple. You may not use this software in any Non GPL version of CMS Made simple, or in any version of CMS Made simple that does not indicate clearly and obviously in its admin section that the site was built with CMS Made simple.
 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or read it online

) ) [params] => Array ( [0] => Array ( [name] => lang [default] => en_US [help] => Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this. [optional] => 1 ) ) [wysiwygactive] => [syntaxactive] => [error] => [modinstall] => [modtemplates] => [modlang] => 1 [modform] => [modredirect] => [modmisc] => [param_map] => Array ( [assign] => CLEAN_STRING [module] => CLEAN_STRING [lang] => CLEAN_STRING [returnid] => CLEAN_INT [action] => CLEAN_STRING [showtemplate] => CLEAN_STRING [inline] => CLEAN_INT [day] => CLEAN_INT [display] => CLEAN_STRING [category] => CLEAN_STRING [month] => CLEAN_INT [year] => CLEAN_INT [first_day_of_week] => CLEAN_INT [use_session] => CLEAN_STRING [reverse] => CLEAN_STRING [detailpage] => CLEAN_STRING [columns] => CLEAN_INT [columnstyle] => CLEAN_STRING [currentcolumn] => CLEAN_INT [page] => CLEAN_INT [event_id] => CLEAN_INT [limit] => CLEAN_INT [detail] => CLEAN_STRING [calendartemplate] => CLEAN_STRING [eventtemplate] => CLEAN_STRING [listtemplate] => CLEAN_STRING [upcominglisttemplate] => CLEAN_STRING [searchtemplate] => CLEAN_STRING [searchresulttemplate] => CLEAN_STRING [searchresultpage] => CLEAN_STRING [return_id] => CLEAN_INT [return_link] => CLEAN_STRING [regexp:/cal_.*/] => CLEAN_STRING ) [restrict_unknown_params] => 1 [xml_exclude_files] => Array ( [0] => ^\.svn [1] => ^CVS$ [2] => ^\#.*\#$ [3] => ~$ [4] => \.bak$ ) [xmldtd] => ]> [smarty] => Smarty_CMS Object *RECURSION* ) [1] => function_plugin ) [1] => [2] => [3] => [4] => 1 [5] => ) [module_action_link] => Array ( [0] => module_action_link [1] => [2] => [3] => [4] => 1 [5] => ) [cgrepeat] => Array ( [0] => smarty_function_cgrepeat [1] => [2] => [3] => [4] => 1 [5] => ) [session_put] => Array ( [0] => smarty_function_session_put [1] => [2] => [3] => [4] => 1 [5] => ) [session_erase] => Array ( [0] => smarty_function_session_erase [1] => [2] => [3] => [4] => 1 [5] => ) [CGUserDirectory] => Array ( [0] => Array ( [0] => CGUserDirectory Object ( [_obj] => [_graphics_loaded] => [_watermark_obj] => [_form_loaded] => [_colors] => [_actionid] => [_image_directories] => [_current_tab] => [_errormsg] => [_messages] => [_returnid] => [cms] => CmsObject Object *RECURSION* [config] => Array ( [php_memory_limit] => [process_whole_template] => [dbms] => mysql [db_hostname] => localhost [db_username] => root [db_password] => c0rBEN013108Bass! [db_name] => cms_154 [db_port] => [db_prefix] => cms_154_ [root_url] => http://localhost/stock_1_5_4 [root_path] => C:\wamp\www\stock_1_5_4 [query_var] => page [use_bb_code] => [use_smarty_php_tags] => [previews_path] => C:\wamp\www\stock_1_5_4\tmp\cache [uploads_path] => C:\wamp\www\stock_1_5_4\uploads [uploads_url] => http://localhost/stock_1_5_4/uploads [max_upload_size] => 25000000 [debug] => [output_compression] => [assume_mod_rewrite] => [internal_pretty_urls] => [use_hierarchy] => [auto_alias_content] => 1 [image_manipulation_prog] => GD [image_transform_lib_path] => C:/Program Files/VisualMagick/bin/ [use_Indite] => 1 [image_uploads_path] => C:\wamp\www\stock_1_5_4\uploads\images [image_uploads_url] => http://localhost/stock_1_5_4/uploads/images [default_encoding] => utf-8 [disable_htmlarea_translation] => [admin_dir] => admin [persistent_db_conn] => [default_upload_permission] => 664 [page_extension] => [use_adodb_lite] => 1 [locale] => [old_stylesheet] => [wiki_url] => http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel [backwards_compatible] => [admin_encoding] => utf-8 ) [curlang] => en_US [langhash] => Array ( [en_US] => Array ( [addedit_detail_template] => Add/Edit Detail Template [addedit_directory_template] => Add/Edit Directory Template [addedit_summary_template] => Add/Edit Summary Template [ask_really_uninstall] => Are you sure you want to do this? Continuing will permanently delete all data associated with this module [changelog] =>
 

    * Version 1.0 - January, 2009
 

      Initial Release
 

[created] => Created [error_invalidgroup] => Invalid group [error_invalidsortfield] => Invalid sort field: %s [error_missingparam] => Insufficient Parameters [error_nofeu] => The Frontend Users module could not be found [error_usernotfound] => The user with the specified id could not be found [expires] => Expires [friendlyname] => Calguys User Directory [groups] => Groups [help] =>

What does this do?
 

This module provides the ability for generating a directory of users from the FEU module, for generating a summary view of users matching specified criteria, and for displaying a detail report of a specific user. It can be used for generating profile pages for your users, or a staff directory.

Features:
 

    * Complete template control
 

      All displays are completely configurable by templates allowing for javascript, ajax, or any other fancy displays. Styling is completely controllable by the website developer.

    * Multiple database templates.
 

      You can configure multiple different views for each display, and use them under different situations.

    * Filter summary views on user properties.
 

      You can filter the output for the summary view based on the value of a specific user property from the FEU module. This also includes "LIKE" based critera.

    * Sorting on multiple different criteria.

    * Supports SEO friendly URLS
 

How do I use it?
 

The simplest way to use this module is to place a tag like this into your page template, or page content {CGUserDirectory}. To expand on this functionality, or to display a subset of your users, see the parameters below.

Examples:
 

    * Display a directory of all users:
 

      {CGUserDirectory action="directory"}

    * Display a directory of all users organized by city:
 

      {CGUserDirectory action="directory" prop="city"}

    * Display a summary list of all users in the "members" group:
 

      {CGUserDirectory group="members"}

    * Display a summary list of all users in the city of calgary:
 

      {CGUserDirectory prop="city" propval="calgary"}

    * Display a summary list of all users from countries that begin with C:
 

      {CGUserDirectory prop="city" uselike=1 propval="c%"}
 

Notes about pretty URLS
 

"Pretty" or SEO friendly URLS limits the flexibility of this module, and the parameters that can be specified on the tag. Particularly those that can be passed on to subsequent views. For this reason, the directory view does not generate pretty urls to the subsequent summary links. This allows parameters like detailpage, detailtemplate, and summarytemplate to be passed in the tag to the directory view and to have those parameters passed down to the subsequent summary detail views.

Support
 

This module does not include commercial support. However, there are a number of resources available to help you with it:
 

    * For the latest version of this module, FAQs, or to file a Bug Report or buy commercial support, please visit the cms development forge at dev.cmsmadesimple.org.

    * Additional discussion of this module may also be found in the CMS Made Simple Forums.

    * The author, calguy1000 all can often be found in the CMS IRC Channel.

    * Lastly, you may have some success emailing the author(s) directly.
 

Copyright and License
 

Copyright © 2008, Robert Campbel <calguy1000@cmsmadesimple.org>. All Rights Are Reserved.
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 

However, as a special exception to the GPL, this software is distributed as an addon module to CMS Made Simple. You may not use this software in any Non GPL version of CMS Made simple, or in any version of CMS Made simple that does not indicate clearly and obviously in its admin section that the site was built with CMS Made simple.
 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or read it online

[help_param_action] => This parameter controls the behaviour of the module. There are three possible values:
 

    * default - Displays a summary view of users that match the specified criteria, or all users if no critieria is specified.

    * directory - Displays an alphabetical directory of links to summary views to users that match the specified criteria. It is possible to create directory views on username, or on any other parameter

    * detail - Displays a detail report about a specific user.
 

[help_param_group] => Used with the default action, this parameter should contain the name of an FEU user group, and will limit the output to members of that group [help_param_gid] => Used with the default action, this parameter should contain the id of an FEU user group, and will limit the output to members of that group. This parameter cannot be used in conjunction with the group parameter. [help_param_showexpired] => By default, the system will exclude expired users from any generated report. Setting this parameter to 1 will include these users. [help_param_sortby] => Used for the default action, this parameter specifies the sorting of the generated output. Possible values are:
 

    * id - The users id

    * username - The users username

    * createdate - The date at which the user account was created.

    * expires - The date at which the user account will expire (or did expire).

    * activity - The date at which the user account was last logged in or logged out.
 

[help_param_sortorder] => Used for the default action, this parameter specifies the sort order of the generated output. Possible values are:
 

    * ASC - Ascending order

    * DESC - Descending order
 

[help_param_pagelimit] => Used for the default action, this parameter specifies the maximum number of items to be returned. [help_param_prop] => Used for the default and directory actions, this parameter behaves in two different ways depending upon the action:
 

    * The default (summary) action
 

      In the default (summary) action, this parameter can be used to specify a property to filter the results by.

    * The directory action.
 

      In the directory action, this aprameter can be used to specify a property to generate a directory from. The default value in the directory action is "unsername&quote;
 

[help_param_propval] => Used in conjunction with the "prop" parameter for the default (summary) action, this parameter allows specifying a value on which to filter users by. [help_param_uselike] => Used in conjunction with the "prop" and "propval" parameters, this parameter, if set to a positive integer value indicates that the propval parameter contains a LIKE expression [help_param_detailpage] => This parameter, if specified, should contain the pageid or alias of a CMS content page on which you would like to show any detail report [help_param_summarytemplate] => This parameter allows specifying a non default summary template name to use for summary displays [help_param_detailtemplate] => This parameter allows specifying a non default detail template name to use for detail displays [help_param_directorytemplate] => This parameter allows specifying a non default directory template name to use with directory displays [help_param_uid] => Used in conjunction with the detail display, this parameter must contain the uid of a valid frontend user account [info_detail_template] => Detail templates display detailed information about a specific frontend user. Here you design the way in which you want that information laid out. You may use any smarty logic or variables that have been designed previously, or the ones made available specifically for this view [info_detail_templates_tab] => This tab contains the list of available detail view templates. One of them is marked as default. The default one will be used when no alternate template name is supplied on the tag that calls this module [info_directory_template] => Directory templates display an alphabetical list of links, when a link is clicked it will display a summary view of the matching users for that letter. It is possible to create directories based on different properties. Here you design the way in which you want that information laid out. You may use any smarty logic or variables that have been designed previously, or the ones made available specifically for this view [info_directory_templates_tab] => This tab contains the list of available directory templates. One of them is marked as default. The default one will be used when no alternate template name is supplied on the tag that calls this module [info_summary_template] => Summary templates display information about a list of users that match a criteria. Here you design the way in which you want that information laid out. You may use any smarty logic or variables that have been designed previously, or the ones made available specifically for this view [info_summary_templates_tab] => This tab contains the list of available summary templates. One of them is marked as default. The default one will be used when no alternate template name is supplied on the tag that calls this module [info_sysdflt_detail_template] => System Default Detail View Template [info_sysdflt_directory_template] => System Default Directory Template [info_sysdflt_summary_template] => System Default Summary View Template [info_sysdflt_template] => Altering this template will have no immediate effect on any output. This form controls the value of the template that is created when you click "New Template" in the appropriate template tab. [last_active] => Last Active [lbl_defaulttemplates] => Default Templates [lbl_detailtemplates] => Detail View Templates [lbl_directorytemplates] => Directory Templates [lbl_first_page] => Go to First Page [lbl_last_page] => Go to Last Page [lbl_next_page] => Go to Next Page [lbl_prev_page] => Go to Previous Page [lbl_settings] => Settings [lbl_summarytemplates] => Summary View Templates [moddescription] => A module allowing searching, browsing, and viewing details about frontend users [of] => Of [page] => Page [postinstall] => The CGUserDirectory module is now ready for configuration [postuninstall] => The CGUserdirectory module, and all associated data has been uninstalled from the database [username] => Username ) ) [params] => Array ( [0] => Array ( [name] => lang [default] => en_US [help] => Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this. [optional] => 1 ) [1] => Array ( [name] => action [default] => default [help] => This parameter controls the behaviour of the module. There are three possible values:
 

    * default - Displays a summary view of users that match the specified criteria, or all users if no critieria is specified.

    * directory - Displays an alphabetical directory of links to summary views to users that match the specified criteria. It is possible to create directory views on username, or on any other parameter

    * detail - Displays a detail report about a specific user.
 

[optional] => 1 ) [2] => Array ( [name] => group [default] => [help] => Used with the default action, this parameter should contain the name of an FEU user group, and will limit the output to members of that group [optional] => 1 ) [3] => Array ( [name] => gid [default] => [help] => Used with the default action, this parameter should contain the id of an FEU user group, and will limit the output to members of that group. This parameter cannot be used in conjunction with the group parameter. [optional] => 1 ) [4] => Array ( [name] => showexpired [default] => 0 [help] => By default, the system will exclude expired users from any generated report. Setting this parameter to 1 will include these users. [optional] => 1 ) [5] => Array ( [name] => sortby [default] => username [help] => Used for the default action, this parameter specifies the sorting of the generated output. Possible values are:
 

    * id - The users id

    * username - The users username

    * createdate - The date at which the user account was created.

    * expires - The date at which the user account will expire (or did expire).

    * activity - The date at which the user account was last logged in or logged out.
 

[optional] => 1 ) [6] => Array ( [name] => sortorder [default] => ASC [help] => Used for the default action, this parameter specifies the sort order of the generated output. Possible values are:
 

    * ASC - Ascending order

    * DESC - Descending order
 

[optional] => 1 ) [7] => Array ( [name] => pagelimit [default] => 100 [help] => Used for the default action, this parameter specifies the maximum number of items to be returned. [optional] => 1 ) [8] => Array ( [name] => prop [default] => [help] => Used for the default and directory actions, this parameter behaves in two different ways depending upon the action:
 

    * The default (summary) action
 

      In the default (summary) action, this parameter can be used to specify a property to filter the results by.

    * The directory action.
 

      In the directory action, this aprameter can be used to specify a property to generate a directory from. The default value in the directory action is "unsername&quote;
 

[optional] => 1 ) [9] => Array ( [name] => propval [default] => [help] => Used in conjunction with the "prop" parameter for the default (summary) action, this parameter allows specifying a value on which to filter users by. [optional] => 1 ) [10] => Array ( [name] => uselike [default] => 0 [help] => Used in conjunction with the "prop" and "propval" parameters, this parameter, if set to a positive integer value indicates that the propval parameter contains a LIKE expression [optional] => 1 ) [11] => Array ( [name] => detailpage [default] => [help] => This parameter, if specified, should contain the pageid or alias of a CMS content page on which you would like to show any detail report [optional] => 1 ) [12] => Array ( [name] => summarytemplate [default] => [help] => This parameter allows specifying a non default summary template name to use for summary displays [optional] => 1 ) [13] => Array ( [name] => directorytemplate [default] => [help] => This parameter allows specifying a non default directory template name to use with directory displays [optional] => 1 ) [14] => Array ( [name] => detailtemplate [default] => [help] => This parameter allows specifying a non default detail template name to use for detail displays [optional] => 1 ) [15] => Array ( [name] => uid [default] => [help] => Used in conjunction with the detail display, this parameter must contain the uid of a valid frontend user account [optional] => 1 ) ) [wysiwygactive] => [syntaxactive] => [error] => [modinstall] => [modtemplates] => [modlang] => 1 [modform] => [modredirect] => [modmisc] => [param_map] => Array ( [assign] => CLEAN_STRING [module] => CLEAN_STRING [lang] => CLEAN_STRING [returnid] => CLEAN_INT [action] => CLEAN_STRING [showtemplate] => CLEAN_STRING [inline] => CLEAN_INT [group] => CLEAN_STRING [gid] => CLEAN_INT [showexpired] => CLEAN_INT [sortby] => CLEAN_STRING [sortorder] => CLEAN_STRING [pagelimit] => CLEAN_INT [prop] => CLEAN_STRING [propval] => CLEAN_STRING [uselike] => CLEAN_INT [detailpage] => CLEAN_STRING [summarytemplate] => CLEAN_STRING [directorytemplate] => CLEAN_STRING [detailtemplate] => CLEAN_STRING [uid] => CLEAN_INT [pagenum] => CLEAN_INT [origpage] => CLEAN_INT [junk] => CLEAN_STRING ) [restrict_unknown_params] => 1 [xml_exclude_files] => Array ( [0] => ^\.svn [1] => ^CVS$ [2] => ^\#.*\#$ [3] => ~$ [4] => \.bak$ ) [xmldtd] => ]> [smarty] => Smarty_CMS Object *RECURSION* ) [1] => function_plugin ) [1] => [2] => [3] => [4] => 1 [5] => ) [FrontEndUsers] => Array ( [0] => Array ( [0] => FrontEndUsers Object ( [devdebug] => 0 [dflt_forgotpasswordtemplate2] =>
 

{$message_forgotpwemail}
 

{$prompt_code} {$data_code}
 

{$prompt_link} {$data_link}
 

[dflt_logoutformtemplate] => {$startform}
 

{$prompt_loggedin} {$username}
 

{$mod->Lang('logout')}
 

{$mod->Lang('prompt_changesettings')}

{$endform} [expirytime] => [logintarget] => [otherintarget] => [logouttarget] => [otherouttarget] => [allowuseradmin] => [enableemailpw] => [lang] => [usermanip] => [types] => Array ( [text] => 0 [checkbox] => 1 [email] => 2 [textarea] => 3 [dropdown] => 4 [multiselect] => 5 [image] => 6 [radiobuttons] => 7 ) [cms] => CmsObject Object *RECURSION* [config] => Array ( [php_memory_limit] => [process_whole_template] => [dbms] => mysql [db_hostname] => localhost [db_username] => root [db_password] => c0rBEN013108Bass! [db_name] => cms_154 [db_port] => [db_prefix] => cms_154_ [root_url] => http://localhost/stock_1_5_4 [root_path] => C:\wamp\www\stock_1_5_4 [query_var] => page [use_bb_code] => [use_smarty_php_tags] => [previews_path] => C:\wamp\www\stock_1_5_4\tmp\cache [uploads_path] => C:\wamp\www\stock_1_5_4\uploads [uploads_url] => http://localhost/stock_1_5_4/uploads [max_upload_size] => 25000000 [debug] => [output_compression] => [assume_mod_rewrite] => [internal_pretty_urls] => [use_hierarchy] => [auto_alias_content] => 1 [image_manipulation_prog] => GD [image_transform_lib_path] => C:/Program Files/VisualMagick/bin/ [use_Indite] => 1 [image_uploads_path] => C:\wamp\www\stock_1_5_4\uploads\images [image_uploads_url] => http://localhost/stock_1_5_4/uploads/images [default_encoding] => utf-8 [disable_htmlarea_translation] => [admin_dir] => admin [persistent_db_conn] => [default_upload_permission] => 664 [page_extension] => [use_adodb_lite] => 1 [locale] => [old_stylesheet] => [wiki_url] => http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel [backwards_compatible] => [admin_encoding] => utf-8 ) [curlang] => en_US [langhash] => Array ( [en_US] => Array ( [OnUpdateGroup] => On User Group Modified [error_toomanyselected] => Too many users are selected for bulk operations.... Please trim it to 250 or less [confirm_delete_selected] => Are you sure you want to delete the selected users? [delete_selected] => Delete Selected [prompt_randomusername] => Generate random username when adding new users [months] => months [prompt_expireage] => Default user expiry period [notification_settings] => Notification Settings [property_settings] => Property Settings [redirection_settings] => Redirection Settings [general_settings] => General Settings [session_settings] => Session and Cookie Settings [field_settings] => Field Settings [error_lostun_nonrequired] => The lostusername flag can only be used on required fields [prop_textarea_wysiwyg] => Allow use of wysiwyg on this text area [info_cookiestoremember] => Note: This uses the mcrypt functions for encryption purposes, and they could not be detected on your install. Please contact your server administrator. [editing_user] => Editing User [noinline] => Do not inline forms [info_lostun] => Click here if you cannot remember your login details [info_forgotpw] => Click here if you cannot remember your password [info_logout] => Click here to sign out [info_changesettings] => Click here to adjust your password or other information [viewuser_template] => View User Template [event] => Event [feu_event_notification] => FEU Event Notification [prompt_notification_address] => Notification Email Address [prompt_notification_template] => Notification Email Template [prompt_notification_subject] => Notification Email Subject [prompt_notifications] => Email Notifications [OnLogin] => On Login [OnLogout] => On Logout [OnExpireUser] => On Session Expiry [OnCreateUser] => On New User Created [OnDeleteUser] => On User Deleted [OnUpdateUser] => On User Settings Changed [OnCreateGroup] => On User Group Created [OnDeleteGroup] => On User Group Deleted [lostunconfirm_premsg] => The lost login details functionality has successfully completed. We have found a unique username that matches the details you entered. [your_username_is] => Your username is [lostunconfirm_postmsg] => We recommend you record this information in a secure, but retrievable location. [prompt_after_change_settings] => PageID/Alias to jump to after change settings [prompt_after_verify_code] => PageID/Alias to jump to after code verification * [lostun_details_template] => Lost Username Details Template [lostun_confirm_template] => Lost Username Confirm Template [error_nonuniquematch] => Error: More than one user account matched the properties specified [error_cantfinduser] => Error: Could not find a matching user [error_groupnotfound] => Error: Could not find a group by that name [readonly] => Read Only [prompt_usermanipulator] => User Manipulator Class [admin_logout] => Logged out by administrator [prompt_loggedinonly] => Show Only Logged In Users [prompt_logout] => Logout this user [user_properties] => User Properties [userhistory] => User History [export] => Export [clear] => Clear [prompt_exportuserhistory] => Export User History To ASCII that is at least [prompt_clearuserhistory] => Clear User History records that is at least [title_lostusername] => Forgot Your Login Details? [title_rssexport] => Export group definition (and properties) to XML [title_userhistorymaintenance] => User History Maintenance [yes] => Yes [no] => No [prompt_of] => Of [date_allrecords] => ** No Limit ** [date_onehourold] => One Hour Old [date_sixhourold] => Six Hours Old [date_twelvehourold] => Twelve Hours Old [date_onedayold] => One Day Old [date_oneweekold] => One Week Old [date_twoweeksold] => Two weeks Old [date_onemonthold] => One Month Old [date_threemonthsold] => Three Months Old [date_sixmonthsold] => Six Months Old [date_oneyearold] => One Year Old [title_groupsort] => Grouping and Sorting [prompt_recordsfound] => Records matching the criteria [sortorder_username_desc] => Descending Username [sortorder_username_asc] => Ascending Username [sortorder_date_desc] => Descending Date [sortorder_date_asc] => Ascending Date [sortorder_action_desc] => Descending Event Type [sortorder_action_asc] => Ascending Event Type [sortorder_ipaddress_desc] => Descending Ip Address [sortorder_ipaddress_asc] => Ascending Ip Address [info_nohistorydetected] => No History Detected [reset] => Reset [prompt_group_ip] => Group By IP Address [prompt_filter_eventtype] => Event Type Filter [prompt_filter_date] => Display only events that are less than: [prompt_pagelimit] => Page Limit [for] => for [title_userhistory] => User History Report [unknown] => Unknown [prompt_ipaddress] => IP Address [prompt_eventtype] => Event Type [prompt_date] => Date [prompt_return] => Return [import_complete_msg] => Import Operation Complete [prompt_linesprocessed] => Lines Processed [prompt_errors] => Errors Encountered [prompt_recordsadded] => Records Added [error_nogroupproprelns] => Could not find properties for group %s [error_noresponsefromserver] => Could not get a response from the SMTP server [error_importfilenotfound] => File specified (%s) could not be found [error_importfieldvalue] => Invalid value for dropdown or multiselect field %s [error_importfieldlength] => Field %s exceeds maximum length [error_importusers] => Import Error (line %s): %s [error_propertydefns] => Could not get the property definitions (internal error) [error_problemsettinginfo] => Problem setting user info [error_importrequiredfield] => Could not find a column to match the required field %s [error_nogroupproperties] => Could not find properties for the specified group [error_importfileformat] => The file specified for import is not in the correct format [error_couldnotopenfile] => Could not open file [info_importusersfileformat] =>

File Format Information
 

The input file must be in ASCII format using comma separated values. Each line in this input file (with the exception of the header line, discussed below) represents one user record. Each line must contain the same number of fields, and the order of the fields in each line must be identical.

Header line
 

    * The first line of the file must begin with two pound (\#) characters, and names each of the fields in the file. The names of these fields is significant. There are some required field names (see below), and other field names must match the property names associated with the group users are going to be added into.

    * The import process will fail if the fields in the input file does not match all of the required properties associated with the group that users are being added into

    * The input file may contain fields representing some of the optional properties in the specified group.

    * The import process will ignore any fields in the input file that are either not known, or map to properties that are off in the specified user group.
 

Columnar Data
 

    * The username Field - The desired username.
 

      This field must exist in the headerline, and in each and every line of the input file. The record will fail if a user with that username already exists in the database.

    * The password Field - Todo

    * The expires Field - Todo

    * Dropdown Fields
 

      The value of dropdown properties in an import file is represented as the string that is shown in the dropdown control in the FrontEndUsers module.

    * Multiselect Fields
 

      Multiselect fields are contained within the ASCII file as a : separated list of strings, where each string represents the text shown in the multiselect list

    * Image Fields
 

      Image are fields who's column name matches a property of type Image. If this field is a required part of the destination group, then the name specified in these columns must exist in the uploads disrectory of the CMS installation. If the image does not exist, and the field is required, then the record will fail.
 

Notes
 

The import process is subject to the limitations imposed by the host provider, such as memory limitations, processing time, file size upload, and safe mode restrictions. Any one of these limitations may cause the import to fail. Therefore it is advisable to ensure that import files are smaller in size, and simpler in nature.
 

Though every effort has been made to ensure that database corruption will not occur, it is advisable to perform a database backup before doing a user import.

Example
 

##username,first_name,last_name,email,city,state,country,zip

user1,test,user,user1@somedomain.com,somewhere,TX,US,12345
 

[prompt_importdestgroup] => Import Users Into This Group [prompt_importfilename] => Input CSV File [prompt_importxmlfile] => Input XML File [prompt_exportusers] => Export Users [prompt_importusers] => Import Users [prompt_clear] => Clear [prompt_image_destination_path] => Image Destination Path [error_missing_upload] => A problem occurred with a missing (but required) upload [error_bad_xml] => Could not parse the provided XML file [error_notemptygroup] => Cannot delete a group that still has users [error_norepeatedlogins] => This user is already logged in [error_captchamismatch] => The text from the image was not entered correctly [prompt_allow_repeated_logins] => Allow users to login more than once [prompt_allowed_image_extensions] => Image File Extensions that Users allowed to upload [event_help_OnDeleteUser] =>

OnDeleteUser
 

An event generated when a user is deleted

Parameters
 

    * username - The user name

    * id - The user id
 

[event_help_OnCreateUser] =>

OnCreateUser
 

An event generated when a user is created

Parameters
 

    * name - The user name

    * id - The user id
 

[event_help_OnUpdateUser] =>

OnUpdateUser
 

An event generated when a user is updated (either by user themself or admin)

Parameters
 

    * name - The user name

    * id - The user id
 

[event_help_OnCreateGroup] =>

OnCreateGroup
 

An event generated when a group is created

Parameters
 

    * name - The group name

    * description - The group description

    * id - The group id
 

[event_help_OnDeleteGroup] =>

OnDeleteGroup
 

An event generated when a group is deleted

Parameters
 

    * name - The group name

    * id - The group id
 

[event_help_OnLogin] =>

OnLogin
 

An event generated when a user logs in

Parameters
 

    * id - The id of the logged in user

    * username - The name of the logged in user

    * ip - The ip address of the client
 

[event_help_OnLogout] =>
 

An event generated when a user logs out

Parameters
 

    * username - The name of the loggedout user

    * id - The user id
 

[event_help_OnExpireUser] =>
 

An event generated when a user session expires

Parameters
 

    * username - The name of the expired user

    * id - The user id of the expired user
 

[event_info_OnLogin] => An event generated when a user logs in to the system [event_info_OnLogout] => An event generated when a user logs out of the system [event_info_OnExpireUser] => An event generated when a user session is expired [event_info_OnCreateUser] => An event generated when a new user is created [event_info_OnUpdateUser] => An event generated when a user info is updated [event_info_OnDeleteUser] => An event generated when a user account is deleted [event_info_OnCreateGroup] => An event generated when a user group is created [event_info_OnUpdateGroup] => An event generated when a user group is updated [event_info_OnDeleteGroup] => An event generated when a user group is deleted [backend_group] => Backend Group [info_star] => * The following macros can be used in these fields: {$username},{$group}. When using the {$group} macro, the system will subsitute the name of the first member group that the user belongs to, and will redirect to that page. [info_admin_password] => Edit this field to reset the users password [info_admin_repeatpassword] => Edit this field to reset the users password [error_username_exists] => A user with that username already exists [nocsvresults] => No results returned from csv export [prompt_unfldlen] => Length of username field [prompt_pwfldlen] => Length of password field [error_invalidpasswordlengths] => Min/Max password lengths are invalid [error_invalidusernamelengths] => Min/Max username lengths are invalid [error_invalidemailaddress] => Invalid Email address [error_noemailaddress] => We could not find an email address for this account [error_problemseettinginfo] => Problem setting user info [error_settingproperty] => Problem setting property [user_added] => User Added %s = %s [user_deleted] => User Deleted uid=%s [propertyfilter] => Property [valueregex] => Value (regular expression) [warning_effectsfieldlength] => Warning: These fields affect the size of input fields for forms. Decreasing this number on an existing site may not be advisable [confirm_submitprefs] => Are you sure you want to adjust the module preferences? [error_emailalreadyused] => Email address already used [prompt_usecookiestoremember] => Use cookies to remember login details [prompt_cookiename] => The name of the cookie [prompt_allow_duplicate_emails] => Allow duplicate emails [prompt_username_is_email] => Email address is username [info_cookie_keepalive] => Attempt to keep logins alive by the use of a cookie (the cookie is reset on activity in the website) [info_allow_duplicate_emails] => (Allow multiple users with the same email address) [info_username_is_email] => (user's email address is their username -- don't set this with "allow duplicate email addresses"!) [prompt_allow_duplicate_reminders] => Allow duplicate "forgot password" reminders? [info_allow_duplicate_reminders] => (Allow a users to request a password reset, even if they haven't acted on a previous one) [prompt_feusers_specific_permissions] => Use Front-end User specific permissions? [info_feusers_specific_permissions] => (Normally, FEUSers permissions are the same as the equivalent Admin Area permissions like Add User, Add Group, etc. If you select this option, there will be separate permissions for FEUsers.) [error_missingupload] => Could not find the uploaded file (internal error) [error_problem_upload] => There was a problem with your uploaded file. Please try again [error_missingusername] => You did not enter a username [error_missingemail] => You did not enter your email [error_missingpassword] => You did not enter a password [frontenduser_logout] => Frontend User Logout [frontenduser_loggedin] => Frontend User Login [editprop_infomsg] => USE CAUTION when changing existing properties that are assigned to groups, you may potentially cause damage and break an existing site (especially if you reduce field lengths, etc) [info_smtpvalidate] => This function does not work on windows [msg_dontcreateusername] => Do not create a property for username, or password as these properties are builtin to the FrontEndUsers module [prompt_exportcsv] => Export Users to CSV [exportcsv] => Export [importcsv] => Import [admin] => Admin [editprop] => Edit Property: %s [maxlength] => Maximum Length [created] => Created [sortby] => Sort By [sort] => Sorting [usersingroup] => Users in the selected group(s) [userlimit] => Limit results to [error_noemailfield] => Could not find an email field for this user. You may need to contact the system administrator [prompt_forgotpw_page] => PageID/Alias for Forgot Password form [prompt_changesettings_page] => PageID/Alias for Change Settings form [prompt_login_page] => PageID/Alias to jump to after login * [prompt_logout_page] => PageID/Alias to jump to after logout * [sortorder] => Sort order [prompt_numresetrecord] => A number of users are in the middle of resetting lost passwords. Currently this count is at: [remove1week] => Remove all entries more than a week old [remove1month] => Remove all entries more than a month old [removeall] => Remove all entries [areyousure] => Are you sure? [error_invalidcode] => An invalid code has been entered, please try again [error_tempcodenotfound] => A temporary code for your user id could not be found in the database [forgotpassword_verifytemplate] => Template used to display verification form [forgotpassword_emailtemplate] => Template used for forgotten password email [error_resetalreadysent] => Either yourself or someone else has already triggered a password reset operation for this account. Check your email, you may have further instructions on how to reset your password in your inbox [error_dberror] => Database error [message_forgotpwemail] => You are receiving this message because somebody told our site that you had lost your password. If this is the case, read the instructions below. If you don't have a clue what this is, then you are safe to delete this message, and we thank you for your time. [prompt_code] => Code [message_code] => The following code has been generated randomly generated in order to verify the user account. when you click on the link below you will be presented with a field to enter this code. Normally the field is pre-completed for you, but incase it isn't the code is: [prompt_link] => Clicking on the following link will take you to the website where you can enter the above code, and reset your password: [lostpassword_emailsubject] => Lost Password [error_nomailermodule] => Could not find the CMSMailer module [info_forgotpwmessagesent] => An email has been sent to %s with instructions as to how to reset your password. Thank you [lostpw_message] => So you forgot or lost your password. Well, type your username in here, and if we can find you we will send you an email with instructions on how to reset it [forgotpassword_template] => Forgot Password Templates [lostusername_template] => Lost Username Template [error_propnotfound] => Property %s not found [propsfound] => Properties found [addprop] => Add Property [error_requiredfield] => A required field (%s) was empty [info_emptypasswordfield] => Enter a new password here to change your password [error_notloggedin] => You do not appear to be logged in [user_settings] => Settings [user_registration] => Registration [error_accountexpired] => This account has expired [error_improperemailformat] => Improper email address formatting [error_invalidexpirydate] => Invalid expiry date. This may be system related. Try setting an earlier year. [error_problemsettingproperty] => Error setting property %s for user $s [error_invalidgroupid] => Invalid group id %s [hiddenfieldmarker] => Hidden field marker [hiddenfieldcolor] => Hidden field color [hidden] => Hidden [error_duplicatename] => A property with that name is already defined [error_noproperties] => No properties defined [error_norelations] => No properties were selected for this group [nogroups] => No Groups are defined [groupsfound] => Groups Found [error_onegrouprequired] => Membership in at least one group is required [prompt_requireonegroup] => Require membership in atleast one group [back] => Back [error_missing_required_param] => %s is a required field [requiredfieldmarker] => Mark required fields with [requiredfieldcolor] => Hilite required fields in [next] => Next [error_groupexists] => A Group with that name already exists [required] => Required [optional] => Optional [off] => Off [size] => Size [sizecomment] =>

(Maximum size of any one dimension of the image in pixels) [length] => Length [lengthcomment] =>

(chars in the text input) [seloptions] => Dropdown options, separated by line breaks. Values can be separated from text with a = character. i.e: Female=f [radiooptions] => Radiobutton labels, separated by line breaks. Values can be separated from text with a = character. i.e: Female=f [prompt] => Prompt [prompt_type] => Type [type] => Type [fieldstatus] => Field Status [usedinlostun] => Ask in Lost

Username [text] => Text [checkbox] => Checkbox [multiselect] => Multi Select List [radiobuttons] => Radio Buttons [image] => Image [email] => Email Address [textarea] => Textarea [dropdown] => Dropdown [msg_currentlyloggedinas] => Welcome [logout] => Sign out [prompt_newgroupname] => Use this group name [prompt_changesettings] => Change My Settings [error_loginfailed] => Login failed - Invalid username or password? [login] => Sign in [prompt_signin_button] => Sign in button label [prompt_username] => Username [prompt_email] => Email Address [prompt_password] => Password [prompt_rememberme] => Remember me on this computer [register] => Register [forgotpw] => Forgot Your Password? [lostusername] => Forgot Your Login Details? [defaults] => Defaults [template] => Template [error_usernotfound] => Could not find information for this user [error_usernametaken] => That username (%s) is already in use [prompt_smtpvalidate] => Use SMTP to validate email addresses? [prompt_minpwlen] => Minimum Password Length [prompt_maxpwlen] => Maximum Password Length [prompt_minunlen] => Minimum Username Length [prompt_maxunlen] => Maximum Username Length [prompt_sessiontimeout] => Session Timeout (seconds) [prompt_cookiekeepalive] => Use cookies to keep logins alive [prompt_allowemailreg] => Allow Email Registration [prompt_dfltgroup] => Default Group for new users [changesettings_template] => Change Settings Template [error_passwordmismatch] => Passwords Do not match [error_invalidusername] => Invalid Username [error_invalidpassword] => Invalid Password [edituser] => Edit User [valid] => Valid [username] => Username [status] => Status [error_membergroups] => This user is not a member of any groups [error_properties] => No Properties [error_dup_properties] => Attempt to import duplicate properties [value] => Value [groups] => Groups [properties] => Properties [propname] => Property Name [propvalue] => Property Value [add] => Add [history] => History [edit] => Edit [expires] => Expires [specify_date] => Specify Date [12hrs] => 12 Hours [24hrs] => 24 Hours [48hrs] => 48 Hours [1week] => 1 Week [2weeks] => 2 Weeks [1month] => 1 Month [3months] => 3 Months [6months] => 6 Months [1year] => 1 Year [never] => Never [postinstallmessage] => Module installed sucessfully.

Be sure to set the "Modify FrontEndUser Properties permission. Additionally, we recommend that you install the Captcha module. If installed, validation of a captcha image will be required in addition to the username and password to login. This is intended to prevent brute force attacks. Note: The nocaptcha parameter can be used to disable this functionality even if the Captcha module is installed." [password] => Password [repeatpassword] => Again [error_groupname_exists] => Group by that name already exists [editgroup] => Edit Group [submit] => Submit [cancel] => Cancel [delete] => Delete [confirm_editgroup] => Are you sure this is the proper settings for this group?\nTurning a property off will not delete any entries in the properties table for this group/user. They will merely be unavailable. [areyousure_deletegroup] => Are you sure you want to delete this group? [confirm_delete_prop] => Are you sure you want to completely delete this property?\nDoing so will also erase any user entries for this property. [error_insufficientparams] => Insufficient Parameters [id] => Id [name] => Name [error_cantaddprop] => Problem adding property [error_cantaddgroupreln] => Problem adding group relation [error_cantaddgroup] => Problem adding group [error_cantassignuser] => Problem adding a user to a group [error_couldnotdeleteproperty] => Problem deleting a property [error_couldnotfindemail] => Could not find an email address [error_destinationnotwritable] => No write permission to destination directory [error_invalidparams] => Invalid Parameters [error_nogroups] => Could not find any groups [applyfilter] => Apply [filter] => Filter [userfilter] => Username Regular Expression [description] => Description [groupname] => Group Name [accessdenied] => Access Denied [error] => Error [addgroup] => Add Group [importgroup] => Import Group [adduser] => Add User [usersfound] => Users found that match the criteria [group] => Group [selectgroup] => Select Group [registration_template] => Registration Template [logout_template] => Logout Template [login_template] => Login Template [preferences] => Preferences [users] => Users [friendlyname] => Frontend User Management [moddescription] => Allow users to log in to the frontend of your site [defaultfrontpage] => Default front page [lastaccessedpage] => Last accessed page [otherpage] => Other page: [captcha_title] => Enter the text from the image [help] =>

What Does This Do?
 

This module allows management and administration of front end users (users who have no admin accesss). It allows creation of user groups, and user accounts and allows users to login and logout. it can be used in conjunction with the CustomContent module to display different content to different users once they have logged in

Features
 

    *
 

      User account expiration. You can create temporary users

    *
 

      Group Properties. You can ask for different information from members of different groups

    *
 

      Capable of handling hundreds of users

    *
 

      Forgot password, and forgot username functionality.... allows users to set a new password, and/or to recover their username if they completely forgot login details.

    *
 

      Has an extensive API for adding functionality
 

How do I use it
 

    *
 

      After installation you can access admin panel to the FrontEndUsers module under the "Users & gGroups" menu.

    *
 

      Secondly, you should define properties. Properties are essentially field definitions, here you specify the type of information you want to gather, and limits. i.e: Name, Age, City, State, Country, Email address, etc.
 

      Note: You do not need to define properties for username and password, these will be provided for you

    *
 

      Next you should create one or more user groups. When you create a group, you are asked for a group name, a description and to associate properties with that group, specify the properties sort order, and wether it is an optional, required, or hidden field (off is also valid)

    *
 

      Note: Before proceeding, you should ensure that the preferences are set correctly.

    *
 

      Thirdly you should create some users. Adding users is a two step process. When creating a user you are asked for the username and password, and an expiry date for that user. You then must select the groups that that user is a member of, and click \'Next\'
 

      Note: This is a labour intensive and boring process, it is easier to let users register themselves (See the SelfRegistration Module), and then you can edit their group information. but for testing purposes, please create at lest one user

    *
 

      Lastly, after the system has determined all of the information fields to be presented for that user, you are presented with a form asking for all of the required user information. Complete this form to complete the user addition

    *
 

      You are now ready to add the front end functionality to your site. This is as simple as adding the {cms_module module=FrontEndUsers} tag to your page or template
 

Smarty Functions
 

Some limited interaction with the FrontEndUsers module database is possible with smarty and the $feu_smarty object.

Functions:
 

    * {$feu_smarty->get_users_by_groupname($groupname,$assign)}
 

      This function can be used to extract an array of usernames and userids for all users that belong to the specified group. The output is assigned to a smarty variable specified in the "assign" parameter.
 

      Example:

      {$feu_smarty->get_users_by_groupname('members','mymembers')}

      {$mymembers|print_r}

    * {$feu_smarty->get_user_properties($uid,$assign)}
 

      This function can be used to extract a list of properties for the specified user and assign them to a smarty variable with the specified name.
 

      Example:

      {$feu_smarty->get_user_properties(5,'userprops')}

      {$userprops|print_r}
 

Support
 

This module does not include commercial support. However, there are a number of resources available to help you with it:
 

    * For the latest version of this module, FAQs, or to file a Bug Report or buy commercial support, please visit calguy\'s module homepage at techcom.dyndns.org.

    * Additional discussion of this module may also be found in the CMS Made Simple Forums.

    * The author, calguy1000, can often be found in the CMS IRC Channel.

    * Lastly, you may have some success emailing the author directly.
 

Parameters
 

    * (optional) form="name"
 

      Forms:

          o login - Display the login form

          o logout - Display the logout form

          o changesettings - Display the change settings form

          o forgotpw - Display the forgot password form

          o lostusername - Display the lost username form.

          o silent = Display nothing, but export properties and other smarty variables for the currently logged in user. If no user is logged in, then no variables are exported.

    * (optional) returnto="page"
 

      Used with the login, logout, and changesettings forms, this parameter contains the page id or alias of a page to redirect to, when the form has been successfully completed

    * (optional) only_groups="group1, group2, group3"
 

      Used with the login forms. Basically only allows users to login if they belong to that particular group(s).

    * (optional) lostun_group="group"
 

      Used with the lostusername form, this feature specifies the frontend user group to assume tht users are members of.

    * (optional) nocaptcha="1"
 

      Used with the login forms. his will disnable captcha on the form. By default, if the Captcha module is installed, validation of a captcha image will be required for login. This is a security measure intented to prevent brute force attacks.

    * (optional) action=null
 

      The only possible value for this parameter is "viewuser"

    * (optional) uid=null
 

      Used with the viewuser action. This parameter is required to specify which user to view the details of.
 

As per the GPL, this software is provided as-is. Please read the text of the license for the full disclaimer.

Requirements
 

In order to implement the forgotten password functionality, this module requires the CMSMailer module to be previously installed

Copyright and License
 

Copyright © 2008, Robert Campbel <calguy1000@cmsmadesimple.org>. All Rights Are Reserved.
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 

However, as a special exception to the GPL, this software is distributed as an addon module to CMS Made Simple. You may not use this software in any Non GPL version of CMS Made simple, or in any version of CMS Made simple that does not indicate clearly and obviously in its admin section that the site was built with CMS Made simple.
 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or read it online

) ) [params] => Array ( [0] => Array ( [name] => lang [default] => en_US [help] => Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this. [optional] => 1 ) [1] => Array ( [name] => noinline [default] => [help] => --Add Me - module:FrontEndUsers string:help_noinline-- [optional] => 1 ) ) [wysiwygactive] => [syntaxactive] => [error] => [modinstall] => [modtemplates] => [modlang] => 1 [modform] => [modredirect] => [modmisc] => [param_map] => Array ( [assign] => CLEAN_STRING [module] => CLEAN_STRING [lang] => CLEAN_STRING [returnid] => CLEAN_INT [action] => CLEAN_STRING [showtemplate] => CLEAN_STRING [inline] => CLEAN_INT [form] => CLEAN_STRING [returnto] => CLEAN_STRING [only_groups] => CLEAN_STRING [nocaptcha] => CLEAN_INT [input_username] => CLEAN_STRING [input_password] => CLEAN_STRING [input_repeatpassword] => CLEAN_STRING [error] => CLEAN_INT [message] => CLEAN_STRING [lostun_group] => CLEAN_STRING [input_captcha] => CLEAN_STRING [submit] => CLEAN_STRING [cancel] => CLEAN_STRING [input_returnto] => CLEAN_INT [input_uid] => CLEAN_INT [input_code] => CLEAN_STRING [skipformdisplay] => CLEAN_INT [uid] => CLEAN_INT [noinline] => CLEAN_INT [regexp:/feu_.*/] => CLEAN_STRING ) [restrict_unknown_params] => 1 [xml_exclude_files] => Array ( [0] => ^\.svn [1] => ^CVS$ [2] => ^\#.*\#$ [3] => ~$ [4] => \.bak$ ) [xmldtd] => ]> [smarty] => Smarty_CMS Object *RECURSION* ) [1] => function_plugin ) [1] => [2] => [3] => [4] => 1 [5] => ) [JQueryTools] => Array ( [0] => Array ( [0] => JQueryTools Object ( [libs] => [_obj] => [_graphics_loaded] => [_watermark_obj] => [_form_loaded] => [_colors] => [_actionid] => [_image_directories] => [_current_tab] => [_errormsg] => [_messages] => [_returnid] => [cms] => CmsObject Object *RECURSION* [config] => Array ( [php_memory_limit] => [process_whole_template] => [dbms] => mysql [db_hostname] => localhost [db_username] => root [db_password] => c0rBEN013108Bass! [db_name] => cms_154 [db_port] => [db_prefix] => cms_154_ [root_url] => http://localhost/stock_1_5_4 [root_path] => C:\wamp\www\stock_1_5_4 [query_var] => page [use_bb_code] => [use_smarty_php_tags] => [previews_path] => C:\wamp\www\stock_1_5_4\tmp\cache [uploads_path] => C:\wamp\www\stock_1_5_4\uploads [uploads_url] => http://localhost/stock_1_5_4/uploads [max_upload_size] => 25000000 [debug] => [output_compression] => [assume_mod_rewrite] => [internal_pretty_urls] => [use_hierarchy] => [auto_alias_content] => 1 [image_manipulation_prog] => GD [image_transform_lib_path] => C:/Program Files/VisualMagick/bin/ [use_Indite] => 1 [image_uploads_path] => C:\wamp\www\stock_1_5_4\uploads\images [image_uploads_url] => http://localhost/stock_1_5_4/uploads/images [default_encoding] => utf-8 [disable_htmlarea_translation] => [admin_dir] => admin [persistent_db_conn] => [default_upload_permission] => 664 [page_extension] => [use_adodb_lite] => 1 [locale] => [old_stylesheet] => [wiki_url] => http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel [backwards_compatible] => [admin_encoding] => utf-8 ) [curlang] => en_US [langhash] => Array ( [en_US] => Array ( [changelog] => TODO [friendlyname] => JQuery Toolbox [help] =>

What is this?
 

This module provides jQuery functionality to CMS Made Simple page, and modules (even in the admin section), conveniently and easily. It provides functionality like ajax, tooltips, sortable tables, and anything else you can do with jquery in one nice, easy to use package.

How do I use it?
 

To enable JQueryTools you must include at least one tag in the head section of your page template, or in the metadata section of each required page. Use this tag: {JQueryTools action=incjs}
 

Additionally, you can include a second tag to include the javascript that provides the default ready function. {JQueryTools action=ready}
 

This module does not provide samples and instructions as to how to use jquery or the various addon libraries that we include. to learn how to use these libraries you will need to read the documentation for the plugins at their respective home page.

What jquery version is included?
 

Currently JQueryTools uses jquery 1.2.5

What JQuery plugins are included
 

    * dimensions

    * hoverIntent

    * metadata

    * tablesorter (see http://tablesorter.com for usage instructions)
 

      -- To allow sorting your tables, give the follwing classes to the table definition: cms_sortable tablesorter. i.e: <table class="cms_sortable tablesorter">...</table>

    * cluetip (see http://plugins.learningjquery.com/cluetip/ for usage instructions)

    * form (see http://malsup.com/jquery/form/ for usage instructions)

    * lightbox (see http://leandrovieira.com/projects/jquery/lightbox/ for usage instructions)

    * fancybox (see http://fancy.klade.lv/ for usage instructions)
 

Support
 

This module does not include commercial support. However, there are a number of resources available to help you with it:
 

    * For the latest version of this module, FAQs, or to file a Bug Report or buy commercial support, please visit calguy\'s module homepage at calguy1000.com.

    * Additional discussion of this module may also be found in the CMS Made Simple Forums.

    * The author, calguy1000, can often be found in the CMS IRC Channel.

    * Lastly, you may have some success emailing the author directly.
 

Copyright and License
 

Copyright © 2008, Robert Campbel <calguy1000@cmsmadesimple.org>. All Rights Are Reserved.
 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 

However, as a special exception to the GPL, this software is distributed as an addon module to CMS Made Simple. You may not use this software in any Non GPL version of CMS Made simple, or in any version of CMS Made simple that does not indicate clearly and obviously in its admin section that the site was built with CMS Made simple.
 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or read it online

[moddescription] => A toolbox of Jquery utilities to aide in creating dynamic and fancy CMS Made Simple modules and websites [param_action] => Specify the action to be called. Possible values are:
 

    * incjs - Include required javascript files.

    * ready - Output default ready function.
 

[param_exclude] => Applicable only to the incjs action, this parameter allows excluding certain jquery plugins from the output generated. Possible values are: tablesorter,cluetip,form. [param_include] => Applicable only to the incjs action, this parameter allows explicitly including certain jquery plugins whilst excluding all others. If this parameter is specified, the exclude parameter will be ignored. Possible values are tablesorter,cluetip,form. [postinstall] => The JQueryTools module has been installed.... get crackin [postuninstall] => The JQueryTools module has been uninstalled [preuninstall] => Removing this module could damage the appearance and functionality of your website. Are you sure you want to continue? ) ) [params] => Array ( [0] => Array ( [name] => lang [default] => en_US [help] => Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this. [optional] => 1 ) [1] => Array ( [name] => include [default] => [help] => Applicable only to the incjs action, this parameter allows explicitly including certain jquery plugins whilst excluding all others. If this parameter is specified, the exclude parameter will be ignored. Possible values are tablesorter,cluetip,form. [optional] => 1 ) [2] => Array ( [name] => exclude [default] => [help] => Applicable only to the incjs action, this parameter allows excluding certain jquery plugins from the output generated. Possible values are: tablesorter,cluetip,form. [optional] => 1 ) [3] => Array ( [name] => action [default] => [help] => Specify the action to be called. Possible values are:
 

    * incjs - Include required javascript files.

    * ready - Output default ready function.
 

[optional] => 1 ) ) [wysiwygactive] => [syntaxactive] => [error] => [modinstall] => [modtemplates] => [modlang] => [modform] => [modredirect] => [modmisc] => [param_map] => Array ( [assign] => CLEAN_STRING [module] => CLEAN_STRING [lang] => CLEAN_STRING [returnid] => CLEAN_INT [action] => CLEAN_STRING [showtemplate] => CLEAN_STRING [inline] => CLEAN_INT [include] => CLEAN_STRING [exclude] => CLEAN_STRING ) [restrict_unknown_params] => 1 [xml_exclude_files] => Array ( [0] => ^\.svn [1] => ^CVS$ [2] => ^\#.*\#$ [3] => ~$ [4] => \.bak$ ) [xmldtd] => ]> [smarty] => Smarty_CMS Object *RECURSION* ) [1] => function_plugin ) [1] => [2] => [3] => [4] => 1 [5] => ) [Products] => Array ( [0] => Array ( [0] => Products Object ( [_product_cache] => Array ( ) [_hierarchy_cache] => Array ( ) [_category_cache] => Array ( ) [_admin_loaded] => [_common_loaded] => [_obj] => [_graphics_loaded] => [_watermark_obj] => [_form_loaded] => [_colors] => [_actionid] => [_image_directories] => Array ( [0] => modules/Products/icons ) [_current_tab] => [_errormsg] => [_messages] => [_returnid] => [cms] => CmsObject Object *RECURSION* [config] => Array ( [php_memory_limit] => [process_whole_template] => [dbms] => mysql [db_hostname] => localhost [db_username] => root [db_password] => c0rBEN013108Bass! [db_name] => cms_154 [db_port] => [db_prefix] => cms_154_ [root_url] => http://localhost/stock_1_5_4 [root_path] => C:\wamp\www\stock_1_5_4 [query_var] => page [use_bb_code] => [use_smarty_php_tags] => [previews_path] => C:\wamp\www\stock_1_5_4\tmp\cache [uploads_path] => C:\wamp\www\stock_1_5_4\uploads [uploads_url] => http://localhost/stock_1_5_4/uploads [max_upload_size] => 25000000 [debug] => [output_compression] => [assume_mod_rewrite] => [internal_pretty_urls] => [use_hierarchy] => [auto_alias_content] => 1 [image_manipulation_prog] => GD [image_transform_lib_path] => C:/Program Files/VisualMagick/bin/ [use_Indite] => 1 [image_uploads_path] => C:\wamp\www\stock_1_5_4\uploads\images [image_uploads_url] => http://localhost/stock_1_5_4/uploads/images [default_encoding] => utf-8 [disable_htmlarea_translation] => [admin_dir] => admin [persistent_db_conn] => [default_upload_permission] => 664 [page_extension] => [use_adodb_lite] => 1 [locale] => [old_stylesheet] => [wiki_url] => http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel [backwards_compatible] => [admin_encoding] => utf-8 ) [curlang] => en_US [langhash] => Array ( [en_US] => Array ( [add] => Add [addcategory] => Add A Category [addfielddef] => Add A Field [adjustable] => Adjustable [addproduct] => Add A Product [add_attrib_set] => Add Attribute [add_category_field] => Associate Field with Category: "%s" [add_hierarchy_item] => Add Hierarchy Item [add_option] => Add Attribute Option [admin_only] => Can only admins see this attribute? [align_ul] => Top Left [align_uc] => Top Center [align_ur] => Top Right [align_ml] => Middle Left [align_mc] => Center [align_mr] => Middle Right [align_ll] => Bottom Left [align_lc] => Bottom Center [align_lr] => Bottom Right [allcategories] => All Categories [areyousure] => Are You Sure? [areyousure_deleteproduct] => Are you sure you really want to delete this product, and all of the accompanying information for it? [ascending] => Ascending [attribute_name] => Attribute Name [automatic] => Automatic [byhierarchytemplates] => Hierarchy Report Templates [byhierarchytemplate_addedit] => Add/Edit Hierarchy Report Template [cancel] => Cancel [categories] => Categories [category] => Category [categoryexists] => A category by that name already exists [categorylisttemplates] => CategoryList Templates [categorylisttemplate_addedit] => Add/Edit A CategoryList Template [checkbox] => Checkbox [confirm_delete_hierarchy_node] => Are you sure you want to delete this node? Any products that are using this node will be set to no hierarchy [confirm_import] => Are you sure you really want to do this?\n\nImproper settings, or an invalid config file could completely corrupt a currently valid and working system. [copy] => Copy [copy_category] => Copy Category [createddate] => Created Date [current_value] => Current Value [data] => Data [default] => Default [defaulttemplates] => Default Templates [default_template_notice] => Note: The contents of these text areas are used to determine the default content of templates when you click "Add Template" in the appropriate template tab. Editing one of these text areas will have no immediate effect on your website. [delete] => Delete [delete_attribset] => Delete Attribute [delete_hierarchy_item] => Delete Hierarchy Item [descending] => Descending [description] => Description [details] => Details [detailtemplates] => Detail Templates [detailtemplate_addedit] => Add/Edit A Detail Template [disabled] => Disabled [draft] => Draft [dropdown] => Dropdown [dropdown_options] => Dropdown Options (applicable only for dropdown fields)

Open in new window

0
 
LVL 7

Expert Comment

by:szewkam
ID: 24728968
hm... it's really extensive :D. And it's a part that doesn't show me where is located stdClass for fragment you are looking for ;)
try casting different part of $temArray;
e.g.
(array) $temArray;
(array) $temArray['Transmission'];
 Maybe something like this will work :)
0
 
LVL 4

Author Comment

by:jeremyBass26
ID: 24729101
oh... lets see  

$temArray = $smarty->get_template_vars();
print_r((array) $temArray['Transmission']);

outputs...
Array

(

    [display] => 1

    [required] => 0

    [required_symbol] => 

    [css_class] => 

    [valid] => 1

    [error] => 

    [hide_name] => 0

    [has_label] => 1

    [needs_div] => 1

    [name] => Transmission

    [input] => Array

        (

            [0] => stdClass Object

                (

                    [name] => <label for="m2fbrp__64_0">Automatic</label>

                    [title] => Automatic

                    [input] => <input type="radio" id="m2fbrp__64_0" value="1" name="m2fbrp__64"/>

                )
 

            [1] => stdClass Object

                (

                    [name] => <label for="m2fbrp__64_1">Manual</label>

                    [title] => Manual

                    [input] => <input type="radio" id="m2fbrp__64_1" value="2" name="m2fbrp__64"/>

                )
 

        )
 

    [smarty_eval] => 0

    [input_id] => m2fbrp__64

    [multiple_parts] => 1

    [label_parts] => 1

    [type] => Radio Button Group

)

Open in new window

0
 
LVL 4

Accepted Solution

by:
jeremyBass26 earned 0 total points
ID: 24729821
got it...


$temArray = $smarty->get_template_vars();
print_r((array) $temArray['Transmission']);
echo "<br/>";
echo "<br/>";
echo $temArray['Transmission']->input->input;


$array = (array)$temArray['Transmission'];
foreach($array['input'] as $element) {
  echo $element->input;
  $element->input = str_replace(">", "checked >", $element->input);
}
print_r((array) $temArray['Transmission']);


that was the ticket...
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP Variable into a number 3 35
how can I dected if URL has variable? 7 23
wordpress issue 2 24
How to fetch your row in php 14 13
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now