Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_news
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_news
Commits
b9922da8
Commit
b9922da8
authored
7 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Update Documentation
parent
a78cf9c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+26
-24
26 additions, 24 deletions
README.md
with
26 additions
and
24 deletions
README.md
+
26
−
24
View file @
b9922da8
...
...
@@ -12,7 +12,7 @@ TYPO3 version: >7.6
## About
Integrates a powerful News
-S
ystem. News and Categories can be created like normal TYPO3 pages. Newspages have several
Integrates a powerful News
s
ystem. News and Categories can be created like normal TYPO3 pages. Newspages have several
additional meta information.
...
...
@@ -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).
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.
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
### Plugins
General settings for the plugins can be found in the
**Frontend/setup.txt**
and
**Frontend/constants.txt**
TypoScript file:
# setup.txt
settings {
# Name of your site - required for the news.xml
siteName =
*setup.txt*
# Your rootpage id - required for the news.xml to retrieve the base path
rootpageId = 1
# News limit (can be usually set also inside the flexforms)
newsLimitPerPage = {$plugin.tx_sgnews.settings.newsLimitPerPage}
# 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
}
settings {
# Name of your site - required for the news.xml
siteName =
# Your rootpage id - required for the news.xml to retrieve the base path
rootpageId = 1
# News limit (can be usually set also inside the flexforms)
newsLimitPerPage = {$plugin.tx_sgnews.settings.newsLimitPerPage}
# 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
settings {
newsLimitPerPage = 12
tagPid =
}
*constants.txt*
settings {
newsLimitPerPage = 12
tagPid =
}
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:
###### addLike
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment