DO NOT Convert URLs into links - in some certain pages

DO NOT Convert URLs into links - in some certain pages

by Mihir J -
Number of replies: 2

Hi

I am writing a custom block but becasue

Convert URLs into links filter is enabled, by default it converts, but for my certain page i do not want this filter to work..

is there is any code or something which i can put in the php page so that it does not get converted

thanks for your help!



Average of ratings: -
In reply to Mihir J

Re: DO NOT Convert URLs into links - in some certain pages

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Not really a development question.

You can enable or disable filters in different courses or activities as explained on https://docs.moodle.org/311/en/Managing_filters.

And, in the HTML editor toolbar, there is a 'Prevent auto-linking' button, which can be used like this: https://example.com/.
Average of ratings: Useful (2)
In reply to Tim Hunt

Re: DO NOT Convert URLs into links - in some certain pages

by Mihir J -
Hi Tim

Thanks for your message.
Actually I am creating a plugin where i processing a url which is stored in a table .
So when I render the url in my php page it automatically uses all system filters and then doing the render.
My question was specific to the php page, like lets say I don;t want to use some certain filters

Thanks again for all your help!
Regards