Tabs
Maintained by
José Puente Fuentes
Moodle filter which creates tabs in textfields
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Has anyone tested this wonderful filter with 2.8??
-Derek
it is not impossible, but I haven't tested it yet:
a) The staticpages don't have a context in which you could activate a filter. You would have to enable the filter for the whole moodle system at the moment. This is a performance question which you would have to answer yourself.
b) The staticpage plugin doesn't process filters when outputting the HTML content.
Go to /local/staticpage/view.php, search for
echo $html;
and replace it with
echo (format_string($html));
This should get it going basically. But as I told you, it isn't perfect regarding to performance. To improve that, one would have to modify the staticpage plugin to support contexts.
Alex
as you have also created a github issue on https://github.com/moodleuulm/moodle-filter_tabs/issues/2, let's discuss the problem there.
Alex
Hi Alexander,
Great plugin which improves the display of content a lot.
One question:
I've made an anchor on a tabbed page but linking to the anchor refers to the tabs front page and not to the part of the page related to the specified tab.
Is there a way to link directly to the page section under a specific Tab?
Thanks
Willem