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

Leave a review

file different single Contact Layouts

More
4 months 2 weeks ago #5421 by marsu
different single Contact Layouts was created by marsu
Hi, I have the following problem.
I have contacts in two different categories. Now I want to make the Single Contact (2 Column) page for one category of contacts different from the contacts of the other category.
I can override the Single Contact page by creating a hidden menu item for each contact. I wonder if there is an easier way?
 

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

More
4 months 2 weeks ago #5422 by syw
Replied by syw on topic different single Contact Layouts
Hello,

it really depends on how different the two layouts need to be.
You have several options:

- use CSS to modify the layouts and hide fields,

- create a template override of the contact view in which you can add specific code by testing in which category the contact is (call it something different than the default),

- create menu items for each contact in the category where you have the least contacts (only do-able if you have just a few to deal with or else it will become a nightmare) - which is what you seem to be doing now.

Olivier.

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

Free Extensions Support Membership
$12 $9.95
  • 3 months personal help
  • support future developments
  • 30% renewal discount
Sign up now!
Extensions bundle license
$294.50 $99
  • 12 months support (forum & email)
  • 12 months updates
  • all free & pro extensions
  • unlimited sites
  • 30% renewal discount
Get the deal!