Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TypoScript-Forger
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TYPO3
TypoScript-Forger
Commits
ba039426
Commit
ba039426
authored
9 years ago
by
damjan
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Writing the documentation
parent
34125461
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+113
-0
113 additions, 0 deletions
README.md
with
113 additions
and
0 deletions
README.md
0 → 100755
+
113
−
0
View file @
ba039426
SGalinski.TypoScriptReferenceFrontend
## Setup Notes
### Prerequisite
SGalinski.TypoScriptReferenceFrontend is Flow package, so you need first a flow project:
Use
`composer create-project --dev --keep-vcs typo3/flow-base-distribution ProjectName`
You can use any project name you wish. If you already have Flow project, you can skip this step.
### Install
The project can be installed by composer, or downloaded from git:
#### A) Install by composer
Change into
`ProjectName`
directory
TODO: Setup composer.json to install from git repository
Use
`composer require ...`
and
`composer update`
to install the package.
#### B) Download from git
cd Packages/Application
git clone git@gitlab.sgalinski.de:typo3/TypoScript-Forger.git SGalinski.TypoScriptReferenceFrontend
cd typo_script_backend
### Supply the necessary routes
Edit Routes.yaml of your project (
`ProjectName/Configuration/Routes.yaml`
)
#### If you are using WMDB.Forger package in same project
It is important to include SGalinski.TypoScriptReferenceFrontend subRoutes before WMDB.ForgerSubroutes to avoid
route conflicts.
The prefix 'ts' in uriPattern: 'ts/
<SGalinski.TypoScriptReferenceFrontend>
' has purpose to avoid the conflict.
<pre>
-
name: 'TypoScriptReferenceFrontend'
uriPattern: 'ts/
<SGalinski.TypoScriptReferenceFrontend>
'
subRoutes:
SGalinski.TypoScriptReferenceFrontend:
package: SGalinski.TypoScriptReferenceFrontend
-
name: 'Forger'
uriPattern: '
<WMDB.ForgerSubroutes>
'
subRoutes:
WMDB.ForgerSubroutes:
package: WMDB.Forger
##
# Flow subroutes
#
-
name: 'Flow'
uriPattern: '
<FlowSubroutes>
'
defaults:
'@format': 'html'
subRoutes:
FlowSubroutes:
package: TYPO3.Flow
</pre>
#### In empty project Routes.yaml looks like this
Uri prefix can be added if needed.
<pre>
-
name: 'TypoScriptReferenceFrontend'
uriPattern: '
<SGalinski.TypoScriptReferenceFrontend>
'
subRoutes:
SGalinski.TypoScriptReferenceFrontend:
package: SGalinski.TypoScriptReferenceFrontend
##
# Flow subroutes
#
-
name: 'Flow'
uriPattern: '
<FlowSubroutes>
'
defaults:
'@format': 'html'
subRoutes:
FlowSubroutes:
package: TYPO3.Flow
</pre>
### Configure view
To be able to integrate SGalinski.TypoScriptReferenceFrontend package with other packages
(for example to use existing menu from other package), view configuration in main project is needed.
Here is view configuration for integration with WMDB.Forger package.
ProjectName/Configuration/Views.yaml:
-
options:
layoutRootPaths:
'WMDB.Forger/Layouts': 'resource://WMDB.Forger/Private/Layouts'
partialRootPaths:
'WMDB.Forger/Partials': 'resource://WMDB.Forger/Private/Partials'
'SGalinski.TypoScriptReferenceFrontend/Partials': 'resource://SGalinski.TypoScriptReferenceFrontend/Private/Partials'
# templateRootPaths:
# 'WMDB.Forger/Templates': 'resource://WMDB.Forger/Private/Templates'
# 'SGalinski.TypoScriptReferenceFrontend/Templates': 'resource://SGalinski.TypoScriptReferenceFrontend/Private/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