XF 2.x XFRM custom styling question

Ludachris

Customer
If you were trying to change the RM resource item page, in terms of how the "icon photo" displays, where would you do that exactly in 2.1? I've been looking through templates and cannot find it. I want to make it so the icon photo displays within the Description. I also want to change it so that the icon photo doesn't disappear on mobile on that page, and instead displays just above the Description. But I'm a little lost. Any help would be appreciated. I can send some Paypal funds if needed for time and effort with this.
 

Russ

Pixel Exit Staff
Like you want the icon to be inside the "overview" tab text area? Or somewhere else? Could you screenshot it?

The template where the icon is found: xfrm_resource_wrapper_macros

Mainly this part:

Code:
                <xf:if is="$xf.options.xfrmAllowIcons">
                    {{ resource_icon($resource, 's') }}
                <xf:else />
                    <xf:avatar user="{$resource.User}" size="s" />
                </xf:if>
 

Ludachris

Customer
Like you want the icon to be inside the "overview" tab text area? Or somewhere else? Could you screenshot it?

The template where the icon is found: xfrm_resource_wrapper_macros

Mainly this part:

Code:
                <xf:if is="$xf.options.xfrmAllowIcons">
                    {{ resource_icon($resource, 's') }}
                <xf:else />
                    <xf:avatar user="{$resource.User}" size="s" />
                </xf:if>
Yes, I think that's what I'm trying to do. Here's a screenshot. Th icon is circled and the arrow points to where I'm trying to move it.

9433
 

Russ

Pixel Exit Staff
So in xfrm_resource_view

find:
Code:
<article class="resourceBody-main js-lbContainer">
Add right after:
Code:
                <xf:if is="$xf.options.xfrmAllowIcons">
                    {{ resource_icon($resource, 's') }}
                <xf:else />
                    <xf:avatar user="{$resource.User}" size="s" />
                </xf:if>
That will literally stick the icon in that area down there.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.