# Configuring the Typo3 Connector
Before using the Typo3 Connector, you need to create a frontend user in Typo 3 and configure the connector.
Please consider the different configuration guides depending on your Typo3 version:
# Configuration Guide for Typo3 v12
# Preparing Typo3: New Page and Website User
To connect Typo3 securely with your 4ALLPORTAL using username and password, you have to create a frontend user. For this you need to create a page and Website User module and configure them:
Open Typo3. Navigate to tab
List
(left side panel) and use right mouse menu to create a newNew subpage
.- Set Page Title, for example
4AP Test
- Make sure this page is visible. For this set
Page visible
to true in tabAccess
- In case you don't have any pages yet, make sure to enable
Use as Root Page
in tabBehaviour
.
- Set Page Title, for example
Select your new page and use right mouse menu to create a
New subpage
. For this second page, make the following settings:- Tab
General
:- set
Type
toFolder
- set a
Page Title
, for example4AP Folder
- set
- Tab
Behaviour
: setContains Plugin
toWebsite Users
- Tab
Access
: make sure the page is visible
- Tab
Select the folder you have created.
- Click on
+Create new record
and selectWebsite Usergroup
. - Go to
General
and set aGroup Title
, for example4AP Group
. - Go to tab
Access
and setEnabled
totrue
.
- Click on
Now click on
+Create new record
on the folder created and add aWebsite User
make the following settings:- tab
General
- Set
Username
. This is theTypo3 username
in Admin Snap-InDAM/Typo3 Connector
. - Set
Password
. This is theTypo3 password
in Admin Snap-InDAM/Typo3 Connector
. - Set
API Key
to the same value asPassword
- - Add the previously created
Website Usergroup
toGroups
box
- Set
- Switch to tab
Access
and setEnabled
to true. - Switch to tab
Personal Data
and fill in the fields.
- tab
Now try to visit http://example.typo3.net/rest/ (opens new window).
If you can see the expected response like "OK", the configuration of the REST plugin is complete. You can now continue with the configuration of the 4ALLPORTAL (4ALLPORTAL configuration).
# Troubleshooting
If you see an error message, there may be two reasons:
# Missing Template
You may not have added a template to your root page and folder page. To fix that, do the following:
- Navigate to
TypoScript
(left side panel). - For both the page and the folder you have created, select
Constant Editor
. Use default values and selectCreate a root script
.
# Language Configuration
There may be a problem with the language settings on the site configuration. To fix that, do the following:
Navigate to
Sites
(left side panel).Check for existing site configurations of your created root page.
To simplify troubleshooting, we suggest to now delete the site configuration of the root page and create a new one. For this, do the following:
Choose
Add new site configuration for this site
for your root page.Tab
General
: Enter aSite Identifier
, e.g. the value "1".Tab
General
: Enter your main URL to fieldEntry Point
, e.g. http://example.typo3.net.Tab
Languages
: Set up a language configuration:- Enter a
Title
, e.g. "English" - Enter a
Locale
, e.g. "en_US" or "de_DE"
- Enter a
Save the site configuration and retry to visit http://example.typo3.net/rest/ (opens new window). You should now see the expected response like {"message":"What's up?"}
for language en_US
.
# Configuration Guide for Typo3 v8, v9, v10
# Preparing Typo3: New Page and Website User
To connect Typo3 securely with your 4ALLPORTAL using username and password, you have to create a frontend user. For this you need to create a page and Website User module and configure them:
Open Typo3. Navigate to tab List (left side panel) and create a new page. Make sure this page is visible.
In case you don't have any pages yet, make sure to enable Use as Root Page in tab Behaviour.Select your new page and click the "plus" button to add a subpage.
For this second page, make the following settings:
- Tab
General
: settype
toFolder
- Tab
Behaviour
: setContains plugin
toWebsite users
- Tab
Access
: make sure the page is visible
- Tab
Select the folder you have created and make the following settings:
- Add a
Website Usergroup
and give it a name. - Go to tab
Access
and setEnabled
totrue
.
- Add a
Add a
Website User
and make the following settings:- The
Frontend User Password
is the same as theTypo3 Rest API key
. - The
Website Usergroup
you created is in theSelected items
area. - The switch
Enable
in tabAccess
is set totrue
. - All
Personal Data
fields are filled.
- The
Now try to visit https://example.typo3.com/rest
.
If you can see the expected response like "OK", the configuration of the REST plugin is complete. You can now continue with the configuration of the 4ALLPORTAL (4ALLPORTAL configuration).
# Troubleshooting
If you see an error message, there may be two reasons:
# Missing Template
You may not have added a template to your root page and folder page. To fix that, do the following:
- Navigate to
Template
(left side panel) and select the page you have created. - Click
Create template for new site
. - Do the same with the folder you have created.
# Language Configuration
There may be a problem with the language settings on the site configuration. To fix that, do the following:
Navigate to
Sites
(left side panel).Check for existing site configurations of your created root page.
To simplify troubleshooting, we suggest to now delete the site configuration of the root page and create a new one. For this, do the following:
Add a new site configuration to your root page.
Tab
General
: Enter a site identifier, e.g. the value "1".Tab
General
: Enter your main URL to fieldEntry Point
, e.g. https://example.com.Tab
Languages
: Set up a language configuration:- Enter a title name, e.g. "English".
- Choose a value in field
Language Key for XLF Files
, e.g. "English". - Enter the requested locale value in field
Locale
, e.g. "en_US".
Save the site configuration and retry to visit https://example.typo3.com/rest
.