plugin.tx_t3extblog {
	view {
		templateRootPath = {$plugin.tx_t3extblog.view.templateRootPath}
		partialRootPath = {$plugin.tx_t3extblog.view.partialRootPath}
		layoutRootPath = {$plugin.tx_t3extblog.view.layoutRootPath}

		widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = {$plugin.tx_t3extblog.view.templateRootPath}

#		pluginNamespace = tx_t3extblog_blogsystem
		callDefaultActionIfActionCantBeResolved = 1
	}

	email {
		templateRootPath = {$plugin.tx_t3extblog.view.templateRootPath}Email/
		partialRootPath = {$plugin.tx_t3extblog.view.partialRootPath}Email/
		layoutRootPath = {$plugin.tx_t3extblog.view.layoutRootPath}
	}

	persistence {
		storagePid = {$plugin.tx_t3extblog.persistence.storagePid}
		enableAutomaticCacheClearing = 1
	}

	features {
		skipDefaultArguments = 1
	}

	settings {
		overrideFlexformSettingsIfEmpty = latestPosts.categoryUid

		# used for mails
		blogName = Testblog

		# show hidden posts, should be used with a condition only
		previewHiddenRecords = 0

		blogsystem {
			pid =

			posts {
				viewCount {
					# NOT IMPLENTED YET
					# views: Amount of seconds which have to pass by until an returning visitor is recounted.
					# if you want to have counted each view just put a negative number.
					# timePeriod = 10000
					# countBackendUsers = 1
				}

				# Post list pagination
				paginate {
					itemsPerPage = 10
					insertAbove = 0
					insertBelow = 1
					maximumNumberOfLinks = 100
				}

				metadata {
					# Add description and keyword meta tags
					enable = 1

					twitterCards {
						enable = 1

						# Your Twitter username
						site =
					}
				}

				# Post list preview
				preview {
					image.width = 960c
				}
			}
			comments {
				allowed = 1
				# auto close comments, 0 = disabled
				# use http://www.php.net/manual/en/datetime.formats.relative.php
				allowedUntil = +6 months

				# comments are approved by default
				approvedByDefault = 1

				# subscibe to new comment allowed
				subscribeForComments = 1

				# Allow tags in comment text
				# example config: <em>, <strong>, <code>
				# uses: http://www.php.net/manual/en/function.strip-tags.php
				allowTags =

				spamCheck {
					enable = 1

					# limit of spam points
					threshold {
						# saved but marked as spam
						markAsSpam = 10
						# to block comment (user could  try again), 0 = disable
						block = 20
						# to block comment and redirect user, 0 = disable
						redirect = 30
					}
					redirect {
						pid =
						arguments {
						}
					}

					### spam points by check, 0 = disabled
					# simple checkbox which needs to be enabled
					isHumanCheckbox = 10
					# hidden honeypot fields
					honeypot = 3
					# checks for useragent
					userAgent = 5
					# checks if client accepts cookies
					cookie = 2
				}

				paginate {
					itemsPerPage = 500
					insertAbove = 0
					insertBelow = 0
					maximumNumberOfLinks = 100
				}
			}
		}

		subscriptionManager {
			pid =

			admin {
				enable = 1
				 mailTo {
					 email =
					 name =
				 }
				 mailFrom {
					 email =
					 name =
				 }
			}
			subscriber {
				enableNewCommentNotifications = 1

				# email link invalid after
				# use http://www.php.net/manual/en/datetime.formats.relative.php
				emailHashTimeout = +48 hours
			 	mailFrom {
				 	email =
				 	name =
			 	}
			}
		}

		categories {
			paginate {
				itemsPerPage = 10
				insertAbove = 0
				insertBelow = 0
				maximumNumberOfLinks = 0
			}
		}

		latestPosts {
			categoryUid =

			paginate {
				itemsPerPage = 5
				insertAbove = 0
				insertBelow = 0
				maximumNumberOfLinks = 0
			}
		}

		latestComments {
			paginate {
				itemsPerPage = 5
				insertAbove = 0
				insertBelow = 0
				maximumNumberOfLinks = 0
			}
		}

		rss {
			paginate {
				itemsPerPage = 10
				insertAbove = 0
				insertBelow = 0
				maximumNumberOfLinks = 0
			}
		}

		archive {

		}

		# Backend
		backend {
			posts.paginate {
				itemsPerPage = 20
				insertAbove = 0
				insertBelow = 1
				maximumNumberOfLinks = 100
			}
			comments.paginate {
				itemsPerPage = 20
				insertAbove = 0
				insertBelow = 1
				maximumNumberOfLinks = 100
			}
		}

		# some debug configs
		debug {
			disableEmailTransmission = 0
			logInDevlog = 0
			renderInFe = 0
		}
	}
}

# preview hidden records if logged in BE user
[globalVar = TSFE : beUserLogin > 0]
	plugin.tx_t3extblog.settings.previewHiddenRecords = 1
[global]

# localize date format, used within the fluid templates
lib.tx_t3extblog.date = TEXT
lib.tx_t3extblog.date {
	current = 1
	strftime = %d. %B %Y
}
lib.tx_t3extblog.month < lib.tx_t3extblog.date
lib.tx_t3extblog.month.strftime = %B
