From 50fb525b280069e4a95f9ae133b15460e8b02318 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 4 May 2016 17:35:27 -0700 Subject: add categories to apps (wip) --- view/tpl/app_create.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view') diff --git a/view/tpl/app_create.tpl b/view/tpl/app_create.tpl index 0590e7031..06fbcaaa7 100644 --- a/view/tpl/app_create.tpl +++ b/view/tpl/app_create.tpl @@ -17,6 +17,7 @@ {{include file="field_input.tpl" field=$name}} +{{include file="field_input.tpl" field=$categories}} {{include file="field_input.tpl" field=$url}} {{include file="field_textarea.tpl" field=$desc}} {{include file="field_input.tpl" field=$photo}} -- cgit v1.2.3 From 566667a263abd6f4b2a8a24579323e65d0016d7c Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 4 May 2016 18:27:46 -0700 Subject: provide a tag cloud for app categories and allow filtering apps from this --- view/pdl/mod_apps.pdl | 1 + view/tpl/myapps.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/pdl/mod_apps.pdl b/view/pdl/mod_apps.pdl index db93958a3..4cc036fa5 100644 --- a/view/pdl/mod_apps.pdl +++ b/view/pdl/mod_apps.pdl @@ -1,3 +1,4 @@ [region=aside] [widget=appselect][/widget] +[widget=appcloud][/widget] [/region] diff --git a/view/tpl/myapps.tpl b/view/tpl/myapps.tpl index 32d544a86..c654993b7 100755 --- a/view/tpl/myapps.tpl +++ b/view/tpl/myapps.tpl @@ -1,5 +1,5 @@
-

{{$title}}

+

{{$title}}{{$cat}}

{{foreach $apps as $ap}} {{$ap}} -- cgit v1.2.3 From 8ffdc4859baa9f2ae9567a4c443dfbb227919167 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 5 May 2016 00:45:38 -0700 Subject: replace app tagcloud with more traditional categories widget. One can always change this in the PDL --- view/pdl/mod_apps.pdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') diff --git a/view/pdl/mod_apps.pdl b/view/pdl/mod_apps.pdl index 4cc036fa5..32fef28e9 100644 --- a/view/pdl/mod_apps.pdl +++ b/view/pdl/mod_apps.pdl @@ -1,4 +1,4 @@ [region=aside] [widget=appselect][/widget] -[widget=appcloud][/widget] +[widget=appcategories][/widget] [/region] -- cgit v1.2.3