Skip to content

Commit

Permalink
Merge pull request #18 from lakhanmandloi/master
Browse files Browse the repository at this point in the history
Issue #17 fix: Slugify urls
  • Loading branch information
manojLondhe authored Jul 13, 2018
2 parents f6e1d07 + 8cb9ffc commit d9e069c
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ social:
# -----
# Build

permalink: /:categories/:title/
permalink: /:categories/:slug:output_ext

gems:
- jekyll-sitemap
Expand Down
2 changes: 1 addition & 1 deletion _includes/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{% assign categories = page.categories %}
{% for category in categories %}
<a class="nounderline" href="{{ site.baseurl }}/{{ category | downcase }}"><i class="material-icons">folder</i> {{ category }}</a>
<a class="nounderline" href="{{ site.baseurl }}/{{ category | downcase | slugify }}"><i class="material-icons">folder</i> {{ category }}</a>
{% endfor %}

</div>
Expand Down
1 change: 1 addition & 0 deletions _posts/2017-01-17-com-api-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---


Expand Down
1 change: 1 addition & 0 deletions _posts/2017-01-17-com-api-plugin-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions _posts/2017-09-15-com-api-making-api-calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---


Expand Down
1 change: 1 addition & 0 deletions _posts/2017-09-15-tjreports-architecture-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions _posts/2017-09-15-tjreports-integration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ showSidebar: true
published: true
nav_ordering: 2
pageTitle: "TJ Reports Integration Guide"
permalink: tj-reports/tjreports-integration-guide.html
---


Expand Down
1 change: 1 addition & 0 deletions _posts/2017-09-15-tjreports-writing-a-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
1 change: 1 addition & 0 deletions _posts/2017-09-16-hierarchy-manager-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ nav_ordering: 1
showSidebar: true
published: true
pageTitle: "Hierarchy Management"
permalink: hierarchy-management/hierarchy-manager-overview.html
---


Expand Down
1 change: 1 addition & 0 deletions _posts/2017-09-16-tc-manager-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 6 additions & 1 deletion _posts/2018-02-09-tjreports-reports-with-dynamic-columns.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion categories/api.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
permalink: /joomla%20rest%20api/
permalink: /joomla-rest-api/
title: Joomla REST API
---
{% include header.html %}
Expand Down
2 changes: 1 addition & 1 deletion categories/hierarchy-management.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
permalink: hierarchy%20management/
permalink: hierarchy-management/
title: Hierarchy Management
---
{% include header.html %}
Expand Down
2 changes: 1 addition & 1 deletion categories/tc-manager.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
permalink: t%20&%20c%20manager/
permalink: t-c-manager/
title: T & C Manager
---
{% include header.html %}
Expand Down
2 changes: 1 addition & 1 deletion categories/tj-reports.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
permalink: tj%20reports/
permalink: tj-reports/
title: TJ Reports
---
{% include header.html %}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% assign size = posts | size %}
<section class="category">
<h3>
<a href="{{ site.baseurl }}/{{ name | downcase }}">{{ name | replace: "-", " " }}</a>
<a href="{{ site.baseurl }}/{{ name | downcase | slugify }}">{{ name | replace: "-", " "}}</a>
</h3>

<ul>
Expand Down

0 comments on commit d9e069c

Please sign in to comment.