Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 15 20:34

    dg on master

    opened 3.0-dev added macro n:nonce list of default filters moved f… and 8 more (compare)

  • Oct 15 20:34

    dg on v2.9

    tests: fixed on PHP 8.0 tested on PHP 8.0 added {widget} (compare)

  • Oct 15 20:06

    dg on master

    opened 3.0-dev added macro n:nonce list of default filters moved f… and 8 more (compare)

  • Oct 15 20:05

    dg on v2.9

    tested on PHP 8.0 added {widget} (compare)

  • Oct 15 17:37

    dg on master

    opened 3.0-dev added macro n:nonce list of default filters moved f… and 8 more (compare)

  • Oct 15 17:37

    dg on v2.9

    tests: fixed on PHP 8.0 tested on PHP 8.0 added {widget} and 1 more (compare)

  • Oct 14 12:38

    dg on v2.9

    checks for valid macro/filter/f… added {widget} wip (compare)

  • Oct 14 10:44

    dg on master

    opened 3.0-dev added macro n:nonce list of default filters moved f… and 8 more (compare)

  • Oct 14 10:43

    dg on v2.9

    donate badge updates Filters::escapeJS: invalid UTF-… modifiers are deprecated in {do… and 5 more (compare)

  • Oct 07 06:05
    dakur commented #163
  • Oct 07 01:07

    dg on master

    donate badge updates (compare)

  • Oct 07 01:05

    dg on master

    donate badge updates (compare)

  • Oct 06 16:28
    dg commented #232
  • Oct 06 15:23
    dakur commented #232
  • Oct 06 15:22
    dakur commented #232
  • Oct 06 14:45
    dg commented #233
  • Oct 06 14:32
    dg closed #232
  • Oct 02 13:54
    milo commented #232
  • Oct 02 13:29
    milo commented #232
  • Oct 02 12:15
    dakur commented #232
David Grudl
@dg
Welcome!
iiic
@iiic
what's better and why … <p>{$a.', '.$b}</p>or <p>{$a}, {$b}</p> ? :)
SaphiLC
@SaphiLC
hello
anyone here? :P
iiic
@iiic
yea, waiting for some solutins to my dilemma :)
Miloslav Hůla
@milo
@iiic 2nd is better. $var can be an HTML instance.
Petr Řebíček
@tatyalien
Ahoj, je tu někdo? Přepisuji apku na novější nette a zadrhávám se u bloků, dříve jsem používal includeblock a v něm mě fungovalo dopisování do definovaných bloků, ale to u nového kde je include/import nejede... něco jsem sepsal tady: https://forum.nette.org/cs/28793-nette-2-4-predavani-dat-do-import-include-bloku
Andrei
@austerus_gitlab
hello Latte people! I have a small question about Latte - how would I go about applying a custom filter to a string constant? If I do something like {'constant'|myFilter} it's not interpreted at all.
kristdev (Franck Pambe)
@kristdev
Hello! I'm new wih latte
kristdev (Franck Pambe)
@kristdev
I'm using latte with codeigniter 3 and hmvc wiredsign plugin. and i have a problem
This is the code of content.latte i have
{layout 'layouts/@wrapper.latte'}
<!-- Header Section Start -->
{block headersection}
{include 'header.latte'}
{/block headersection}
<!-- Header Section End -->
kristdev (Franck Pambe)
@kristdev
and this is the error:
image.png
Can you tell me how to fix the problem? This is the code of wrapper.latte
<!DOCTYPE html>
<html dir="ltr" lang="fr">

    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <!-- ==== Document Title ==== -->
        <title>ArtConnectAfrica - Bienvenue sur notre plateforme</title>

        <!-- ==== Document Meta ==== -->
        <meta name="author" content="ThemeLooks">
        <meta name="description" content="Multipurpose Social Network HTML5 Template">
        <meta name="keywords" content="social media, social network, forum, shop, bootstrap, html5, css3, template, responsive, retina ready">

        <!-- ==== Artconnectafrica ==== -->
        <link rel="icon" href="" type="{base_url().'public/templates/tp1/'}image/png">

        <!-- ==== Font-awsome ==== -->
        <!-- <link rel="icon" href="fonts/font-awesome/css/font-awesome.css" type="text/css">-->

        <!-- ==== Google Font ==== -->
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,500,600,700%7CRoboto:300,400,400i,500,700">

        <!-- ==== Plugins Bundle ==== -->
        <link rel="stylesheet" href="{base_url().'public/templates/tp1/'}css/plugins.min.css">

        <!-- ==== Main Stylesheet ==== -->
        <link rel="stylesheet" href="{base_url().'public/templates/tp1/'}style.css">

        <!-- ==== Responsive Stylesheet ==== -->
        <link rel="stylesheet" href="{base_url().'public/templates/tp1/'}css/responsive-style.css">

        <!-- ==== Custom Stylesheet ==== -->
        <link rel="stylesheet" href="{base_url().'public/templates/tp1/'}css/custom.css">
    </head>
    <body>
        <!-- Preloader Start -->
        <!--<div id="preloader">
            <div class="preloader--inner"></div>
        </div>-->
        <!-- Preloader End -->

        <!-- Wrapper End -->
        <div class="wrapper">
            <!--Header inclusion-->
            {block headersection}{/block}
        </div>
        <!-- Wrapper Start -->

        <!-- Back To Top Button Start -->
        <div id="backToTop">
            <a href="#" class="btn">
                <i class="fa fa-caret-up"></i></a>
        </div>
        <!-- Back To Top Button End -->
        <!-- ==== Plugins Bundle ==== -->
        <script src="{base_url().'public/templates/tp1/'}js/plugins.min.js"></script>

        <!-- ==== Main Script ==== -->
        <script src="{base_url().'public/templates/tp1/'}js/main.js"></script>
    </body>

</html>
kristdev (Franck Pambe)
@kristdev
Also, header.latte file:
<!-- Header Section Start -->
<header class="header--section style--2">
    <!-- Header Topbar Start -->
    <div class="header--topbar">
        <div class="container">
            <!-- Logo Start -->
            <div class="header--topbar-logo float--left">
                <a href="index-2.html"><img src="{base_url().'/public/templates/tp1/'}images/logo.png" alt=""></a>
            </div>
            <!-- Logo End -->

            <!-- Header Topbar Links Start -->
            <!--<ul class="header--topbar-links nav ff--primary float--right">
            <li>
            <a href="user.html" title="Login" class="btn-link" data-placement="bottom">
            <i class="fa fa-user-o"></i> Mon Compte
            </a>
            </li>
            </ul>-->
            <!-- Header Topbar Links End -->

        </div>
    </div>
    <!-- Header Topbar End -->

    <!-- Header Navbar Start -->
    <div class="header--navbar navbar bg-dark" data-trigger="sticky">
        <div class="container">
            <div class="navbar-header couleur_bordure">
                <button type="button" class="navbar-toggle style--2 collapsed" data-toggle="collapse" data-target="#headerNav">
                    <span class="sr-only">Toggle Navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>

            <!-- Header Search Start -->
            <div class="header--search style--1 float--right" data-form="validate">
                <form action="#">
                    <input type="text" name="search" placeholder="I’m looking for..." class="form-control" required>

                    <button type="submit" class="btn-link">
                        <i class="fa fa-search"></i></button>
                </form>
            </div>
            <!-- Header Search End -->

            <div id="headerNav" class="navbar-collapse collapse float--left">
                <!-- Header Nav Links Start -->
                <ul class="header--nav-links style--2 nav ff--primary">
                    <li class="dropdown active">
                        <a href="index.html" class="dropdown-toggle">
                            <span>Home</span>
                        </a>
                    </li>
                    <li class="dropdown">
                        <a href="apropos.html" class="dropdown-toggle">
                            <span>A Propos</span>
                        </a>
                    </li>
                    <li class="dropdown">
                        <a href="actualites.html" class="dropdown-toggle">
                            <span>Actualités</span>
                        </a>
                    </li>
                    <li class="dropdown megamenu">
                        <a href="membres.html" class="dropdown-toggle">
                            <span>Nos Membres</span>
                        </a>
                    </li>
                    <li class="dropdown">
                        <a href="documentation.html" class="dropdown-toggle">
                            <span>Documentation</span>
                        </a>
                    </li>
                    <li>
                        <a href="contact.html">
                            <span>Contact</span></a></li>
                    <li class="dropdown special">
                        <a href="connexion.html" class="dropdown-toggle">
                            <span class="">Inscription / Connexion</span>
                        </a>
                    </li>
                </ul>
                <!-- Header Nav Links End -->
            </div>
        </div>
    </div>
    <!-- Header Navbar End -->
</header>
<!-- Header Section End -->
When i replace the content of header.latte file by words like "Hello world!" it works fine. I don't understand the problem. Please, help me!