Site Set settings
Tip
Configure EXT:maps2 first. It is required for the map step of the company form and shows company addresses on a map.
yellowpages2 ships its configuration as the Site Set jweiland/. Add it to the
dependencies list of your site configuration (config/),
then override any of the following settings for your site in
config/:
yellowpages2.storagePid: '21,45,3234'
yellowpages2.pidOfMaps2Plugin: 12
yellowpages2.pidOfListPage: 20
yellowpages2.pidOfDetailPage: 21
yellowpages2.pidOfSearchResults: 22
yellowpages2.pidOfManagementPage: 23
| Name |
|---|
-
- Label
- Yellowpages2
-
- Label
- Templates
-
- Type
string- Default
"EXT:yellowpages2/ Resources/ Private/ Templates/" - Label
- Templates
- Category
- Yellowpages2 > Templates
Path to template root
-
- Type
string- Default
"EXT:yellowpages2/ Resources/ Private/ Partials/" - Label
- Partials
- Category
- Yellowpages2 > Templates
Path to partial root
-
- Type
string- Default
"EXT:yellowpages2/ Resources/ Private/ Layouts/" - Label
- Layouts
- Category
- Yellowpages2 > Templates
Path to layout root
-
- Label
- Pages
-
- Type
string- Label
- Default storage PID
- Category
- Yellowpages2 > Pages
Folder for storing records and fetched data
-
- Type
page- Default
0- Label
- PID for maps2
- Category
- Yellowpages2 > Pages
PID where maps2 plugin for detail view is inserted
-
- Type
int- Default
0- Label
- Root for categories
- Category
- Yellowpages2 > Pages
Starting/Parent UID of all available categories for this plugin
-
- Type
int- Default
2- Label
- Default District
- Category
- Yellowpages2 > Pages
UID of the default district to show in selectbox
-
- Type
page- Default
0- Label
- PID of Detail page
- Category
- Yellowpages2 > Pages
Leave empty to show details on current page
-
- Type
page- Default
0- Label
- PID of List page
- Category
- Yellowpages2 > Pages
List Page UID: If empty, the current page ID will be used.
-
- Type
page- Default
0- Label
- PID of Management page
- Category
- Yellowpages2 > Pages
Page with the Management plugin to create and edit companies. Used by the create/edit links and the links in the moderation mail. If empty, the current page ID will be used.
-
- Type
page- Default
0- Label
- PID of Search results page
- Category
- Yellowpages2 > Pages
Page with the Search plugin to show the search results. The search form submits to this page. If empty, the current page ID will be used.
-
- Type
int- Default
1- Label
- Usergroup Uid
- Category
- Yellowpages2 > Pages
The user group allowed to create new companies. This determines the rendering of the edit and create links on the list page.
-
- Label
- Pagination
-
- Type
int- Default
15- Label
- Records per page
- Category
- Yellowpages2 > Pagination
How many items should be displayed on one page
-
- Type
bool- Default
1- Label
- Insert above
- Category
- Yellowpages2 > Pagination
Should pagebrowser be displayed on top of the list
-
- Type
bool- Default
0- Label
- Insert below
- Category
- Yellowpages2 > Pagination
Should pagebrowser be displayed at bottom of the list
-
- Type
int- Default
5- Label
- Max. number of links
- Category
- Yellowpages2 > Pagination
Define maximum amount of pages which should be displayed
-
- Label
- Company form
-
- Type
page- Default
0- Label
- Storage page of new companies
- Category
- Yellowpages2 > Company form
Page UID, where companies created with the company form are stored. If empty, the first storage page of the plugin or else the current page is used.
-
- Type
bool- Default
false- Label
- Enable rich text editor
- Category
- Yellowpages2 > Company form
Use CKEditor 5 of EXT:rte_ckeditor for the rich text elements of the company form. Requires EXT:rte_ckeditor.
-
- Type
string- Default
"description"- Label
- Rich text elements
- Category
- Yellowpages2 > Company form
Comma separated identifiers of form elements, which get the rich text editor. Elements with "dataType: richText" in the form definition get it, too.
-
- Type
string- Default
"EXT:rte_ ckeditor/ Resources/ Public/ Contrib/ translations/" - Label
- Translations of the rich text editor
- Category
- Yellowpages2 > Company form
Folder with the translations of CKEditor 5 (e.g. de.js) for the language of the site. Without a translation, the editor is shown in English.