Kunena 6.3.0 released
The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3
Solved [K5.0b4] Crypsis - Category Listing Avatars have no class, hardcoded width
- GJSchaller
- Topic Author
- Offline
- Premium Member
Less
More
7 years 11 months ago #1
by GJSchaller
Geoffrey Schaller
Technical Officer
Knight Realms
[K5.0b4] Crypsis - Category Listing Avatars have no class, hardcoded width was created by GJSchaller
I'm noticing in the Category Listing, that the Avatars on the Category listing lack a Class to be able to style them:
template.knightrealms.com/community/forums.html
<img class="none" src=" template.knightrealms.com/images/avatars/zz_knightrealms.jpg " width="144" height="144" alt="Onca's Avatar">
While we can use the surrounding items to style it, I would like to suggest that a kavatar class be applied to any Avatar appearances.
Also, the size seems to be hardcoded to 144 x 144 in the HTML - not sure if this is intended.
The sample site is using the CB plugin, if that impacts things.
template.knightrealms.com/community/forums.html
<img class="none" src=" template.knightrealms.com/images/avatars/zz_knightrealms.jpg " width="144" height="144" alt="Onca's Avatar">
While we can use the surrounding items to style it, I would like to suggest that a kavatar class be applied to any Avatar appearances.
Also, the size seems to be hardcoded to 144 x 144 in the HTML - not sure if this is intended.
The sample site is using the CB plugin, if that impacts things.
Geoffrey Schaller
Technical Officer
Knight Realms
Please Log in or Create an account to join the conversation.
7 years 11 months ago #2
by 810
Replied by 810 on topic [K5.0b4] Crypsis - Category Listing Avatars have no class, hardcoded width
Ok changed it, it was the name of the setting avatartype. So if you choose a other option, then it was correct.
144 is set in the xml file
template/config/template.xml
144 is set in the xml file
template/config/template.xml
Please Log in or Create an account to join the conversation.
- GJSchaller
- Topic Author
- Offline
- Premium Member
7 years 11 months ago #3
by GJSchaller
Geoffrey Schaller
Technical Officer
Knight Realms
Replied by GJSchaller on topic [K5.0b4] Crypsis - Category Listing Avatars have no class, hardcoded width
Thank you - is this a setting that is selected somewhere, or controlled by something else (like the CB plugin)?
I don't see a way to set the size using the Template config - should this be able to be set by the user / admin?
I don't see a way to set the size using the Template config - should this be able to be set by the user / admin?
Geoffrey Schaller
Technical Officer
Knight Realms
Please Log in or Create an account to join the conversation.
7 years 11 months ago #4
by 810
Replied by 810 on topic [K5.0b4] Crypsis - Category Listing Avatars have no class, hardcoded width
its now hard coded into the config.xml
Code:
<fieldset name="avatar">
<field name="avatarSizeX" default="40"/>
<field name="avatarSizeY" default="90"/>
<field name="templatebyText" default=""/>
<field name="templatebyName" default=""/>
<field name="templatebyLink" default=""/>
<!-- Required avatar sizes -->
<field name="avatarSizeXThumb" default="36"/>
<field name="avatarSizeYThumb" default="36"/>
<field name="avatarSizeXWelcome" default="72"/>
<field name="avatarSizeYWelcome" default="72"/>
<field name="avatarSizeXList" default="36"/>
<field name="avatarSizeYList" default="36"/>
<field name="avatarSizeXPost" default="144"/>
<field name="avatarSizeYPost" default="144"/>
<field name="avatarSizeXProfile" default="200"/>
<field name="avatarSizeYProfile" default="200"/>
</fieldset>
Please Log in or Create an account to join the conversation.
Time to create page: 0.505 seconds