BSIT-3-1-APPDEV / PUPSRC-AutomatedElectionSystem

iVOTE is a web-based voting application developed for the student academic organizations of PUP Sta. Rosa Campus.
https://ivote-pupsrc.com
4 stars 8 forks source link

feat: At3 160 adding faq configuration #279

Closed C-Ivan-Bandilla closed 1 month ago

C-Ivan-Bandilla commented 1 month ago

Table used

CREATE TABLE `faq` (
  `faq_id` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT,
  `seq` smallint(5) UNSIGNED NOT NULL,
  `question` text NOT NULL,
  `answer` mediumblob NOT NULL,
  PRIMARY KEY (`faq_id`),
);

Added

Limited client validation

Activity log not yet implemented

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 2.38.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

C-Ivan-Bandilla commented 1 month ago

Here is create-faq.php

NOTE that FAQ answer should be processed first unserialize($answer);

To display it properly will need setContents%3B-,setContents,-Overwrites%20editor%20with) Here is additional guide https://github.com/BSIT-3-1-APPDEV/PUPSRC-AutomatedElectionSystem/pull/184/files#:~:text=%3C/div%3E-,%3Cscript%3E,%3C/script%3E,-%3C/div%3E

  1. Press load diff in ballot-forms.php
  2. then repaste the link on address bar