AW: JA Flowlist Modul für joomla
das ist die index php
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$siteName = $this->params->get('siteName');
if ($this->params->get('pageStyle') == '')
{
$pageStyle ='style1';
}
else
{
$pageStyle = $this->params->get('pageStyle');
}
$showPathway = $this->params->get('showPathway');
class tjC {
function isFrontPage(){
return (JRequest::getCmd('option')=='com_content' && !JRequest::getInt('id'));
}
}
$TJ = new tjC($this);
$joomlaJS = $this->params->get('defaultJS');
if ($joomlaJS == "off") {
$headerjs = $this->getHeadData();
$headerjs['scripts'] = array();
$this->setHeadData($headerjs);
};
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/<?php echo $pageStyle;?>.css" title="<?php echo $pageStyle;?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<!--[if lte IE 6]>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" type="text/css" />
<style type="text/css">
#tr-logo a , .MultiBoxClose, .MultiBoxPrevious, .MultiBoxNext, .MultiBoxNextDisabled, .MultiBoxPreviousDisabled {
behavior: url('<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/iepngfix.htc');
}
</style>
<![endif]-->
</head>
<body>
<a name="top" id="top"></a>
<div id="tr-container">
<div id="tr-header">
<div id="tr-logo"><a href="<?php echo $this->baseurl ?>"></a></div>
</div>
<div id="tr-top-menu">
<jdoc:include type="modules" name="user3" style="xhtmlxtd" />
</div>
<div id="tr-wrapper">
<?php if ($this->countModules('spotlight')) { ?><div id="tr-m-spotlight"> <jdoc:include type="modules" name="spotlight" style="xhtml" /></div><?php } ?>
<?php if ($this->countModules('showcase')) { ?><div id="tr-m-showcase"> <jdoc:include type="modules" name="showcase" style="xhtml" /></div><?php } ?>
<?php if ($this->countModules('staff')) { ?><div id="tr-m-staff"> <jdoc:include type="modules" name="staff" style="xhtml" /></div><?php } ?>
<?php if(!$TJ->isFrontPage()) { ?>
<div id="content">
<div id="tr-content-in">
<jdoc:include type="message" />
<?php if($showPathway==1) { ?>
<jdoc:include type="modules" name="breadcrumb" />
<?php } ?>
<jdoc:include type="component" />
</div>
</div>
<?php } ?>
</div>
<div id="tr-footer">
<jdoc:include type="modules" name="pfooter" style="xhtmlxtd" />
</div>
</div>
<!-- You CAN NOT remove (or unreadable) those links without permission. Removing the link and template sponsor Please visit shop.portfoliodesign.org or contact with e-mail (info@portfoliodesign.org) If you don't want to link back to portfoliodesign.org, you can always pay a link removal donation. This will allow you to use the template link free on one domain name. Please read license.txt -->
<div style="padding:0 0 20px 0;"><center><a href="http://www.portfoliodesign.org" rel="follow" title="Joomla Templates"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/portfoliodesign.png" border="0" alt="Joomla Templates"/></a></center></div>
<jdoc:include type="modules" name="debug" />
</body>
</html>
und das nun die layout css:
/* COMMON STYLE
--------------------------------------------------------- */
* {
}
body {
font-family:Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 160%;
}
html, body, form, fieldset {
margin: 0;
padding: 0;
}
body.tr-contentpane {
width: auto; /* Printable Page */
margin: 1em 2em;
line-height: 1.3em;
margin: 0px 0px 0px 0px;
font-size: 12px;
color: #333;
}
/* Normal link */
a {
text-decoration: underline;
}
a:hover, a:active, a:focus {
text-decoration: underline;
outline:none;
}
/* Title text */
.tr-contentheading, .componentheading, .blog_more strong, h1, h2, h3, h4 {
font-family: Arial, Helvetica, sans-serif;
}
/* Small text */
small, .small, .smalldark, .mosimage_caption, .author, .createby, .createdate, .modifydate, a.readon, .img_caption {
font-size: 10px;
}
/* Heading */
h1 {
font-size: 180%;
}
h2 {
font-size: 150%;
}
h3 {
font-size: 125%;
}
h4 {
font-size: 100%;
text-transform: uppercase;
}
p, pre, blockquote, ol, ul, h1, h2, h3, h4, h5, h6 {
margin:1em 0;
}
th {
padding: 5px;
font-weight: bold;
text-align: left;
}
fieldset {
border: none;
padding: 0;
}
fieldset a {
font-weight: bold;
}
hr {
border-top: 1px solid #CCCCCC;
border-right: 0;
border-left: 0;
border-bottom: 0;
height: 1px;
}
td, div {
font-size: 100%;
}
img {
border: none;
}
.clearfix {
clear:both;
}
#tr-container {
text-align:left;
width:600px;
margin:5px auto;
}
#tr-wrapper {
float:left;
width:100%;
margin-bottom:0px;
}
#tr-content {
}
#tr-content-in {
}
#tr-header {
height:165px;
position:relative;
}
#tr-top-menu {
text-align:center;
height:20px;
padding: 10px;
margin: 30px;
}
#tr-logo {
position:center;
top:100px;
}
#tr-logo a {
display:block;
float:left;
height:200px;
width:600px;
}
#tr-right {
float:left;
width:170px;
margin-left:-170px;
overflow:hidden;
}
#tr-right-in {
padding:10px;
}
#tr-left {
float:left;
width:160px;
margin-left:-750px
}
#tr-left-in {
padding:0 10px 10px 0;
}
#tr-footer {
clear:left;
width:600px;
position:relative;
font-size:10px;
padding:10px 0;
}
#tr-footer p {
margin:0;
padding:15px 10px;
}
#tr-stylechanger {
text-align:right;
position:absolute;
right:10px;
top:5px;
font-size:10px;
}
#tr-content-a .moduletable {
color:#FFFFFF;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
position:absolute;
right:9px;
text-align:right;
top:30px;
width:280px;
}
#tr-content-a .moduletable .item {
line-height:170%;
margin:0;
padding:15px;
}
#tr-content-a .moduletable h3 {
background:#FFFFFF;
display:block;
font-family:Arial, Helvetica, sans-serif;
margin:0 0 5px 0;
padding:5px 5px 5px 30px;
text-align:right;
}
#tr-search {
position:absolute;
top:30px;
right:10px;
}