From 8cb9ffca96dcfd7c3ecdbe7e05e0636c9d3454cb Mon Sep 17 00:00:00 2001 From: Lakhan Mandloi Date: Thu, 21 Jun 2018 11:13:30 +0530 Subject: [PATCH] Issue #17 fix: Slugify urls --- _config.yml | 2 +- _includes/meta.html | 2 +- _posts/2017-01-17-com-api-introduction.md | 1 + _posts/2017-01-17-com-api-plugin-development.md | 1 + _posts/2017-09-15-com-api-making-api-calls.md | 1 + _posts/2017-09-15-tjreports-architecture-overview.md | 1 + _posts/2017-09-15-tjreports-integration-guide.md | 1 + _posts/2017-09-15-tjreports-writing-a-plugin.md | 1 + _posts/2017-09-16-hierarchy-manager-overview.md | 1 + _posts/2017-09-16-tc-manager-overview.md | 1 + .../2018-02-09-tjreports-reports-with-dynamic-columns.md | 7 ++++++- categories/api.html | 2 +- categories/hierarchy-management.html | 2 +- categories/tc-manager.html | 2 +- categories/tj-reports.html | 2 +- index.html | 2 +- 16 files changed, 21 insertions(+), 8 deletions(-) diff --git a/_config.yml b/_config.yml index f9e0907..14eb043 100644 --- a/_config.yml +++ b/_config.yml @@ -23,7 +23,7 @@ social: # ----- # Build -permalink: /:categories/:title/ +permalink: /:categories/:slug:output_ext gems: - jekyll-sitemap diff --git a/_includes/meta.html b/_includes/meta.html index c188854..ba0e138 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -18,7 +18,7 @@ {% assign categories = page.categories %} {% for category in categories %} - folder {{ category }} + folder {{ category }} {% endfor %} diff --git a/_posts/2017-01-17-com-api-introduction.md b/_posts/2017-01-17-com-api-introduction.md index 975c3da..bffdbba 100644 --- a/_posts/2017-01-17-com-api-introduction.md +++ b/_posts/2017-01-17-com-api-introduction.md @@ -12,6 +12,7 @@ nav_ordering: 1 showSidebar: true published: true pageTitle: "REST API framework for Joomla" +permalink: joomla-rest-api/com-api-introduction.html --- diff --git a/_posts/2017-01-17-com-api-plugin-development.md b/_posts/2017-01-17-com-api-plugin-development.md index 313fcbd..2f4cf5b 100644 --- a/_posts/2017-01-17-com-api-plugin-development.md +++ b/_posts/2017-01-17-com-api-plugin-development.md @@ -12,6 +12,7 @@ nav_ordering: 2 showSidebar: true published: true pageTitle: "Writing your own API Plugin" +permalink: joomla-rest-api/com-api-plugin-development.html --- Each resource supports the GET, POST and DELETE operations. These are exposed by creating methods of the same name, i.e. `get()` `post()` and `delete()` in each of the resources. If a resouce URL is accessed via HTTP POST, the post() method is called, and similarly for the rest. diff --git a/_posts/2017-09-15-com-api-making-api-calls.md b/_posts/2017-09-15-com-api-making-api-calls.md index 25f2fb6..9794d0d 100644 --- a/_posts/2017-09-15-com-api-making-api-calls.md +++ b/_posts/2017-09-15-com-api-making-api-calls.md @@ -11,6 +11,7 @@ showSidebar: true published: true nav_ordering: 3 pageTitle: "Calling API resources" +permalink: joomla-rest-api/com-api-making-api-calls.html --- diff --git a/_posts/2017-09-15-tjreports-architecture-overview.md b/_posts/2017-09-15-tjreports-architecture-overview.md index 7f71ac2..f812e32 100644 --- a/_posts/2017-09-15-tjreports-architecture-overview.md +++ b/_posts/2017-09-15-tjreports-architecture-overview.md @@ -11,6 +11,7 @@ showSidebar: true published: true nav_ordering: 1 pageTitle: "TJ Reports : Architecture Overview" +permalink: tj-reports/tjreports-architecture-overview.html --- In terms of data structure, the TJ Reports framework is a Joomla MVC List view, with added features for saving queries, modifying columns and dynamic filters. Since reports are typically tabular data, reusing existing list view infrastructure was an obvious choice. So under the hood, it simply extends JModelList. The key difference is that instead of a single model, the framework allows plugins to extend the base reports model and provide a query or list for the report. diff --git a/_posts/2017-09-15-tjreports-integration-guide.md b/_posts/2017-09-15-tjreports-integration-guide.md index 9057030..2e071c4 100644 --- a/_posts/2017-09-15-tjreports-integration-guide.md +++ b/_posts/2017-09-15-tjreports-integration-guide.md @@ -11,6 +11,7 @@ showSidebar: true published: true nav_ordering: 2 pageTitle: "TJ Reports Integration Guide" +permalink: tj-reports/tjreports-integration-guide.html --- diff --git a/_posts/2017-09-15-tjreports-writing-a-plugin.md b/_posts/2017-09-15-tjreports-writing-a-plugin.md index 0d0a8be..5adadda 100644 --- a/_posts/2017-09-15-tjreports-writing-a-plugin.md +++ b/_posts/2017-09-15-tjreports-writing-a-plugin.md @@ -11,6 +11,7 @@ showSidebar: true published: true nav_ordering: 3 pageTitle: "Example Report Plugin" +permalink: tj-reports/tjreports-writing-a-plugin.html --- The plugin type for TJ Reports plugins is `tjreports`. diff --git a/_posts/2017-09-16-hierarchy-manager-overview.md b/_posts/2017-09-16-hierarchy-manager-overview.md index 999e5d5..1d8d6be 100644 --- a/_posts/2017-09-16-hierarchy-manager-overview.md +++ b/_posts/2017-09-16-hierarchy-manager-overview.md @@ -12,6 +12,7 @@ nav_ordering: 1 showSidebar: true published: true pageTitle: "Hierarchy Management" +permalink: hierarchy-management/hierarchy-manager-overview.html --- diff --git a/_posts/2017-09-16-tc-manager-overview.md b/_posts/2017-09-16-tc-manager-overview.md index 4d6bf98..8fef2e6 100644 --- a/_posts/2017-09-16-tc-manager-overview.md +++ b/_posts/2017-09-16-tc-manager-overview.md @@ -11,6 +11,7 @@ nav_ordering: 1 showSidebar: true published: true pageTitle: "Terms & Conditions Manager" +permalink: t-c-manager/tc-manager-overview.html --- Terms & Conditions Manager is used to force users to accept the T&C before they can start using the site, or a part of the site. diff --git a/_posts/2018-02-09-tjreports-reports-with-dynamic-columns.md b/_posts/2018-02-09-tjreports-reports-with-dynamic-columns.md index 4f02340..9418c0d 100644 --- a/_posts/2018-02-09-tjreports-reports-with-dynamic-columns.md +++ b/_posts/2018-02-09-tjreports-reports-with-dynamic-columns.md @@ -1,15 +1,20 @@ --- date: 2018-02-09 title: Reports with dynamic columns +description: Reports with dynamic columns categories: - TJ Reports tags: - Joomla - tjreports type: Document +showSidebar: true +published: true +nav_ordering: 4 +pageTitle: "Reports with dynamic columns" +permalink: tj-reports/reports-with-dynamic-columns.html --- -# Reports with dynamic columns In this type of a report, there may be one or more fixed columns and one or more columns that change based on a filter value. An example is the plugin for RSForm, where the report shows the list of responses once a form is selected. There are a few of fixed columns like date and submitter, but the rest of the columns are dynamically shown based on the fields in the selected form. Such a report can be easily achieved by setting or overriding the `columns` property after knowing the results, say in the `getItems()` method. A limitation for such report is that one cannot set the default config from the administrator as columns are not known. diff --git a/categories/api.html b/categories/api.html index 70f2e72..763a0bd 100644 --- a/categories/api.html +++ b/categories/api.html @@ -1,6 +1,6 @@ --- layout: default -permalink: /joomla%20rest%20api/ +permalink: /joomla-rest-api/ title: Joomla REST API --- {% include header.html %} diff --git a/categories/hierarchy-management.html b/categories/hierarchy-management.html index e3f99a0..a040570 100644 --- a/categories/hierarchy-management.html +++ b/categories/hierarchy-management.html @@ -1,6 +1,6 @@ --- layout: default -permalink: hierarchy%20management/ +permalink: hierarchy-management/ title: Hierarchy Management --- {% include header.html %} diff --git a/categories/tc-manager.html b/categories/tc-manager.html index eddc1e6..be38bfb 100644 --- a/categories/tc-manager.html +++ b/categories/tc-manager.html @@ -1,6 +1,6 @@ --- layout: default -permalink: t%20&%20c%20manager/ +permalink: t-c-manager/ title: T & C Manager --- {% include header.html %} diff --git a/categories/tj-reports.html b/categories/tj-reports.html index 9ef27a8..8ab09a6 100644 --- a/categories/tj-reports.html +++ b/categories/tj-reports.html @@ -1,6 +1,6 @@ --- layout: default -permalink: tj%20reports/ +permalink: tj-reports/ title: TJ Reports --- {% include header.html %} diff --git a/index.html b/index.html index 88fa7c1..6b9afef 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ {% assign size = posts | size %}

- {{ name | replace: "-", " " }} + {{ name | replace: "-", " "}}