Comments (7)
Hi - if you look at this revised screenshot - the block title is: [[pluginname]] on the settings screen. So the title in the block is being drawn from this screen, which while correct is confusing. It looks to our customers / etc that its a missing language entry. If you could change the default to not use double brackets and perhaps put the name in, that would help reduce the confusion.
Thanks
from moodle-block_course_overview_campus.
Hi Derek,
I am fully aware that we are late with updating this plugin, but it is not dead yet.
Apart from this basic lag, could you please elaborate what you mean with "the pluginname on the block title is not translating properly"?
Thanks,
Alex
from moodle-block_course_overview_campus.
Hi Alex - I think your plugin is in great shape - except for this minor issue. I have attached a screen shot. Its Moodle 3.3 - cache has been cleared etc.
Let me know if you need anything else..
from moodle-block_course_overview_campus.
Hi Derek,
thank you for the screenshot. The added some clarification. However, I am confused how this can happen.
As you see, in https://github.com/moodleuulm/moodle-block_course_overview_campus/blob/master/lang/en/block_course_overview_campus.php#L67, there is a language pack entry for "pluginname".
On https://github.com/moodleuulm/moodle-block_course_overview_campus/blob/master/block_course_overview_campus.php#L52, the title of the block is set defined. It is set to a setting of the block which defaults back to the "pluginname" string as you can see on https://github.com/moodleuulm/moodle-block_course_overview_campus/blob/master/settings.php#L105.
So, if you installed the plugin correctly, the block should have a valid title.
Could you please re-install the block and check if this changes anything? Additionally, please turn on debugging to see if there are any debug messages added to the page when the block is shown.
Thanks,
Alex
from moodle-block_course_overview_campus.
Hi Alex - I think I found the problem. Its the settings when you install the plugin. There is a title that you can setup. See the attached screen shot
Thats where the issue is (I think)
from moodle-block_course_overview_campus.
Hi Derek,
sorry for the late reply.
Well, your screenshot is about theme_altitude and not about block_course_overview_campus. I simply don't understand what's the problem and what I should fix.
Again, could you please re-install the block and check if this changes anything? Additionally, please turn on debugging to see if there are any debug messages added to the page when the block is shown.
Thanks,
Alex
from moodle-block_course_overview_campus.
Hi Derek,
thank you for the screenshot. I understand now what the problem is. block_course_overview_campus took the pluginname string from block_course_overview as the default string for the block title. Back in the times when block_course_overview was part of Moodle core, this approach wasn't problematic (although block_course_overview should have been listed as dependency in version.php then).
Now that block_course_overview isn't there anymore from Moodle 3.3 on, this approach breaks.
This bug is now fixed in 1b946ac and will be part of the soon-to-be-released version 3.3 of this plugin.
Thanks,
Alex
from moodle-block_course_overview_campus.
Related Issues (20)
- Wrong id used for teacher filter HOT 4
- Eye icon not work HOT 1
- Notification : duplicate value - Debug Mode HOT 9
- Missing course category attribute HOT 1
- Suggestion: Students see list of all courses they are enrolled to, but can only access those available. HOT 2
- Bug: Refreshing VLE page shows category as empty HOT 13
- Suggestions HOT 4
- "Undefined variable: modchoices" error whenever I perform an upgrade HOT 2
- Problem with dropdown after logging back in HOT 3
- Error when users are enrolled in too many courses (or long course names) HOT 5
- pix_url is depraceted in Moodle 3.4 HOT 1
- User can see hidden categories HOT 1
- Moodle 3.5 compability? HOT 1
- Suggestion: Separate link for category/top category at course list output HOT 2
- PHP Notice: Undefined variable / PHP Warning: array_key_exists() expects parameter HOT 3
- Plugin breaks behat tests
- "No courses" text HOT 1
- Please add a "Reset filters" button HOT 3
- Remove course news functionality as it does not work anymore from Moodle 3.7 on HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-block_course_overview_campus.