RM 2.2 Remove author resource

Pardal

Active member
Hi! taking into account that I am the only one who adds resources, does anyone know how I can remove the name of the creator of the resources both in widgets, search results and in the resource manager itself?

I have a video game library and it is not interesting to see the name of the administrator who constantly uploads the games.

Thanks!
 
Anyone has any solution for this? I have been looking at different templates but couldn't find the right one.
I tried to remove the second line where it says the author, date, etc.

Screen Shot 2024-05-09 at 10.36.14 AM.webp
 
In template xfrm_resource_list_macros, remove this bit
PHP:
<ul class="structItem-parts">
                        <li><xf:username user="$resource.User" defaultname="{$resource.username}" /></li>
                        <li class="structItem-startDate"><a href="{{ link('resources', $resource) }}" rel="nofollow"><xf:date time="{$resource.resource_date}" /></a></li>
                        <xf:if is="!$category OR $category.hasChildren()">
                            <li><a href="{{ link('resources/categories', $resource.Category) }}">{$resource.Category.title}</a></li>
                        </xf:if>
 
Back
Top Bottom