This article is not about how to create an override in Joomla. If you want more information about this, I recommand you to open this page.
This article is about how the content of this website is structured, how you can navigate through, how you can access the informations, etc. I also give some details about the way I've managed this project.
Maybe this city directory is not optimum for you, maybe you'll have done it in another way or maybe you simply love it. To be very honest, there is no truth here, it's just my way to do it. May this project inspire you.
To display the members of the city council, I've used com_contact. For a better structuration, I've created first a parent category and then 2 child categories with their respective descriptions.
Then I've added the members in each categories with these informations for each of them:
- Name and title: Duchesse Ewe
- County: District
Because I wanted these people to be searchable and related to their respective districts, I've added this information as a tag.
Because it is not possible to display contacts from more than one category, I've used the menu item Contacts Featured and set all the contacts as featured to present all the members of the City Council.
With an overide, I've also added the name of the contact to personalize the form:
To create the districts, I've simply used com_content: a district = an article. The list of the districts is generated with a blog menu item.
Each article is presented with the district relevant tag in it.
To display the list of the same tag contents, I've just created a Compact List of Tagged Items menu item.
In the right column, I've displayed several modules related to the article:
- Your district representatives: the contacts based on the same tag,
- In this district: the related articles based on the same keywords,
- Our districts: the others articles from the same category,
The directory of the activities has been created with com_content. First, I've create a parent category and I've added a child category for each activity.
Then, I've created a custom fields group Informations and 3 custom fields:
- Opening hours,
- Closing day,
These custom fields are only available for the article revelant of the selected categories.
For each article of the directory, I've only added:
- The tag of the district,
- The informations in the custom fields,
- The name of the district and the activity in the Meta Keywords tag,
To display the directory, I've created a menu item List of All Categories and selected the parent category created earlier.
Then, I've added 6 sub-menu to avoid a too long scroll with the 19 activities. These sub-menu are separator menu items.
At last, I've created a menu item Category Blog for each activity.
Now, the visitors can access to the list of any activity in Hornshadow with: the name, the address, the closing day, the opening hours and the district.
The search engine is the most important point of a city directory. Users must find quickly and easily the requested informations. To acheive this, I've used com_finder (of course).
Because I don't need categories and tags in the results, I've disabled these items from the indexed content to keep only articles and contacts. I don't need to create a search filter because I'll not use differents searches in this project (but it's possible to do, of course).
The setup of a search engine is pretty simple in Joomla:
- Index the content in com_finder,
- setup a menu item to display the results on a dedicaced page,
- setup a mod_finder module,
- then create your override to customize the frontend display!