• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RM 1.0 How do I remove the author and creation time from the resource index and category view?

Alfa1

Well-known member
#1
Does anyone know:

1. How do I remove the author and creation time from the resource index and category view?
2. How do I remove the author name from the 'top resources' block in the sidebar?
 

Chris D

XenForo developer
Staff member
#2
This would have to be done with template edits...

EDIT:

To remove author and create time from both areas, find this code in resource_list_item:
Code:
			<div class="resourceDetails muted"><xen:username user="{$resource}" />,
				<a href="{xen:link resources, $resource}" class="faint"><xen:datetime time="{$resource.resource_date}" /></a><xen:comment>
				</xen:comment><xen:if is="{$showCategoryTitle}">, <a href="{xen:link resources/categories, $resource}">{$resource.category_title}</a></xen:if>
			</div>
Replace with:

Code:
			<div class="resourceDetails muted"><xen:comment>
				</xen:comment><xen:if is="{$showCategoryTitle}">, <a href="{xen:link resources/categories, $resource}">{$resource.category_title}</a></xen:if>
			</div>
 

Alfa1

Well-known member
#3
Yes, I like how easy this is in XF, but I still need to get the hang of it. I could not find the appropriate templates yet.
Hopefully this can be done with an addon later on.
 

Chris D

XenForo developer
Staff member
#4
Yes, I like how easy this is in XF, but I still need to get the hang of it. I could not find the appropriate templates yet.
Sorry I always intended to tell you, I edited my post... oh the sidebar block...

EDIT:

resource_list_mini template

Find and remove this line:

Code:
<xen:username user="$resource" rich="true" class="username" />