Skip to content
Snippets Groups Projects
setup.txt 2.47 KiB
page.includeCSS {
	tx_rxshariff_shariff = EXT:rx_shariff/Resources/Public/Stylesheet/shariff.min.css
}

# must be included in the footer or shariff is not working!
page.includeJSFooterlibs {
	tx_rxshariff_shariff = EXT:rx_shariff/Resources/Public/JavaScript/shariff.min.js
	sg_news_scrollbrowser = EXT:sg_news/Resources/Public/Scripts/ScrollBrowser.js
}

# news feed as own page type
newsFeed = PAGE
newsFeed {
	typeNum = 78906523

	10 < tt_content.list.20.sgnews_newsfeed

	config {
		disableAllHeaderCode = 1
		additionalHeaders = Content-type:text/xml
		no_cache = 1
		xhtml_cleaning = 0
	}
}

# news feed integration into the site
page.headerData {
	273905123652 = TEXT
	273905123652 {
		dataWrap = <link rel="alternate" title="News Feed" type="application/atom+xml" href="{TSFE:absRefPrefix}news.xml" />
	}
}

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

	persistence {
		enableAutomaticCacheClearing = 0
		updateReferenceIndex = 1
	}

	settings {
		siteName =
		facebookPublisher =
		newsLimitPerPage = {$plugin.tx_sgnews.settings.newsLimitPerPage}
	}

	features {
		skipDefaultArguments = 1
	}

	legacy {
		enableLegacyFlashMessageHandling = 0
	}

	pagebrowser = USER
	pagebrowser {
		# USER_INT support
		includeLibs = EXT:sg_news/Classes/UserFunc/class.tx_pagebrowse_pi1.php
		userFunc = tx_pagebrowse_pi1->main

		# Template file
		templateFile = {$plugin.tx_sgnews.pagebrowser.templateFile}

		# Extra parameters to the query string. Must start with & if not empty
		extraQueryString =

		# Number of page links to show before the current page
		pagesBefore = 1

		# Number of page links to show before the current page
		pagesAfter = 1

		# GET variable name for page pointer. Examples: "page" or "tx_exykey_pi1|page". Notice that array separator is pipe (one level only!)
		pageParameterName = tx_pagebrowse_pi1|page

		# Enables section for "more" pages. This section is shown after links to next pages, normally like three dots (1 2 3 ...). Notice that you can also hide it by emptying corresponding template section.
		enableMorePages = 0

		# Enables section for "less" pages. This section is shown after links to next pages, normally like three dots (1 2 3 ...) Notice that you can also hide it by emptying corresponding template section.
		enableLessPages = 0

		# Enables inclusion of the additional header parts (css)
		addHeaderParts = 1
	}
}