Turbo Template for Nextpost – Documentation

in Docs on October 20, 2019

Tutorial Instalation Turbo Template for Nextpost.

Instruction

Before we start making changes to the code, I strongly urge you to backup the source files so that you do not have any problems if something goes wrong. The list of files that we have to change:

public_html/assets

public_html/app/language/English

public_html/app/modules/auth/views

public_html/app/modules/blocks/views

public_html/app/modules/statistics/views

public_html/app/views/layouts

Module Compatibility

When adding a new module, it is important to add the lines below to make the module compatible with the theme.

Step 1.1 Make changes to all module views, you can find them here.

public_html/inc/plugins/plugin-name/views

 

<link rel=“stylesheet” type=“text/css” href=“<?= APPURL.“/assets/css/all.min.css?v=”.VERSION ?>“>
    <div class=“container-1200”>
    <div class=“desktop-hide”>
        <div class=“nav-logo-mobile-wrapper”>
                        <a href=“<?= APPURL.“/statistics” ?>“>
                        <img src=“<?= site_settings(“logomark”) ? site_settings(“logomark”) : APPURL.“/assets/img/logomark.png” ?>“ alt=“<?= site_settings(“site_name”) ?>“>
                        </a>
        </div>
    </div>
    <div class=“mobile-hide”>
        <div class=“nav-logo-wrapper”>
            <a href=“<?= APPURL.“/statistics” ?>“>
            <img src=“<?= site_settings(“logomark”) ? site_settings(“logomark”) : APPURL.“/assets/img/logomark.png” ?>“ alt=“<?= site_settings(“site_name”) ?>“>
            </a>
        </div>
    </div>
</div>
</div>

Edit Top Menu

If you want to edit icons, text or the top menu position, you need to edit the file…

public_html/app/views/fragments/navigation.fragment.php

Step 1.2 This theme supports fontawesome PRO, Material Design Icons and Simple Line Icons.

https://fontawesome.com/icons

https://materialdesignicons.com/

https://iconify.design/icon-sets/simple-line-icons/

Edit Home Page

To edit links, swap icons or swap links to other modules, edit or file…

public_html/app/views/fragments/statistics.fragment.php

Step 1.2 This theme supports fontawesome PRO, Material Design Icons and Simple Line Icons.

https://fontawesome.com/icons

https://materialdesignicons.com/

https://iconify.design/icon-sets/simple-line-icons/

As in the image below

Categories: Docs