Skip to content

Commit

Permalink
1.1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshaggarwal committed Sep 15, 2020
1 parent 0a76ad6 commit 4f09c6b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[How to use Astroid Template One in Joomla 4](https://docs.joomdev.com/article/steps-to-create-an-astroid-template-in-joomla-4/)
# Astroid-Template-One
25 changes: 14 additions & 11 deletions html-j4/plg_content_pagebreak/toc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @package Astroid Framework
* @author JoomDev https://www.joomdev.com
Expand All @@ -7,21 +8,23 @@
*/

defined('_JEXEC') or die;

use Joomla\CMS\Router\Route;
?>
<div class="float-right article-index">

<?php if ($headingtext) : ?>
<h3><?php echo $headingtext; ?></h3>
<h3><?php echo $headingtext; ?></h3>
<?php endif; ?>

<ul class="nav-tabs nav-stacked">
<?php foreach ($list as $listItem) : ?>
<?php $class = $listItem->liClass ? ' class="' . $listItem->liClass . '"' : ''; ?>
<li<?php echo $class; ?>>
<a href="<?php echo $listItem->link; ?>" class="<?php echo $listItem->class; ?>">
<?php echo $listItem->title; ?>
</a>
</li>
<?php endforeach; ?>
<ul class="nav flex-column">
<?php foreach ($list as $listItem) : ?>
<?php $class = $listItem->active ? ' active' : ''; ?>
<li>
<a href="<?php echo Route::_($listItem->link); ?>" class="toclink<?php echo $class; ?>">
<?php echo $listItem->title; ?>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
2 changes: 1 addition & 1 deletion templateDetails.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<authorUrl>https://www.joomdev.com</authorUrl>
<copyright>Copyright (C) 2019 Joomdev, Inc. All rights reserved.</copyright>
<license>GNU General Public License bn 2 or later; see LICENSE.txt</license>
<version>1.0</version>
<version>1.1</version>
<description>TPL_ASTROID_XML_DESCRIPTION</description>
<updateservers>
<server type="extension" name="astroid_framework" priority="1">https://cdn.joomdev.com/updates/astroid_template_one.xml</server>
Expand Down

0 comments on commit 4f09c6b

Please sign in to comment.