Added configuration option for home page

This commit is contained in:
Christian Wolf 2017-07-12 17:03:30 +02:00
parent e9e428cd01
commit f1df2205d3
2 changed files with 25 additions and 8 deletions

View File

@ -16,13 +16,22 @@ $app = JFactory::getApplication();
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/main.css" type="text/css" />
<!-- <title>Saarl&auml;ndische Tanzverband e.V.</title> -->
<!-- <meta content=""> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <style></style> -->
<style>
<?php
if($this->params{'titlepage'} === '1')
{
?>
#right_column, #left_menu {
display: none;
}
<?php
}
?>
</style>
<!-- <link rel="stylesheet" type="text/css" href="css/main.css"> -->
</head>
<body>

View File

@ -72,13 +72,21 @@
<config>
<fields name="params">
<fieldset name="advanced">
<field name="unser_header_bild"
<!--<field name="mylistvalue" type="list" default="1" label="Select an option" description="">
<option value="0">Option 1</option>
<option value="1">Option 2</option>
</field>-->
<field name="titlepage" type="list" default="0" label="Switch to titlepage mode" description="">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<!--<field name="unser_header_bild"
type="media"
default=""
label="Label3"
label="Label"
description="Description"
filter="string"
/>
/>-->
<!--<field name="unser_header_bild"
type="media"
default=""
@ -90,7 +98,7 @@
</fields>
</config>
<!-- Parameter Block ende -->
<updateservers>
<!--<updateservers>
<server type="extension" name="slt" priority="1">http://localhost/slt-update/slt.xml</server>
</updateservers>
</updateservers>-->
</extension>