You can click on I'm stuck here
and give feedback that it works with src and not uri
-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
Is it possible to create a zul file with head elements (meta, link, etc) that can be included in all other zul pages? For example, I have the following code:
<?meta charset="utf-8" ?>
<?meta name="viewport" content="width=device-width, initial-scale=1.0" ?>
<?meta name="description" content="" ?>
<?meta name="author" content="cgraf" ?>
<?link rel="shortcut icon" href="/assets/images/icone-intelidata.ico" ?>
<?link href="bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"?>
<?link rel="stylesheet" href="/assets/css/font-awesome.min.css"?>
<?link rel="stylesheet" href="/assets/css/main.css" ?>
This code is the same into all pages.. so I do not want to repeat it every page. I tried to use <?include
but it doesnt works...
Thanks cgraf
This is possible but you don't need to use include
but you need to make usage of import.
Greetz chill.
You can click on I'm stuck here
and give feedback that it works with src and not uri
Asked: 2015-05-16 23:41:01 +0800
Seen: 40 times
Last updated: May 17 '15