Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #66: Add template for search #133

Open
wants to merge 1 commit into
base: MOODLE_401_STABLE
Choose a base branch
from

Conversation

TomoTsuyuki
Copy link
Contributor

@TomoTsuyuki TomoTsuyuki commented Oct 17, 2024

Include a template area for searching.

Testing instruction

  • Go to "Site administration" > "General" > "Advanced features".
  • Enable Global search.
  • Go to "Site administration" > "Plugins" > "Activity modules" > "CMS" > "Manage content types"
  • Click "Add new content type".
  • Set "Template test" in "Name", "test" in "ID Number", "Template test" in "Name" under "Activity fields", and "{{name}} Testsearchstring" in "Content" under "Activity field".
  • Click "Save and display" and confirm the "Some name Testsearchstring" is in "Preview"
  • Create a course.
  • Turn on "Edit mode" and add "Template test" CMS activity.
  • Go to "Site administration" > "Plugin" > "Search" > "Search areas".
  • Click "Gradual reindex" for cms activity, and run "Global search indexing" schedule task.
  • Search "Testsearchstring" in global search box.
  • Confirm the "Testsearchstring" is in the result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant