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)
 
m (category, small re-writing)
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 (administrator)|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:
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. Done!
Line 100: Line 100:
** glossary filter
** glossary filter
** activity name filter
** activity name filter
[[Category:Filter]]

Revision as of 15:21, 29 August 2006

$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---
  • 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