-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07fdf34
commit 8d27364
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# ResultFeedback | ||
This module adds an enhanced feedback form that can be configured via config file. | ||
|
||
## Usage | ||
Integrate the module in the `modules` directory of VuFind and activate it by adding `ResultFeedback` to `VUFIND_LOCAL_MODULES`. | ||
When adding the module manually make sure to copy and adapt the config file and copy/symlink the theme. | ||
|
||
Add the following line to your template to link to the feedback form: | ||
```php | ||
<a href="<?=$this->url('resultfeedback-email').'?id='.$this->driver->getUniqueId().'&searchclassid='.$this->searchClassId?>">Contact us about this title</a> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[resultFeedback] | ||
user_types[] = User type 1 | ||
user_types[] = User type 2 | ||
|
||
recipient_email = "[email protected]" | ||
recipient_name = "Example Host" | ||
email_subject = "Mail from result feedback form" | ||
sender_email = "[email protected]" | ||
sender_name = "Example Host" | ||
|
||
set_user_email_as_reply_to = true | ||
set_user_email_as_cc = true | ||
|
||
base_url_Solr = "https://example.com/vufind/Record/" | ||
base_url_Search2 = "https://example.com/vufind/Search2Record/" | ||
|
||
ip_local_network[] = 192.168.178 |