marxjohnson / moodle-block_quickcourselist

Moodle block providing a quick method of searching course pages
http://moodle.org/mod/data/view.php?d=13&rid=2334
6 stars 7 forks source link

The Block is not visible for students an trainers #11

Open juerghoerner opened 8 years ago

juerghoerner commented 8 years ago

I installed the block in moodle version 3.1.

For the admin the block is visible and works well. Neither students nor teacher can see the block.

If I look the permissions for the block the following message appears: Invalid get_string() identifier: 'quickcourselist:addinstance' or component 'block_quickcourselist'. Perhaps you are missing $string['quickcourselist:addinstance'] = ''; in /var/www/lms.alte-kanti-aarau.ch/moodle/blocks/quickcourselist/lang/en/block_quickcourselist.php? line 349 of /lib/classes/string_manager_standard.php: call to debugging() line 6836 of /lib/moodlelib.php: call to core_string_manager_standard->get_string() line 3034 of /lib/accesslib.php: call to get_string() line 172 of /admin/roles/classes/permissions_table.php: call to get_capability_string() line 109 of /admin/roles/classes/capability_table_base.php: call to core_role_permissions_table->get_row_attributes() line 216 of /admin/roles/permissions.php: call to core_role_capability_table_base->display() Invalid get_string() identifier: 'quickcourselist:addinstance' or component 'block_quickcourselist'. Perhaps you are missing $string['quickcourselist:addinstance'] = ''; in /var/www/lms.alte-kanti-aarau.ch/moodle/blocks/quickcourselist/lang/en/block_quickcourselist.php? line 349 of /lib/classes/string_manager_standard.php: call to debugging() line 6836 of /lib/moodlelib.php: call to core_string_manager_standard->get_string() line 3034 of /lib/accesslib.php: call to get_string() line 2879 of /lib/accesslib.php: call to get_capability_string() line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link() line 216 of /admin/roles/permissions.php: call to core_role_capability_table_base->display()

juerghoerner commented 8 years ago

Teacher and students can t see the block now. In Assign roles in System Checked.

I could solve, that de message abvoe disappears. copied the two following strings in /moodle/blocks/quickcourselist/lang/en/block_quickcourselist.php? en and de. uninstalled and installed the block again. $string['quickcourselist:addinstance'] = 'Add a new Quickcourslist block'; $string['quickcourselist:myaddinstance'] = 'Add a new Quickcourslist block to Dashboard';

icidev commented 4 years ago

hello i've been following your step by step, but student still can't view this block, any ideas?