With yellowpages2 you can build your own little industry directory for your TYPO3 website. It comes with a list and a
configurable detail view. Above the list view we implemented an A-Z navigation to jump directly
to industry directory entries which will start with clicked starting letter.
Select a page where you want to insert yellowpages2
Insert a new content element of type: General Plugin
On tab Plugin select Industry Directory from selectbox.
Confirm reload to load special input fields for our extension (FlexForm).
Save
Plugin Options
Choose View
You can select between List and Detail view
PID of detail page
If you want another Style for detail view it may make sense to move indistry directory onto another page.
Define its PID here.
PID of list page
If you have defined an PID for detail page, it may make sense to set this value within the plugin on detail page
to generate correct links back to this list page.
Preset trade
Select a trade to reduce the result on website to your selection on startup.
District
Reduce industry directory records on website to this district
Company Record
Select a Storage Page
Create a new record of type Company
Give it a title. We will use the first letter of title for our glossary navigation.
Enter a description and assign some trades to it.
By default you can insert up to 5 images, but only one logo.
Some general settings for yellowpages2 can be configured in Admin Tools -> Settings.
Tab: Basic
poiCollectionPid
Default: 0
Only valid, if you have installed EXT:maps2, too.
While creating location records we catch the address and automatically create a maps2 record
for you. Define a storage PID where we should store these records.
editLink
Default: empty
yellowpages2 comes with a scheduler task to invalidate records after 13 months. It informs
the customers to renew their entries after 12 months.
This information mail contains a link to review companies record.
Define a page UID where you have added the plugin to review the companies record.
emailFromAddress
Default: empty (use value from INSTALL_TOOL)
With yellowpages2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add an email address
of the sender, if a new record was created over the frontend.
emailFromName
Default: empty (use value from INSTALL_TOOL)
With yellowpages2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add a name
of the sender, if a new record was created over the frontend.
emailToAddress
Default: empty
With yellowpages2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add an email address
of the receiver, if a new record was created over the frontend.
emailToName
Default: empty
With yellowpages2 you can give your website visitors the possibility to create new
events. These created records will be hidden by default. Add a name
of the receiver, if a new record was created over the frontend.
If you have inserted the Industry Directory plugin for detail view onto another
page, you can set the PID of list page here to have correct links back to list view.
settings.userGroup
Default:
If you will allow for frontend users to create and edit their own business listings you have
assign them a frontend usergroup and add this group UID to this property.
yellowpages2 uses the SimplePagination from TYPO3 Core to navigate through
your records with first, previous, next and last buttons. If
you need something more complex like 1, 2 ... 56, 57, 58 ... 123, 124 you
should use another pagination library or build your own one. In the next steps
I explain you how to implement the numbered_pagination solution
of Georg Ringers.
Install numbered_pagination
Install and activate numbered_pagination extension from Georg
Ringer. Please check in your SitePackage extension that
numbered_pagination is set as a dependency and will be loaded
before yellowpages2 and your SitePackage.
If you update EXT:yellowpages2 to a newer version, please read this section carefully!
Upgrade to Version 7.0.0
This version is focussed on upgrading the compatibility version to TYPO3 version
12 LTS. We moved some extension functionalities from PSR-14 Event Listeners to
Middlewares as the request setArgument not possible anymore with TYPO3 version
12.
Upgrade to Version 6.1.0
If you make use of ModifyQueryToFindCompanyByLetterEvent or
ModifyQueryToSearchForCompaniesEvent event:
We have changed the strict type of TYPO3 QueryBuilder to extbase
QueryResult. Yes, this is a breaking change, but it seems that no one
makes use of it. Please adopt your code to use QueryResult. You can retrieve
the extbase query with method getQuery().
Upgrade to Version 6.0.0
As TYPO3 has deprecated the ObjectManager we have changed many properties in our
scheduler task Update yellowpages. Please remove that scheduler task completely
and create a new one of type Inform users to update their company record.
We have changed a lot of classes. Please click Flush Cache button in Installtool
to re-build the Dependency Injection cache.
If you have maps2 version 9 installed you have to override or change following
part in Properties.html from:
We have moved a lot of code of yellowpages2 controllers to EventListeners. Please flush cache in
maintenance module.
As a developer you should check, if you have overwritten some methods of MapController or CompanyController and
adopt them to new structure.
Upgrade to Version 4.0.0
We have removed column wsp_member as this column was a specific column for one of our customers. If you have used it
you have to add it back with help of EXT:extender.
We have removed column icon from table sys_category. That way we also have remove fallbackIconPath, too. If you have
used it you have to add it back with help of EXT:extender.
We are using the API of glossary2 now. Please check, if your own queries are still working.