Make new template

How to make new template?

1. You can go to "File Manager" inside "Content Menu"
2. You can see "Create Template" section.
3. In "Template Name" you can put your template name your want.
4. Click "Create Template".
5. Go to "Site Settings" to choose your frontend template name.

You can design the template with Bootstrap structure in "main.php" file in "File Manager" and click "Template Main" folder

And check your code in main.php file and change to this (Please see the red text)
<!DOCTYPE html>
<html lang="en">
    <head>
        <?php echo $meta_tags?> Required for main meta tag
        <link href="<?php echo base_url()?>/templates/cszdefault/imgs/favicon.ico" rel="shortcut icon" type="image/ico"/>
        <title><?php echo $title?></title> Required for title 
        <!-- Bootstrap Core CSS -->
        <?php echo  $core_css ?> Required for main css 
        <!-- Custom CSS -->
        <link href="<?php echo base_url()?>/templates/cszdefault/css/cszdefault.min.css" rel="stylesheet" type="text/css"/>
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <?php if($additional_metatag){ ?>  Required for additional Metatag
            <?php echo $additional_metatag?>  Required for additional Metatag
        <?php } ?>  Required for additional Metatag
    </head>
    <body id="page-top" class="index">        
        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-fixed-top">
            <div class="container">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header page-scroll">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#mainmenu-navbar-collapse-1">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand page-scroll" href="<?php echo base_url() ?>"><?php echo $this->Headfoot_html->getLogo();?></a> Required for Logo or website name
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="mainmenu-navbar-collapse-1">
                    <ul class="nav navbar-nav navbar-right">
                        <?php echo $this->Headfoot_html->topmenu($cur_page);?> Required for top menubar
                    </ul>
                </div>
                <!-- /.navbar-collapse -->
            </div>
            <!-- /.container-fluid -->
        </nav>
        
        <!-- Start For Content -->
        <?php echo $content; ?> Required for content show
        <!-- End For Content -->
        
        <div class="container">
            <footer>
                <div class="container">
                    <?php echo $this->Headfoot_html->getLastVerAlert();?> Required for alert message
                    <hr>
                    <div class="row col-md-12 text-center">
                        <ul>
                            <?php echo $this->Headfoot_html->bottomnav($cur_page); ?> Not required. For footer menu link insude ul tag
                        </ul>
                    </div>
                    <div class="row">
                        <div class="col-md-5 div-copyright hidden-sm hidden-xs">
                            <?php /*$this->Headfoot_html->langMenu(1=Show flag only, 
                             * 2=Show flag and Language, 
                             * 3=Show flag and Country,
                             * Null or 0=Show Full detail)*/ ?>
                            <?php echo $this->Headfoot_html->langMenu(2);?> Required for language menu
                            <?php echo $this->Headfoot_html->footer();?> Required for footer text and credit text
                        </div>
                        <div class="col-md-2 hidden-sm hidden-xs text-center">
                            <a href="#top" title="To Top" style="text-decoration:none;">
                                <span class="h2"><i class="glyphicon glyphicon-chevron-up"></i></span>
                            </a><br><br>
                        </div>
                        <div class="col-md-5 div-social hidden-sm hidden-xs">
                            <br>
                            <?php echo $this->Headfoot_html->getSocial();?> Required for social icon link
                        </div>
                        <div class="col-md-12 visible-sm visible-xs text-center">
                            <a href="#top" title="To Top" style="text-decoration:none;">
                                <span class="h2"><i class="glyphicon glyphicon-chevron-up"></i></span>
                            </a><br><br>
                            <?php /*$this->Headfoot_html->langMenu(1=Show flag only, 
                             * 2=Show flag and Language, 
                             * 3=Show flag and Country,
                             * Null or 0=Show Full detail)*/ ?>
                            <?php echo $this->Headfoot_html->langMenu(2);?> Required for language menu
                            <?php echo $this->Headfoot_html->footer();?> Required for footer text and credit text
                            <br><br>
                            <?php echo $this->Headfoot_html->getSocial();?> Required for social icon link
                        </div>
                    </div>
                </div>
            </footer>
        </div>
        
        <!-- Bootstrap core JavaScript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
        <?php echo $core_js?> Required for main javascript
        <?php if($additional_js){ ?> Required for additional Javascript
        <script type="text/javascript"> Required for additional Javascript
            <?php echo $additional_js?> Required for additional Javascript
        </script> Required for additional Javascript
        <?php } ?>  Required for additional Javascript
    </body>
</html>






Copyright © 2018 CSZ CMS Website by CSKAZA