diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-03 15:19:39 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-03 15:19:39 -0800 |
commit | ca1022675c84c862e9ae3180a47360040b24e9e2 (patch) | |
tree | 8e9975f138d29aa2eacdd6f8c076410b910cf843 | |
parent | c3920116f2fbf994f63b8bf9d190b16699cb93c0 (diff) | |
download | volse-hubzilla-ca1022675c84c862e9ae3180a47360040b24e9e2.tar.gz volse-hubzilla-ca1022675c84c862e9ae3180a47360040b24e9e2.tar.bz2 volse-hubzilla-ca1022675c84c862e9ae3180a47360040b24e9e2.zip |
There was no pdl for mod_thing; add one because it's only a link away from profile creation and remains on that page until you go elsewhere and new members may need help to find their way out
-rw-r--r-- | Zotlabs/Module/Thing.php | 5 | ||||
-rw-r--r-- | view/pdl/mod_thing.pdl | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Zotlabs/Module/Thing.php b/Zotlabs/Module/Thing.php index f816632ab..c3d8ff802 100644 --- a/Zotlabs/Module/Thing.php +++ b/Zotlabs/Module/Thing.php @@ -20,6 +20,11 @@ class Thing extends \Zotlabs\Web\Controller { $channel = \App::get_channel(); + if($_SERVER['REQUEST_METHOD'] === 'GET' && argc() < 2) { + profile_load($channel['channel_address']); + } + + $term_hash = (($_REQUEST['term_hash']) ? $_REQUEST['term_hash'] : ''); $name = escape_tags($_REQUEST['term']); diff --git a/view/pdl/mod_thing.pdl b/view/pdl/mod_thing.pdl new file mode 100644 index 000000000..7e15fc869 --- /dev/null +++ b/view/pdl/mod_thing.pdl @@ -0,0 +1,7 @@ +[region=aside] +[widget=fullprofile][/widget] +[/region] +[region=right_aside] +[widget=notifications][/widget] +[widget=newmember][/widget] +[/region] |