{"id":33963119,"url":"https://github.com/vulcandigital/silverstripe-pagefeedback","last_synced_at":"2026-03-17T20:13:51.390Z","repository":{"id":57089229,"uuid":"89982422","full_name":"vulcandigital/silverstripe-pagefeedback","owner":"vulcandigital","description":"This module allows you to add a form to any page type for the purpose of accruing feedback about how a user perceives that page.","archived":false,"fork":false,"pushed_at":"2023-02-13T12:01:27.000Z","size":36,"stargazers_count":9,"open_issues_count":5,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T11:25:04.026Z","etag":null,"topics":["feedback","rating","silverstripe-4","vote"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vulcandigital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-02T02:20:05.000Z","updated_at":"2025-09-08T19:45:04.000Z","dependencies_parsed_at":"2022-08-20T16:00:33.472Z","dependency_job_id":null,"html_url":"https://github.com/vulcandigital/silverstripe-pagefeedback","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/vulcandigital/silverstripe-pagefeedback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcandigital%2Fsilverstripe-pagefeedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcandigital%2Fsilverstripe-pagefeedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcandigital%2Fsilverstripe-pagefeedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcandigital%2Fsilverstripe-pagefeedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vulcandigital","download_url":"https://codeload.github.com/vulcandigital/silverstripe-pagefeedback/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcandigital%2Fsilverstripe-pagefeedback/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30630317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["feedback","rating","silverstripe-4","vote"],"created_at":"2025-12-12T22:25:17.484Z","updated_at":"2026-03-17T20:13:51.382Z","avatar_url":"https://github.com/vulcandigital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/zanderwar/silverstripe-pagefeedback.svg?branch=master)](https://travis-ci.org/vulcandigital/silverstripe-pagefeedback)\n[![Latest Stable Version](https://poser.pugx.org/zanderwar/silverstripe-pagefeedback/v/stable)](https://packagist.org/packages/vulcandigital/silverstripe-pagefeedback)\n[![Latest Unstable Version](https://poser.pugx.org/vulcandigital/silverstripe-pagefeedback/v/unstable)](https://packagist.org/packages/vulcandigital/silverstripe-pagefeedback)\n[![Total Downloads](https://poser.pugx.org/zanderwar/silverstripe-pagefeedback/downloads)](https://packagist.org/packages/vulcandigital/silverstripe-pagefeedback)\n[![License](https://poser.pugx.org/zanderwar/silverstripe-pagefeedback/license)](https://packagist.org/packages/vulcandigital/silverstripe-pagefeedback)\n[![Monthly Downloads](https://poser.pugx.org/zanderwar/silverstripe-pagefeedback/d/monthly)](https://packagist.org/packages/vulcandigital/silverstripe-pagefeedback)\n\n# silverstripe-pagefeedback\n\nThis module allows you to add a form to any page type for the purpose of accruing feedback about how a user perceives that page.\n\nCommonly found on help desk pages under a label similar to \"How helpful did you find this page?\".\n\nIt allows the user to rate the page out of five (5) and allows them to optionally provide a comment\n\nThe users IP address and their PHP Session ID is recorded on a per-page basis so that a user can only submit feedback once for that specific page.\n\n## Requirements\n* silverstripe/cms: \"^4.0\"\n\n## Installation\n\nInstallation is supported via composer only:\n\n```\ncomposer require vulcandigital/silverstripe-pagefeedback \"^2\"\n```\n\n## Configuration\n\nThis module is predominantly both a `DataExtension` and a `Extension`. You must apply them on the page type(s) and their respective controller(s) where you wish to be able to render the feedback form.\n\nIf you wanted to enable it's functionality on all pages you would:\n\n```yml\nPage:\n  extensions:\n    - Vulcan\\PageFeedback\\Extensions\\PageFeedbackExtensions\n\nPageController:\n  extensions:\n    - Vulcan\\PageFeedback\\Extensions\\PageFeedbackControllerExtensions\n```\n\nor for a specific page type\n\n```yml\nVulcan\\UserDocs\\UserDocsPage:\n  extensions:\n    - Vulcan\\PageFeedback\\Extensions\\PageFeedbackExtension\n\nVulcan\\UserDocs\\UserDocsPageController:\n  extensions:\n    - Vulcan\\PageFeedback\\Extensions\\PageFeedbackControllerExtensions\n```\n\n## Modes\nBy default, the mode is set to \"form\" which will generate a form allowing a user to rate between 1-5 and optionally provide a comment\nAn alternate mode, \"thumbs\" is available which will generate a form containing two buttons `+1` and `-1`, which can be beautifully styled:\n\n![Thumbs Preview](https://i.imgur.com/RxHQQ2t.png)\n\nYou can change the mode via YML on the controllers of the pages you desire\n\n```\nVulcan\\UserDocs\\UserDocsPageController:\n    pagefeedback_mode: \"thumbs\"\n```\n\n#### Adding the form\n\nIn order for the form to show you will need to add `$PageFeedbackForm` into your template, in the location you wish for it to display.\n\ne.g.\n\n```html\n\u003cdiv id='myfeedbackform'\u003e\n    $PageFeedbackForm\n\u003c/div\u003e\n```\n\nIf you wish to hide the form if feedback has already been supplied by the user:\n\n```html\n\u003c% if not $GivenFeedback %\u003e\n\u003cdiv id='myfeedbackform'\u003e\n    $PageFeedbackForm\n\u003c/div\u003e\n\u003c% end_if %\u003e\n```\n\nIf you wish to display information about the feedback the user has provided:\n\n```html\n\u003c% if $GivenFeedback %\u003e\n    \u003c% with $GivenFeedback %\u003e\n    \u003cdiv id='myprovidedfeedback'\u003e\n        \u003c% if not $Rating %\u003e\n            Rating: $Rating\u003cbr/\u003e\n            Comment: $Comment\n        \u003c% else %\u003e\n            You gave this page a thumbs \u003cstrong\u003e$Thumbs\u003c/strong\u003e\n        \u003c% end_if %\u003e\n    \u003c/div\u003e\n    \u003c% end_with %\u003e\n\u003c% end_if %\u003e\n```\n## Features\n- Adds a \"Page Rating\" section to the CMS Page Editor\n- Adds a \"Page Feedback\" tab containing a `GridField` of all feedback for that specific page\n\n## Inspiration\n\nThe form is provided to you unstyled, but each of the five radio buttons on the form have a class of `pagefeedback-option-n` where `n` is `1` through to `5` for easier customisation (ie swap the radio buttons with smiley faces that have different expressions; sad through to happy)\n\n![Shopify Inspiration](http://i.imgur.com/FxtzPFJ.png)\n![Shopify Inspiration](http://i.imgur.com/YklTmRc.png)  \n\n(inspiration courtesy of shopify docs)\n\n## License\n\n[BSD-3-Clause](LICENSE.md) - [Vulcan Digital Ltd](https://vulcandigital.co.nz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulcandigital%2Fsilverstripe-pagefeedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvulcandigital%2Fsilverstripe-pagefeedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulcandigital%2Fsilverstripe-pagefeedback/lists"}