Skip to content
Snippets Groups Projects
Commit b9922da8 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Update Documentation

parent a78cf9c5
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ TYPO3 version: >7.6 ...@@ -12,7 +12,7 @@ TYPO3 version: >7.6
## About ## About
Integrates a powerful News-System. News and Categories can be created like normal TYPO3 pages. Newspages have several Integrates a powerful News system. News and Categories can be created like normal TYPO3 pages. Newspages have several
additional meta information. additional meta information.
...@@ -110,7 +110,7 @@ In addition to categories, multiple tags can be created and specified for each n ...@@ -110,7 +110,7 @@ In addition to categories, multiple tags can be created and specified for each n
Tags can be created by adding sys_category records to the root page of the news block (blog). Tags can be created by adding sys_category records to the root page of the news block (blog).
In order to differentiate each block's tags from the others, In order to differentiate each block's tags from the others,
the PageTS value of **TCEFORM.pages.tx_sgnews_tags.PAGE_TSCONFIG_ID** the PageTS value of **TCEFORM.pages.tx_sgnews_tags.PAGE_TSCONFIG_ID**
can be set for each of the blocks containing the pid value for the selectable tags. can be set for each of the blocks containing the pid value for the selectable tags.
To make sure that only the correct tags are displayed in the FE, the **plugin.tx_sgnews.settings.tagPid** To make sure that only the correct tags are displayed in the FE, the **plugin.tx_sgnews.settings.tagPid**
...@@ -128,29 +128,31 @@ On these pages you can use all your usual content elements to visualize your new ...@@ -128,29 +128,31 @@ On these pages you can use all your usual content elements to visualize your new
### Plugins ### Plugins
General settings for the plugins can be found in the **Frontend/setup.txt** and **Frontend/constants.txt** TypoScript file: General settings for the plugins can be found in the **Frontend/setup.txt** and **Frontend/constants.txt** TypoScript file:
# setup.txt *setup.txt*
settings {
# Name of your site - required for the news.xml
siteName =
# Your rootpage id - required for the news.xml to retrieve the base path settings {
rootpageId = 1 # Name of your site - required for the news.xml
siteName =
# News limit (can be usually set also inside the flexforms)
newsLimitPerPage = {$plugin.tx_sgnews.settings.newsLimitPerPage} # Your rootpage id - required for the news.xml to retrieve the base path
rootpageId = 1
# Uid of the page containing sys_category records used as tags
tagPid = {$plugin.tx_sgnews.settings.tagPid} # News limit (can be usually set also inside the flexforms)
newsLimitPerPage = {$plugin.tx_sgnews.settings.newsLimitPerPage}
# How to sort the news in general (date, positionInTree)
sortBy = date # Uid of the page containing sys_category records used as tags
} tagPid = {$plugin.tx_sgnews.settings.tagPid}
# How to sort the news in general (date, positionInTree)
sortBy = date
}
#constants.txt *constants.txt*
settings {
newsLimitPerPage = 12 settings {
tagPid = newsLimitPerPage = 12
} tagPid =
}
This extension comes with several plugins to display and categorize news: This extension comes with several plugins to display and categorize news:
...@@ -235,5 +237,5 @@ You find the settings in the **Fontend/constants.txt** configuration file: ...@@ -235,5 +237,5 @@ You find the settings in the **Fontend/constants.txt** configuration file:
###### addLike ###### addLike
Automatically adds an AJAX like button to each single news entry. Automatically adds an AJAX like button to each single news entry.
Make sure, that the extension sg_ajax is installed, otherwise this feature will be disabled. Make sure, that the extension **sg_ajax** is installed, otherwise this feature will be disabled.
If it should be like this, then make sure to remove this button from the sg_news default templates. If it should be like this, then make sure to remove this button from the sg_news default templates.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment