This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Create a condition in master.ztml
#1
Create a condition in master.ztml
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]
Reply
Thanks given by:


Messages In This Thread
Create a condition in master.ztml - by gozfly - 07-10-2016, 01:09 AM
RE: Create a condition in master.ztml - by Ron-e - 07-10-2016, 06:17 AM
RE: Create a condition in master.ztml - by gozfly - 07-10-2016, 08:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Cannot Create 2nd 'Addon' Domain In Sentora? Error: Invalid backend configuration. Re BattlinThrough 2 5 ,516 07-07-2020, 01:22 PM
Last Post: TGates
I want to create a subdomain using XMWS phuong112 1 4 ,369 11-13-2019, 09:25 AM
Last Post: TGates
How can I create panel link helenmai 1 5 ,832 10-16-2018, 02:47 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 2 Guest(s)