Difference between revisions of "Talk:Resource types"

From MoodleDocs
Line 2: Line 2:
 
* To avoid "[ [resourcetypenew] ]" on "Adding a new Resource to topic" page and course page Add a resource... dropdown, modify lang/en_utf8/resource.php (or other specific language file?) to include:
 
* To avoid "[ [resourcetypenew] ]" on "Adding a new Resource to topic" page and course page Add a resource... dropdown, modify lang/en_utf8/resource.php (or other specific language file?) to include:
 
<code>
 
<code>
$string['resourcetypenew'] = Create my new resource;
+
$string['resourcetypenew'] = "Create my new resource";
 
</code>
 
</code>
 
[[User:Paul Maguire|Paul Maguire]] 21:30, 28 January 2010 (UTC)
 
[[User:Paul Maguire|Paul Maguire]] 21:30, 28 January 2010 (UTC)
 
* To customize the icon associated with your new resource type, visit '''/mod/resource/lib.php''' - '''resource_get_coursemodule_info(...)'''
 
* To customize the icon associated with your new resource type, visit '''/mod/resource/lib.php''' - '''resource_get_coursemodule_info(...)'''
 
[[User:Paul Maguire|Paul Maguire]] 21:50, 28 January 2010 (UTC)
 
[[User:Paul Maguire|Paul Maguire]] 21:50, 28 January 2010 (UTC)

Revision as of 19:21, 11 February 2010

Further suggestions

  • To avoid "[ [resourcetypenew] ]" on "Adding a new Resource to topic" page and course page Add a resource... dropdown, modify lang/en_utf8/resource.php (or other specific language file?) to include:

$string['resourcetypenew'] = "Create my new resource"; Paul Maguire 21:30, 28 January 2010 (UTC)

  • To customize the icon associated with your new resource type, visit /mod/resource/lib.php - resource_get_coursemodule_info(...)

Paul Maguire 21:50, 28 January 2010 (UTC)