Skip to content

Commit

Permalink
Fix the site view category query of all categories. Adds another demo…
Browse files Browse the repository at this point in the history
… website to the readme.
  • Loading branch information
Llewellynvdm committed Jan 15, 2021
1 parent 5c79ef2 commit 6ea9166
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The best way to see all your options is to install this component on you Joomla
### Example Website, That Has Over 6000 Audio Files

[LoudVoice.org](http://www.loudvoice.org)
[TrueChristian.Church](https://truechristian.church/)

### Some Video Demonstrations

Expand All @@ -36,7 +37,7 @@ due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.)
+ *Line count*: **73060**
+ *Line count*: **73062**
+ *File count*: **460**
+ *Folder count*: **93**

Expand All @@ -56,8 +57,8 @@ due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder
Project duration: **8.4 weeks** or **1.8 months**

> This **component** was build with a Joomla [Automated Component Builder](https://www.vdm.io/joomla-component-builder).
> Developed by [Llewellyn van der Merwe](mailto:[email protected])
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:[email protected])

## Contributors
Expand Down
7 changes: 4 additions & 3 deletions admin/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The best way to see all your options is to install this component on you Joomla
### Example Website, That Has Over 6000 Audio Files

[LoudVoice.org](http://www.loudvoice.org)
[TrueChristian.Church](https://truechristian.church/)

### Some Video Demonstrations

Expand All @@ -36,7 +37,7 @@ due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.)

+ *Line count*: **73060**
+ *Line count*: **73062**
+ *File count*: **460**
+ *Folder count*: **93**

Expand All @@ -56,8 +57,8 @@ due to [Automated Component Builder](https://www.vdm.io/joomla-component-builder

Project duration: **8.4 weeks** or **1.8 months**

> This **component** was build with a Joomla [Automated Component Builder](https://www.vdm.io/joomla-component-builder).
> Developed by [Llewellyn van der Merwe](mailto:[email protected])
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:[email protected])


## Contributors
Expand Down
2 changes: 1 addition & 1 deletion script.php
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ public function postflight($type, JAdapterInstance $parent)
echo '<a target="_blank" href="https://www.vdm.io/" title="Sermon Distributor">
<img src="components/com_sermondistributor/assets/images/vdm-component.jpg"/>
</a>
<h3>Upgrade to Version 2.0.4 Was Successful! Let us know if anything is not working as expected.</h3>';
<h3>Upgrade to Version 2.0.5 Was Successful! Let us know if anything is not working as expected.</h3>';

// Set db if not set already.
if (!isset($db))
Expand Down
4 changes: 2 additions & 2 deletions sermondistributor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<authorUrl>https://www.vdm.io/</authorUrl>
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
<version>2.0.4</version>
<version>2.0.5</version>
<description><![CDATA[
<h1>Sermon Distributor (v.2.0.4)</h1>
<h1>Sermon Distributor (v.2.0.5)</h1>
<div style="clear: both;"></div>
<p>Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x](http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.</p>
<p>Created by <a href="https://www.vdm.io/" target="_blank">Llewellyn van der Merwe</a><br /><small>Development started 22nd October, 2015</small></p>
Expand Down
4 changes: 2 additions & 2 deletions sermondistributor_update_server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
<description>A sermon distributor that links to Dropbox.</description>
<element>com_sermondistributor</element>
<type>component</type>
<version>2.0.4</version>
<version>2.0.5</version>
<infourl title="Sermon Distributor!">https://www.vdm.io/</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/Llewellynvdm/Joomla-Sermon-Distributor/releases/download/v2.0.4/SD_v2.0.4.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/Llewellynvdm/Joomla-Sermon-Distributor/releases/download/v2.0.5/SD_v2.0.5.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
Expand Down
4 changes: 2 additions & 2 deletions site/models/categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ protected function getListQuery()
$query->where('a.access IN (' . implode(',', $this->levels) . ')');
// Get where a.published is 1
$query->where('a.published = 1');
// Get where a.extension is "com_sermondistributor.sermons"
$query->where('a.extension = "com_sermondistributor.sermons"');
// Get where a.extension is "com_sermondistributor.sermon"
$query->where('a.extension = "com_sermondistributor.sermon"');
$query->order('a.title ASC');

// return the query object
Expand Down

0 comments on commit 6ea9166

Please sign in to comment.