Answer the question
In order to leave comments, you need to log in
Joomla + Wikit | How to implement the correct work of CMS and framework?
Hello.
There is a question about the correct work of the framework and Joomla 3 .
Since the standard Bootstrap is almost to my liking, I decided to use Uikit .
With the connection, there are no problems at all, everything is simple and clear. But in use ..
For example: I make a menu, in index.php I insert:
<?php if ($this->countModules('menu')) : ?>
<nav class="navigation" role="navigation">
<jdoc:include type="modules" name="menu" style="none" />
</nav>
<?php endif; ?>
<ul class="nav menu">
<li class="item-101 current active">
<a href="/www.joomla3.com/">Главная</a>
</li>
<li class="item-102 deeper parent">
<a href="/www.joomla3.com/o-nas.html">О нас</a>
</li>
<li class="item-103">
<a href="/www.joomla3.com/reshenie.html">Решение</a>
</li>
<li class="item-104">
<a href="/www.joomla3.com/servis.html">Сервис</a>
</li>
<li class="item-105 deeper parent">
<a href="/www.joomla3.com/novosti.html">Новости</a>
</li>
<li class="item-106">
<a href="/www.joomla3.com/kontakty.html">Контакты</a>
</li>
</ul>
<?php if ($this->countModules('menu')) : ?>
<button class="uk-button" data-uk-offcanvas="{target:'#my-id'}">Меню</button>
<div id="my-id" class="uk-offcanvas">
<div class="uk-offcanvas-bar">
<div class="uk-panel">
<nav class="navigation" role="navigation">
<jdoc:include type="modules" name="nav" style="none" />
</nav>
</div>
</div>
</div>
<?php endif; ?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question