Location: PHPKode > projects > Blogs manager > blogs/include/_blogs_settings.php
<?php

$tdata=array();
	 $tdata[".NumberOfChars"]=80; 
	$tdata[".ShortName"]="_blogs";
	$tdata[".OwnerID"]="username";

	
//	id
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 3;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "id";
	        	$fdata["FullName"]= "`_blogs`.`id`";
	 $fdata["IsRequired"]=true; 
	
	
	
	$fdata["Index"]= 1;
	
			$fdata["EditParams"]="";
							$tdata["id"]=$fdata;
	
//	username
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "username";
	        	$fdata["FullName"]= "`_blogs`.`username`";
	
	
	
	
	$fdata["Index"]= 2;
	
			$fdata["EditParams"]="";
						$fdata["FieldPermissions"]=true;
		$tdata["username"]=$fdata;
	
//	date
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 7;
	$fdata["EditFormat"]= "Readonly";
	$fdata["ViewFormat"]= "Short Date";
	
	
		$fdata["GoodName"]= "date";
	        	$fdata["FullName"]= "`_blogs`.`date`";
	
	
	
	
	$fdata["Index"]= 3;
	
						$fdata["FieldPermissions"]=true;
		$tdata["date"]=$fdata;
	
//	TIME
	$fdata = array();
	 $fdata["Label"]="Time"; 
	
	
	$fdata["FieldType"]= 134;
	$fdata["EditFormat"]= "Readonly";
	$fdata["ViewFormat"]= "Time";
	
	
		$fdata["GoodName"]= "TIME";
	        	$fdata["FullName"]= "`_blogs`.`TIME`";
	
	
	
	
	$fdata["Index"]= 4;
	
						$fdata["FieldPermissions"]=true;
		$tdata["TIME"]=$fdata;
	
//	category
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "category";
	        	$fdata["FullName"]= "`_blogs`.`category`";
	 $fdata["IsRequired"]=true; 
	
	
	
	$fdata["Index"]= 5;
	
						$fdata["FieldPermissions"]=true;
		$tdata["category"]=$fdata;
	
//	firstline
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "firstline";
	        	$fdata["FullName"]= "`_blogs`.`firstline`";
	 $fdata["IsRequired"]=true; 
	
	
	
	$fdata["Index"]= 6;
	
			$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=50";
					$fdata["FieldPermissions"]=true;
		$tdata["firstline"]=$fdata;
	
//	blog
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "HTML";
	
	
		$fdata["GoodName"]= "blog";
	        	$fdata["FullName"]= "`_blogs`.`blog`";
	 $fdata["IsRequired"]=true; 
	 $fdata["UseRTE"]=true; 
	
	
	$fdata["Index"]= 7;
	
		$fdata["EditParams"]="";
			$fdata["EditParams"].= " rows=300";
		$fdata["nRows"] = 300;
			$fdata["EditParams"].= " cols=600";
		$fdata["nCols"] = 600;
					$fdata["FieldPermissions"]=true;
		$tdata["blog"]=$fdata;
	
//	link
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "Hyperlink";
	
	
		$fdata["GoodName"]= "link";
	        	$fdata["FullName"]= "`_blogs`.`link`";
	
	
	
	
	$fdata["Index"]= 8;
	
			$fdata["EditParams"]="";
						$fdata["FieldPermissions"]=true;
		$tdata["link"]=$fdata;
	
//	picture
	$fdata = array();
	 $fdata["Label"]="youtube"; 
	
	 $fdata["LinkPrefix"]="files/"; 
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "HTML";
	
	
		$fdata["GoodName"]= "picture";
	        	$fdata["FullName"]= "`_blogs`.`picture`";
	
	
	
	 $fdata["UploadFolder"]="files"; 
	$fdata["Index"]= 9;
	
			$fdata["EditParams"]="";
						$fdata["FieldPermissions"]=true;
		$fdata["CreateThumbnail"]=true;
	$fdata["ThumbnailPrefix"]="th";
	$tdata["picture"]=$fdata;
	
//	int1
	$fdata = array();
	 $fdata["Label"]="rate"; 
	
	
	$fdata["FieldType"]= 3;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "int1";
	        	$fdata["FullName"]= "`_blogs`.`int1`";
	
	
	
	
	$fdata["Index"]= 10;
	
			$fdata["EditParams"]="";
							$tdata["int1"]=$fdata;
	
//	int2
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 3;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "int2";
	        	$fdata["FullName"]= "`_blogs`.`int2`";
	
	
	
	
	$fdata["Index"]= 11;
	
			$fdata["EditParams"]="";
							$tdata["int2"]=$fdata;
	
//	char1
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "char1";
	        	$fdata["FullName"]= "`_blogs`.`char1`";
	
	
	
	
	$fdata["Index"]= 12;
	
			$fdata["EditParams"]="";
							$tdata["char1"]=$fdata;
	
//	char2
	$fdata = array();
	
	
	
	$fdata["FieldType"]= 200;
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
	
		$fdata["GoodName"]= "char2";
	        	$fdata["FullName"]= "`_blogs`.`char2`";
	
	
	
	
	$fdata["Index"]= 13;
	
			$fdata["EditParams"]="";
							$tdata["char2"]=$fdata;
$tables_data["_blogs"]=$tdata;
?>
Return current item: Blogs manager