Comments (5)
So this is a case where you've not configured a role or a custom URL, and you're using the block from inside a course, it will still return users who aren't enrolled on that course?
I'd be a bit concerned that having different behaviour for different users might be a cause for confusion. It's probably not obvious why clicking on one user would keep you in the course context while another would take you to the system context. I'd say either everyone's links should go to the site-wide profile by default, or it shouldn't return users from outside the course when you're using the block within a course.
from moodle-block_quickfindlist.
My thought was that everyone would get redirected to the site-wide profile. Would there be a reason not to?
from moodle-block_quickfindlist.
Where is the config->url set? There aren't config settings for the block (that I'm seeing)...
moodle-block_quickfindlist/block_quickfindlist.php
Lines 108 to 112 in 305e8b2
from moodle-block_quickfindlist.
Now there's an interesting thought. What if we made this an admin setting?
from moodle-block_quickfindlist.
Where is the config->url set? There aren't config settings for the block (that I'm seeing)...
It should be a per-instance config setting, on the same form that controls where the block appears etc.
from moodle-block_quickfindlist.
Related Issues (16)
- use permission is only checked in system context HOT 3
- get_context_instance() deprecated since, use context_xxxx::instance() instead. HOT 2
- some non-english characters not recognized HOT 1
- moodle 3.2 HOT 5
- Prevent quickfindlist block from being added when user isn't allowed to use it HOT 2
- "PHP Notice: pix_url is deprecated. Use image_url for images and pix_icon for icons." HOT 3
- pix_url is deprecated HOT 2
- Debugging: get_context_instance() is deprecated, please use context_xxxx::instance() instead. HOT 1
- Moodle 4 support HOT 1
- quickfindlist block throws sql error after adding to mymoodle page HOT 1
- support case-insensitive search HOT 2
- Add thumbnails to results
- can't search by idnumber HOT 3
- Strict Standards warning
- PATCH - No longer MySQL specific HOT 1
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_quickfindlist.