Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Display Other information in Modal ?

More
IP: 193.33.149.192 6 years 9 months ago #5201 by rbuelund
Hi

I would like to show the "Other information" from the contacts in the Thrombinoscope Modal when clicking on a contact. How is that possible ??

Also - is there some kind of template for the modal to style the view ?
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 24.185.124.166 6 years 9 months ago #5202 by syw
Hello,

to show 'other information' when clicking on a contact, just use any of the links that show a contact in modals. The global configuration options for the Contact component or the Trombinoscope Contact component will determine the content of the modal. Just make it so it shows the minimum data, down to just the contact information.

If you use Trombinoscope for other forms, I would suggest you link the contacts to the 'show contact (no form) in modal (Joomla Contact)'. Like that, you use the core Contact component just for that purpose.

If any element remains and you don't want, you will need to use CSS to hide them.

As far as the modal view is concerned, the extension uses a layout you can override.
You can find the layout under your template settings, in the tab 'create overrides'. Go to the layouts section, com_trombinoscopeextended -> content. Once the override created, you will find the code under your template's html/layouts directory.
Modals use the component.php template file to show content.

Olivier.