Woodsman Posted August 30, 2015 Posted August 30, 2015 This theme design issue has been plaguing me for some time now and it is turning into an obsession. In 3.x We could call up a team icon per skin theme as so. How do I go about creating a field in 4.0.x? As of this moment it can't be done. Yes I can add this to the phtml template as so. html - forums - front - topics - postContainer.phtmlAdd after<li class='ipsResponsive_hidePhone'><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li>{{endif}}at or near line 39. <li class='{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )" raw="true"}'></li> But I have discovered that this is an impractical method and not the way to go for production themes. I have tried this also as a profile field as background-image: url( {resource="team_icons/admin.png" app="core" location="custom"} ); But for every attempt I get an error that it is invalid. So please bring this back.... For this I promise not to pick on Lindy's love for Chevy's.... OK that may be stretching it a bit on keeping that one. But I did type it without laughing.............................................................(much) Thanks- The Woodsman
Recommended Posts
Archived
This topic is now archived and is closed to further replies.