1. chen-hui-ching
  2. Support
  3. Monday, August 22 2016, 03:04 PM
hello

if I want the Avatar image in Users List (Table) bigger and square(not circle), how can I do ?

and another question is complicated. it is about the multi language web.

my web is default in Chinese, and I will enable the multi language function in the future. another language is in English.

but my member information is in Chinese fields. such like name, company, phone...etc. it is ok when the web is in Chinese version.

if the user switch to the English version web, is it possible to let the member information displays the English fields (I have built some fields as the same as Chinese for English member information, two different fields group).

because my client ask me to meet the needs. I do not know how to solve it...

please give me some directions, thank you very much.
admin Accepted Answer
Admin
Hi,
if I want the Avatar image in Users List (Table) bigger and square(not circle), how can I do ?

you can remove a class that makes circle avatar in Components->Easy Profile->Avatar->Options Image field Tab->Class attribute parameter.
you can use simple CSS to set size of image like:

table.listusers img {
width: 200px;
}


and another question is complicated. it is about the multi language web.
Easy Profile use Joomla language manager, try to read docs at http://docs.easy-profile.com/index.php/article/translate-fields
  1. more than a month ago
  2. Support
  3. # 1
chen-hui-ching Accepted Answer
Pro
thank you.

I still have few questions about user list table...sorry for that..

1. about Avatar image, in page1 the avatar image width is 80px because I edit the template custom css, but in page3,4 and other pages why the image width is still 47px ? how to fix it ? is it possible to make all avatar image in all page the same width ?
in site details there is the screenshot1.png and screenshot2.png

2.in the table, can the content in the column be aligned to center vertically ?
in site details there is the screenshot3.png

3.in the member detail, how can I do some designs to custom my member detail table style ? just like the screenshot5.png displayed.
in site details there is the screenshot4.png and screenshot5.png

4.in the table, there is pagination under the table, how can I change the word ? although it is in Chinese but the word is not what I mean, I want to change the word, just like in English "next" I want to change it to "next page".
in site details there is the screenshot6.png

thank you very.
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,

1) the width of table columns is autosized based on content, in some page you have long names and in other short names. In your CSS template you have a more stronger rule that set width of image to 100% and ignore your rule. So to fix this you can use in your custom.css some code like this:

table.listusers img {
width: 80px;
max-width: none;
}


2) Yes, you can do this with CSS (also this is set by template CSS)

table.listusers td{
vertical-align:middle;
}


3) With CSS you can do this, for example to change background of your first column you can use this code:

table.listusers td:nth-child(1) {
background: #ccc !important;
}


4) Pagination not come from Easy Profile, it come directly from Joomla, so language strings are the same of Joomla. You can change language string value but this change all these string in all site (probably also on backend), you can override language string value from Administration->Extensions->Languages->Overrides and constants should be*:
- JLIB_HTML_START
- JPREV
- JNEXT
- JLIB_HTML_END

*it's possible that your template override Joomla pagination layout, so language strings may not be those above.
  1. more than a month ago
  2. Support
  3. # 3
  • Page :
  • 1


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