Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Display Other information in Modal ?

More
4 years 9 months ago #5201 by rbuelund
Display Other information in Modal ? was created 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 ?

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #5202 by syw
Replied by syw on topic Display Other information in Modal ?
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.

Please Log in or Create an account to join the conversation.