Fix the site view category query of all categories. Adds another demo website to the readme.

This commit is contained in:
Llewellyn van der Merwe 2021-01-15 09:27:24 +02:00
parent 5c79ef23e0
commit 6ea9166076
Signed by untrusted user: Llewellyn
GPG Key ID: EFC0C720A240551C
6 changed files with 15 additions and 13 deletions

View File

@ -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 ### Example Website, That Has Over 6000 Audio Files
[LoudVoice.org](http://www.loudvoice.org) [LoudVoice.org](http://www.loudvoice.org)
[TrueChristian.Church](https://truechristian.church/)
### Some Video Demonstrations ### Some Video Demonstrations
@ -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**, > (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.) > never making one mistake or taking any coffee break.)
+ *Line count*: **73060** + *Line count*: **73062**
+ *File count*: **460** + *File count*: **460**
+ *Folder count*: **93** + *Folder count*: **93**
@ -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** 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). > This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
## Contributors ## Contributors

View File

@ -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 ### Example Website, That Has Over 6000 Audio Files
[LoudVoice.org](http://www.loudvoice.org) [LoudVoice.org](http://www.loudvoice.org)
[TrueChristian.Church](https://truechristian.church/)
### Some Video Demonstrations ### Some Video Demonstrations
@ -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**, > (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.) > never making one mistake or taking any coffee break.)
+ *Line count*: **73060** + *Line count*: **73062**
+ *File count*: **460** + *File count*: **460**
+ *Folder count*: **93** + *Folder count*: **93**
@ -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** 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). > This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
## Contributors ## Contributors

View File

@ -1837,7 +1837,7 @@ class com_sermondistributorInstallerScript
echo '<a target="_blank" href="https://www.vdm.io/" title="Sermon Distributor"> echo '<a target="_blank" href="https://www.vdm.io/" title="Sermon Distributor">
<img src="components/com_sermondistributor/assets/images/vdm-component.jpg"/> <img src="components/com_sermondistributor/assets/images/vdm-component.jpg"/>
</a> </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. // Set db if not set already.
if (!isset($db)) if (!isset($db))

View File

@ -7,9 +7,9 @@
<authorUrl>https://www.vdm.io/</authorUrl> <authorUrl>https://www.vdm.io/</authorUrl>
<copyright>Copyright (C) 2015. All Rights Reserved</copyright> <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> <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[ <description><![CDATA[
<h1>Sermon Distributor (v.2.0.4)</h1> <h1>Sermon Distributor (v.2.0.5)</h1>
<div style="clear: both;"></div> <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>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> <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>

View File

@ -55,10 +55,10 @@
<description>A sermon distributor that links to Dropbox.</description> <description>A sermon distributor that links to Dropbox.</description>
<element>com_sermondistributor</element> <element>com_sermondistributor</element>
<type>component</type> <type>component</type>
<version>2.0.4</version> <version>2.0.5</version>
<infourl title="Sermon Distributor!">https://www.vdm.io/</infourl> <infourl title="Sermon Distributor!">https://www.vdm.io/</infourl>
<downloads> <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> </downloads>
<tags> <tags>
<tag>stable</tag> <tag>stable</tag>

View File

@ -77,8 +77,8 @@ class SermondistributorModelCategories extends JModelList
$query->where('a.access IN (' . implode(',', $this->levels) . ')'); $query->where('a.access IN (' . implode(',', $this->levels) . ')');
// Get where a.published is 1 // Get where a.published is 1
$query->where('a.published = 1'); $query->where('a.published = 1');
// Get where a.extension is "com_sermondistributor.sermons" // Get where a.extension is "com_sermondistributor.sermon"
$query->where('a.extension = "com_sermondistributor.sermons"'); $query->where('a.extension = "com_sermondistributor.sermon"');
$query->order('a.title ASC'); $query->order('a.title ASC');
// return the query object // return the query object