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
(developer wiki transfer)
 
 
(7 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 under Administration/Configure/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 bug to the [http://moodle.org/bugs/ bug 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].


Feel free to add your own fields if they, really, have sense (think that 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.  
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!
Thanks!


And now, the list:
==List of fields==


* Assignment module:
* Assignment module:
** assignment->name: Done!
** assignment->name: <font color="green">Done!</font>
* Chat module:
* Chat module:
** chat->name: Done!
** chat->name: <font color="green">Done!</font>
* Choice module:
* Choice module:
** choice->name: Done!
** choice->name: <font color="green">Done!</font>
** choice->answer1: Done!
** choice->answer1: <font color="green">Done!</font>
** choice->answer2: Done!
** choice->answer2: <font color="green">Done!</font>
** choice->answer3: Done!
** choice->answer3: <font color="green">Done!</font>
** choice->answer4: Done!
** choice->answer4: <font color="green">Done!</font>
** choice->answer5: Done!
** choice->answer5: <font color="green">Done!</font>
** choice->answer6: Done!
** choice->answer6: <font color="green">Done!</font>
** new answers format in 1.5: Done!
** new answers format in 1.5: <font color="green">Done!</font>
* Exercise module:
* Exercise module:
** exercise->name: Done!
** exercise->name: <font color="green">Done!</font>
* Forum module:
* Forum module:
** forum->name: Done!
** forum->name: <font color="green">Done!</font>
** post->subject: Done!
** post->subject: <font color="green">Done!</font>
** discussion->name: Done!
** discussion->name: <font color="green">Done!</font>
** forum->intro: (by format_text()!) Done!
** forum->intro: (by format_text()!) <font color="green">Done!</font>
* Glossary module:
* Glossary module:
** glossary->name: Done!
** 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: Done!
** journal->name: <font color="green">Done!</font>
** journal_entries->text: (by format_text()!) Done!
** journal_entries->text: (by format_text()!) <font color="green">Done!</font>
** journal_entries->comment: (by format_text()!) Done!
** journal_entries->comment: (by format_text()!) <font color="green">Done!</font>
* Label module:
* Label module:
** label->name: Done!
** label->name: <font color="green">Done!</font>
* Lesson module:
* Lesson module:
** lesson->name: Done!
** lesson->name: <font color="green">Done!</font>
** lesson_pages->title: Done!
** lesson_pages->title: <font color="green">Done!</font>
** lesson_pages->contents: (by format_text()!) Done!
** lesson_pages->contents: (by format_text()!) <font color="green">Done!</font>
** lesson_answers->answer (by format_text()!) Done!
** lesson_answers->answer (by format_text()!) <font color="green">Done!</font>
** lesson_answers->response (by format_text()!) Done!
** lesson_answers->response (by format_text()!) <font color="green">Done!</font>
* Quiz module:
* Quiz module:
** quiz->name: Done!
** quiz->name: <font color="green">Done!</font>
** ---quiz_questions->name---
** ---quiz_questions->name---
** ---quiz_questions-->questiontext---
** ---quiz_questions-->questiontext---
Line 56: Line 56:
** ---quiz_categories->text---
** ---quiz_categories->text---
* Resource module:
* Resource module:
** resource->name: Done!
** resource->name: <font color="green">Done!</font>
** resource->summary: (by format_text()!) Done!
** resource->summary: (by format_text()!) <font color="green">Done!</font>
* Scorm module:
* Scorm module:
** scorm->name: Done!
** scorm->name: <font color="green">Done!</font>
* Survey module:
* Survey module:
** survey->name: Done!
** survey->name: <font color="green">Done!</font>
* Wiki module:
* Wiki module:
** wiki->name: Done!
** wiki->name: <font color="green">Done!</font>
* Workshop module:
* Workshop module:
** workshop->name: Done!
** workshop->name: <font color="green">Done!</font>
** workshop_elements->description: (by format_text()!) Done!
** workshop_elements->description: (by format_text()!) <font color="green">Done!</font>
* Core: (these are really BIG updates; hundreds of changes. Not for 1.5!)
* Core: (these are really BIG updates; hundreds of changes. Not for 1.5!)
** ---site->fullname---
** ---site->fullname---
** ---course->fullname---
** ---course->fullname---
** ---category->name---
** ---category->name---
** event->name. Done!
** event->name. <font color="green">Done!</font>
* Upcoming Events Block:
* Upcoming Events Block:
** ---title of the events---
** ---title of the events---
Line 77: Line 77:
** ---header of the events---
** ---header of the events---


And here it's a list of places to 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]]

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