Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Filterall support: Difference between revisions

From MoodleDocs
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==$CFG->filterall support==
==$CFG->filterall support==


The goal for this page is to maintain the list of database fields being handled by filters when the filterall setting is enabled in Administration >> Configuration >> [[Filters (administrator)|Filters]].
The goal for this page is to maintain the list of database fields being handled by filters when the filterall setting is enabled in Administration >> Configuration >> [[Filters |Filters]].


Done! fields have been processed and they should work fine. If you find any problem with them, please submit a report to the [http://tracker.moodle.org/ tracker].
Done! fields have been processed and they should work fine. If you find any problem with them, please submit a report to the [http://tracker.moodle.org/ tracker].
Line 34: Line 34:
** glossary->name: <font color="green">Done!</font>
** glossary->name: <font color="green">Done!</font>
** ---glossary_entries->concept---
** ---glossary_entries->concept---
** ---glossary_categories->name---
** glossary_categories->name: <font color="green">Done!</font>
* Journal module:
* Journal module:
** journal->name: <font color="green">Done!</font>
** journal->name: <font color="green">Done!</font>
Line 79: Line 79:
==For review==
==For review==


* Recent activity block: Course updates. Done!
* Recent activity block: Course updates. <font color="green">Done!</font>
* Latest activities block. Done!
* Latest activities block. <font color="green">Done!</font>
* Name of activities in course page. Done!
* Name of activities in course page. <font color="green">Done!</font>
* course/recent.php. Done!
* course/recent.php. <font color="green">Done!</font>
* print_recent_mod_activity(). Done!
* print_recent_mod_activity(). <font color="green">Done!</font>
* course/grades.php (name of activities and downloads). Done!
* course/grades.php (name of activities and downloads). <font color="green">Done!</font>
* print_recent_activity_note(). Done!
* print_recent_activity_note(). <font color="green">Done!</font>
* course/user.php (different reports). Done!
* course/user.php (different reports). <font color="green">Done!</font>
* the "Jump to..." menu. Done!
* the "Jump to..." menu. <font color="green">Done!</font>
* Upcoming events block. Done!
* Upcoming events block. <font color="green">Done!</font>
* Jump to section (collapsed) menu. Done!
* Jump to section (collapsed) menu. <font color="green">Done!</font>
* Calendar block. Done!
* Calendar block. <font color="green">Done!</font>
* course/log.php. Done!
* course/log.php. <font color="green">Done!</font>
* Block: news_items: Done!
* Block: news_items: <font color="green">Done!</font>
* Block: glossary_random: Done!
* Block: glossary_random: <font color="green">Done!</font>
* Block: site_main_menu: Done!
* Block: site_main_menu: <font color="green">Done!</font>
* Block: social_activities: Done!
* Block: social_activities: <font color="green">Done!</font>
* Delete all the old if ($CFG->filterall) conditions, replacing as needed. Done!
* Delete all the old if ($CFG->filterall) conditions, replacing as needed. <font color="green">Done!</font>
* change filters to be able to extract proper terms to link supporting multilang tags:
* change filters to be able to extract proper terms to link supporting multilang tags:
** glossary filter
** glossary filter
** activity name filter
** activity name filter


[[Category:Filter]]
[[Category:Filter]]

Latest revision as of 23:47, 10 July 2011

$CFG->filterall support

The goal for this page is to maintain the list of database fields being handled by filters when the filterall setting is enabled in Administration >> Configuration >> Filters.

Done! fields have been processed and they should work fine. If you find any problem with them, please submit a report to the tracker.

Feel free to add your own fields if they, really, make sense (i.e. they must be short texts not processed currently by filters). Please mark them with three minus characters at the beginning and the end to be able to analyse them before processing.

Thanks!

List of fields

  • Assignment module:
    • assignment->name: Done!
  • Chat module:
    • chat->name: Done!
  • Choice module:
    • choice->name: Done!
    • choice->answer1: Done!
    • choice->answer2: Done!
    • choice->answer3: Done!
    • choice->answer4: Done!
    • choice->answer5: Done!
    • choice->answer6: Done!
    • new answers format in 1.5: Done!
  • Exercise module:
    • exercise->name: Done!
  • Forum module:
    • forum->name: Done!
    • post->subject: Done!
    • discussion->name: Done!
    • forum->intro: (by format_text()!) Done!
  • Glossary module:
    • glossary->name: Done!
    • ---glossary_entries->concept---
    • glossary_categories->name: Done!
  • Journal module:
    • journal->name: Done!
    • journal_entries->text: (by format_text()!) Done!
    • journal_entries->comment: (by format_text()!) Done!
  • Label module:
    • label->name: Done!
  • Lesson module:
    • lesson->name: Done!
    • lesson_pages->title: Done!
    • lesson_pages->contents: (by format_text()!) Done!
    • lesson_answers->answer (by format_text()!) Done!
    • lesson_answers->response (by format_text()!) Done!
  • Quiz module:
    • quiz->name: Done!
    • ---quiz_questions->name---
    • ---quiz_questions-->questiontext---
    • ---quiz_answers-->answer---
    • ---quiz_answers-->feedback---
    • ---quiz_categories->name---
    • ---quiz_categories->text---
  • Resource module:
    • resource->name: Done!
    • resource->summary: (by format_text()!) Done!
  • Scorm module:
    • scorm->name: Done!
  • Survey module:
    • survey->name: Done!
  • Wiki module:
    • wiki->name: Done!
  • Workshop module:
    • workshop->name: Done!
    • workshop_elements->description: (by format_text()!) Done!
  • Core: (these are really BIG updates; hundreds of changes. Not for 1.5!)
    • ---site->fullname---
    • ---course->fullname---
    • ---category->name---
    • event->name. Done!
  • Upcoming Events Block:
    • ---title of the events---
  • Calendar:
    • ---header of the events---

For review

  • Recent activity block: Course updates. Done!
  • Latest activities block. Done!
  • Name of activities in course page. Done!
  • course/recent.php. Done!
  • print_recent_mod_activity(). Done!
  • course/grades.php (name of activities and downloads). Done!
  • print_recent_activity_note(). Done!
  • course/user.php (different reports). Done!
  • the "Jump to..." menu. Done!
  • Upcoming events block. Done!
  • Jump to section (collapsed) menu. Done!
  • Calendar block. Done!
  • course/log.php. Done!
  • Block: news_items: Done!
  • Block: glossary_random: Done!
  • Block: site_main_menu: Done!
  • Block: social_activities: Done!
  • Delete all the old if ($CFG->filterall) conditions, replacing as needed. Done!
  • change filters to be able to extract proper terms to link supporting multilang tags:
    • glossary filter
    • activity name filter