We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24952f0 commit 4b050f3Copy full SHA for 4b050f3
helper.php
@@ -53,7 +53,10 @@ public static function getLabelText($field) {
53
54
public static function getFieldLayout($type) {
55
$return = '';
56
- if (file_exists(JPATH_SITE . '/modules/mod_jdsimplecontactform/layouts/fields/' . $type . '.php')) {
+ if (file_exists(JPATH_SITE . '/modules/mod_jdsimplecontactform/layouts/fields/' . $type . '-custom.php')) {
57
+ // For adding custom files
58
+ $return = $type . '-custom';
59
+ } else if (file_exists(JPATH_SITE . '/modules/mod_jdsimplecontactform/layouts/fields/' . $type . '.php')) {
60
$return = $type;
61
} else {
62
$return = 'text';
0 commit comments