Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4648

Create a condition in master.ztml

$
0
0
Hello Everybody,

 I know that to create a condition in a module is as follows :

File: controler.ext.php

Code:
    static function getMethodName()
    {
        return true;
    }


File: module.zpm

Code:
    <% if MethodName %>
    <% endif %>

There all right from here but how can do that in the file master.ztml? Huh


In my case i want to hide a html tag "div" block only if the URL varible is not set "module"

[Image: hide_block.png]

Viewing all articles
Browse latest Browse all 4648

Trending Articles