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

RM 1.1 default check - upload resource icon & Does not have a file

Brogan

XenForo moderator
Staff member
#2
You will need to edit the resource_add template.

For the first one though, why don't you disallow uploaded files?

For the icon:
Code:
<label><input type="checkbox" name="edit_icon" value="1" checked="checked" /> {xen:phrase upload_resource_icon}</label>
 
#3
Thank you for the reply. I am not able to figure out what need to be changed in the template to default check - upload resource icon and "Does not have a file" options.
 
#5
Thank a lot @Brogan

1) I still want to upload files but only <5% resources have files and the reason I would like to have "Does not have a file" auto checked.


You will need to edit the resource_add template.

For the first one though, why don't you disallow uploaded files?

For the icon:
Code:
<label><input type="checkbox" name="edit_icon" value="1" checked="checked" /> {xen:phrase upload_resource_icon}</label>
 

Brogan

XenForo moderator
Staff member
#6
Change this:
Code:
<li><label><input type="radio" name="resource_file_type" value="fileless" {xen:checked '{$resourceType} == "fileless"'} /> {xen:phrase does_not_have_file}</label>
To this:
Code:
<li><label><input type="radio" name="resource_file_type" value="fileless" checked="checked" /> {xen:phrase does_not_have_file}</label>