A client has content (i.e. articles and modules) which they wish to be displayed to a web site visitor based on their location (e.g. if visitor is in 'City A' show articles and modules for 'City A' and if client is in 'City B' show content and modules for 'City B').

How can this be accomplished in each of the following 2 scenarios

  1. Non-registered users based on IP address; and
  2. Registered users based on their user profile postal or zip code?

Does this require custom code or are there any specific extensions which available which can address the above requirements?


1 Answer 1

  • Advanced Module Manager has a thoughtful set of filters to show modules according several conditions. It can certainly help to dynamically show modules by country, region or state.

You can test the Free version to better know how it works. However, Geolocating (to assign modules by country, region or state) is a PRO feature. Also, the PRO version allows to integrate Extra fields or Custom PHP from the extended User Profile.

  • Concerning to Articles, Joomla does not have general Geolocation feature. Then, components cannot support it (unless they are built it for this specific purpouse). As a solution, Nonumber's Advanced Module Manager can be a gateway to display articles through modules. For example, Article Placed Anywhere module can help to replace the single article view. CON: Menu item options to configure component views are not going to be available for geolocation, only modules are going to be geolocated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.