Skip to content

Commit

Permalink
Fix broken links in core layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
htmgarcia committed Oct 17, 2014
1 parent 9d23562 commit 879b616
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
1 change: 0 additions & 1 deletion mod_lastworks/en-GB.mod_lastworks.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
; Note : All ini files need to be saved as UTF-8 - No BOM

; Module params
MOD_LASTWORKS_DESCRIPTION="<img src='../modules/mod_lastworks/assets/icon.png' style='float:left; margin-right:10px;width:100px;height:100px;' /> Last Works. Show your articles as you wants. <br /><br />Add your own Alternative Layouts inside: <em>templates/yourtemplate/html/mod_lastworks/</em> and choose it editing the module in <b>Alternative Layout</b> param. <br />Info and support: <a href="http://htmgarcia.com" target='_blank'>www.htmgarcia.com</a>"
MOD_LASTWORKS_CATEGORY="Category"
MOD_LASTWORKS_CATEGORY_DESC="Choose the categories you want to display. Leave in blank to display articles from any category"
MOD_LASTWORKS_FILTER_ARTICLES="Filter Articles"
Expand Down
11 changes: 9 additions & 2 deletions mod_lastworks/mod_lastworks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,15 @@
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.htmgarcia.com</authorUrl>
<version>2.1.10</version>
<description>MOD_LASTWORKS_DESCRIPTION</description>
<version>2.2.10</version>
<description>
<![CDATA[
<img src='../modules/mod_lastworks/assets/icon.png' style='float:left; margin-right:10px;width:100px;height:100px;' />
Last Works. Show your articles as you wants. <br /><br />
Add your own Alternative Layouts inside: <em>templates/yourtemplate/html/mod_lastworks/</em> and choose it editing the module in <b>Alternative Layout</b> param. <br />
Info and support: <a href="http://htmgarcia.com" target='_blank'>www.htmgarcia.com</a>
]]>
</description>
<files>
<filename module="mod_lastworks">mod_lastworks.php</filename>
<filename module="mod_lastworks">index.html</filename>
Expand Down
2 changes: 1 addition & 1 deletion mod_lastworks/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
echo $article->introtext;

// Read more link
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id, $article->catid), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';

echo '</div>
</div>';
Expand Down
2 changes: 1 addition & 1 deletion mod_lastworks/tmpl/four-columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
echo $article->introtext;

// Read more link
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id, $article->catid), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';

echo '</div>';

Expand Down
2 changes: 1 addition & 1 deletion mod_lastworks/tmpl/three-columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
echo $article->introtext;

// Read more link
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id, $article->catid), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';

echo '</div>';

Expand Down
2 changes: 1 addition & 1 deletion mod_lastworks/tmpl/two-columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
echo $article->introtext;

// Read more link
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';
echo '<p>' . JHtml::_('link', ContentHelperRoute::getArticleRoute($article->id, $article->catid), JText::_('MOD_LASTWORKS_READMORE', $article->catid), 'class="btn"') . '</p>';

echo '</div>';

Expand Down

0 comments on commit 879b616

Please sign in to comment.