1. online-today
  2. General
  3. Friday, October 30 2020, 03:52 PM
I made a easy profile user list table. In a column I added sometimes more than one information. Easy Profile puts them each in a new line. Is there a possibility to decide which information is grouped in one line?
E.g. postal code and city could be in one line but are put in two lines.
Accepted Answer
admin Accepted Answer
Admin
Hi,
there are 2 ways to do this:
1) Via CSS: each field have a own container with class name like alias of the field, so you can add a CSS code in your template like this
table.listusers .postal_code, table.listusers .city {display:inline-block}


2) You can create a field that contain the 2 fields inline by following these steps:
- Create a field of type HTML delimiter called "Address"
- Put in the description editor a code like this
{user postal_code displayed} {user city displayed}

- Set to not show this field in profile, edit profile, and registration pages, it will be used only in the users list
NOTE: The text like {user FIELD_ALIAS displayed} will be replaced by the corresponding field value of the displayed user, docs about content plugin http://docs.easy-profile.com/index.php/article/content-plugin, docs about HTML delimiter field type at http://docs.easy-profile.com/index.php/article/html-delimiter-field-type
  1. more than a month ago
  2. General
  3. # Permalink
online-today Accepted Answer
Great! - I chose the second way with the field type HTML delimiter.
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.