moodle-filter_filtercodes
moodle-filter_filtercodes copied to clipboard
Feature request: {courseactivityname}
Hello Michael,
I wonder if the filter {instancename} would be possible within the scope of the plugin? In practice this new filter will bring the name of the created resource. In the example of the image I added the resource "page" and inside it I already bring the section information as you guided me by {sectionname}, however as there are many subclasses, I would like the filter to bring the name of the resource / activity created. Thank you in advance for your help.
PS: In the attachment I'm editing a resource "page" and I would like the filter to bring the name I defined for this one.
Hi @brunohcury ,
Is it the name of the activity that you want?
If so, can you give me a real-life example of how you would use it? Isn't the activity name already part of the page heading?
Best regards,
Michael
Hello Michael, Thanks for your return.
Yes, it's the name of the activity I'm accessing that I need to return.
The Activity/Resource Title actually comes more in the header of the page, in this course I've hidden the default title to use it in a more personalized way for my realities. In this case, I'm bringing in the title of the activity the "section name" - "name of the title of this resource".
Below is an image that illustrates this use:
PS: Sorry for the draft.
Michael, How are you my friend? About this request, do you know if there was a possibility to include it in the "roadmap"?
Michael, all right! My friend, can you tell me if this function already exists in FilterCodes?
Thank you very much in advance