aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-03 15:19:39 -0800
committerMario Vavti <mario@mariovavti.com>2018-03-04 09:46:17 +0100
commit1eab488754abefa5e5b7a6b282f13351a4dc4f70 (patch)
tree85a221b9594cb188f398820bad001f8c5e174a7a
parent98e3e7ff9bb05b988ebbbb209ac6b9978a95d3e3 (diff)
downloadvolse-hubzilla-1eab488754abefa5e5b7a6b282f13351a4dc4f70.tar.gz
volse-hubzilla-1eab488754abefa5e5b7a6b282f13351a4dc4f70.tar.bz2
volse-hubzilla-1eab488754abefa5e5b7a6b282f13351a4dc4f70.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.php5
-rw-r--r--view/pdl/mod_thing.pdl7
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]