File tree Expand file tree Collapse file tree 3 files changed +16
-13
lines changed
html-j4/plg_content_pagebreak Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 1- [ How to use Astroid Template One in Joomla 4 ] ( https://docs.joomdev.com/article/steps-to-create-an-astroid-template-in-joomla-4/ )
1+ # Astroid- Template-One
Original file line number Diff line number Diff line change 11<?php
2+
23/**
34 * @package Astroid Framework
45 * @author JoomDev https://www.joomdev.com
78 */
89
910defined ('_JEXEC ' ) or die;
11+
12+ use Joomla \CMS \Router \Route ;
1013?>
1114<div class="float-right article-index">
1215
1316 <?php if ($ headingtext ) : ?>
14- <h3><?php echo $ headingtext ; ?> </h3>
17+ <h3><?php echo $ headingtext ; ?> </h3>
1518 <?php endif ; ?>
1619
17- <ul class="nav-tabs nav-stacked ">
18- <?php foreach ($ list as $ listItem ) : ?>
19- <?php $ class = $ listItem ->liClass ? ' class=" ' . $ listItem -> liClass . ' " ' : '' ; ?>
20- <li<?php echo $ class ; ?> >
21- <a href="<?php echo $ listItem ->link ; ?> " class="<?php echo $ listItem -> class ; ?> ">
22- <?php echo $ listItem ->title ; ?>
23- </a>
24- </li>
25- <?php endforeach ; ?>
20+ <ul class="nav flex-column ">
21+ <?php foreach ($ list as $ listItem ) : ?>
22+ <?php $ class = $ listItem ->active ? ' active ' : '' ; ?>
23+ <li>
24+ <a href="<?php echo Route:: _ ( $ listItem ->link ) ; ?> " class="toclink <?php echo $ class ; ?> ">
25+ <?php echo $ listItem ->title ; ?>
26+ </a>
27+ </li>
28+ <?php endforeach ; ?>
2629 </ul>
27- </div>
30+ </div>
Original file line number Diff line number Diff line change 77 <authorUrl >https://www.joomdev.com</authorUrl >
88 <copyright >Copyright (C) 2019 Joomdev, Inc. All rights reserved.</copyright >
99 <license >GNU General Public License bn 2 or later; see LICENSE.txt</license >
10- <version >1.0 </version >
10+ <version >1.1 </version >
1111 <description >TPL_ASTROID_XML_DESCRIPTION</description >
1212 <updateservers >
1313 <server type =" extension" name =" astroid_framework" priority =" 1" >https://cdn.joomdev.com/updates/astroid_template_one.xml</server >
You can’t perform that action at this time.
0 commit comments