cover photo

Hubzilla Development

neue medienordnung plus
  last edited: Sun, 12 Nov 2017 05:20:46 -0500  
Mario Vavti
@neue medienordnung plus because i forgot to mention the dev forum. Sorry for that...

Andrew Manning
I'm confused about creating a new system app icon for the wiki module. I created a wiki.apd and wiki.png under /app, and added 'Wiki' => t('Wiki') in Apps::translate_system_apps() but I'm not seeing an icon/link. When I probe the pconfig I get this error:

$[b]util/pconfig system apps_installed[/b]
PHP Warning:  Illegal string offset 'app' in /var/www/include/config.php on line 224
PHP Warning:  Invalid argument supplied for foreach() in /var/www/util/pconfig on line 69

Also, the app does not appear in the app table:
mysql> select * from app where app_name = "Wiki"\G
Empty set (0.00 sec)

Mike Macgirvin
Oh yeah. pconfig requires a channel_id.
Mike Macgirvin
Should be able to discover and display these with latest dev code.
Andrew Manning
Thanks Mike