Skip to content

Commit

Permalink
Refactored KunenaDiscuss for j4 (#294)
Browse files Browse the repository at this point in the history
* Draft Version (working)

* remove Kunena hardcoded template dependency > use plugin tml instead

* Added tmpl file for links

* fix: get params when no messages / topics

* Fix readme required while logged in

* workaround Joomla captcha validation rule on article page defaulting to no captcha, implement messages on form

* add error / success messages also to form for logged in user

* Change: make name on form reuired

* remove debug and add dist package

* Fix issue for posting with account

* code style

* remove (temp) dist directory
  • Loading branch information
Ruud68 authored Jun 15, 2022
1 parent 72756b2 commit 31ebee3
Show file tree
Hide file tree
Showing 22 changed files with 1,811 additions and 2,006 deletions.
352 changes: 0 additions & 352 deletions plugins/content/kunenadiscuss/css/discussb2.css

This file was deleted.

11 changes: 11 additions & 0 deletions plugins/content/kunenadiscuss/forms/kunenadiscuss.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<form>
<fieldset name="kunenadiscuss">
<field name="name" type="text" label="PLG_KUNENADISCUSS_NAME" size="30" filter="string" required="true" default="" />
<field name="email" type="email" label="PLG_KUNENADISCUSS_EMAIL" size="30" filter="string" autocomplete="email" required="true" default="" />
<field name="message" type="textarea" label="PLG_KUNENADISCUSS_MESSAGE" cols="50" rows="10" filter="string" required="true" default="" />
</fieldset>
<fieldset name="captcha">
<field name="captcha" type="captcha" label="PLG_KUNENADISCUSS_CAPTCHA" validate="captcha" />
</fieldset>
</form>
Loading

0 comments on commit 31ebee3

Please sign in to comment.