0

I would like to display list of contacts from sub-categories in a category like this:

Main Category name:

 Sub-Category 1 name:
     Contact 1 details
     Contact 2 details etc
 Sub-category 2 name:
     Contact 3 details
     Contact 4 details etc

I cannot see a way of displaying all contacts in the sub-categories on the same page.

Somebody suggested creating a contact module for each sub-category and include these in an article. This sounds like a great idea but I do not have Contacts as an option when creating a new module so how can I create a module for the contact sub-category?

2

You would create the module independently, then either use the Joomla load module or Regular Labs Modules Anywhere to load within the article:

https://docs.joomla.org/How_do_you_put_a_module_inside_an_article

https://www.ostraining.com/blog/joomla/loadposition-loadmodule

https://www.regularlabs.com/extensions/modulesanywhere

For the module itself, here is a link to modules listed in the Contact Details category: https://extensions.joomla.org/extensions/extension/?searchall=&filter%5Btags%5D%5B%5D=&filter%5Bcore_catid%5D=198&filter%5Bincludes%5D=mod&dir=DESC&limitstart=&controller=filter&view=extension&layout=list&Itemid=145&clearorders=0&clearfilters=1

Looking through them quickly, it looks like the JoomlaXTC Contact Wall would do it. It has a lot of features you don't need, but looking at the options, it lets you adjust the module template. https://extensions.joomla.org/extensions/extension/contacts-and-feedback/contact-details/contact-wall/ http://demo.joomlaxtc.com/?extension=contactwall

The other option would be to do it similarly but with component views instead of separate modules. Take a look at Components Anywhere, also by RegularLabs. I am a big fan of all their extensions because they just work, without drama: https://www.regularlabs.com/extensions/componentsanywhere

  • The problem is I can't see how to create a module of type contacts in the first place. The options for new module does not incude contacts. – Kirsten Feb 3 '17 at 6:42
  • I updated my answer – YellowWebMonkey Feb 3 '17 at 12:18
  • Thanks for looking. I have had a look at these extensions already and none are suitable I think. The one you suggested looks overly complicated, is paid download only and does not implement the Joomla update system. I have created a separate menu item for each category of contacts for now. Not ideal but will have to do. – Kirsten Feb 4 '17 at 15:08
  • add other option to answer – YellowWebMonkey Feb 4 '17 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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