Social Business content module to add business listings to Open Social

Created on 22 July 2024, 4 months ago

I want to offer my small town community the opportunity to create a free business listing.
I cloned/copy/pasted/modified the social topics module into a social business module. Sticking to the open social standards.

The module will install a business content type and a Business Vocabulary preloaded with the following terms.
Accommodation
Restaurants
Services
Things To Do

I added the following fields to the business content type:
location
Address
phone
Website

I added the following templates:
hero
teaser
featured
small-teaser

Node Add Business

Business Node

Mobile and Desktop views

Business teaser

Search pages and All businesses view

Business featured on landing page

Business small-teaser

Business comment activity

What is next?

How can I offer this module to the community?
Must I load it to my github account or can I attach it here?
The module installs currently with no errors in the log. I cant believe it myself :)

There are currently 2 issues
1. There is no icon-business (I created one and added to the icon folder and icon list)
3. The term Name and term icon does not get displayed the same way the topic module does. (not sure where the icon render magic lies)

The topic module will display "Blog and icon" if you select the "blog term"
But my module does not want to display "Accommodation and icon" if you select the "accommodation term"
I suspect it is a missing library attach before the icon get rendered.
But I defiantly need help to get the icons working.

Please let me know what you think of this idea.

🌱 Plan
Status

Active

Version

13.0

Component

Other

Created by

πŸ‡ΏπŸ‡¦South Africa vlooi vlerke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024