Weiße Seite nach Template-Installation

Moderator: Sisko1990

Forum rules
Forumregeln
Locked
webbie45
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Sat Dec 10, 2011 8:35 am
Contact:

Weiße Seite nach Template-Installation

Post by webbie45 » Fri Jun 08, 2012 8:13 pm

Hallo, eine Frage an die Template-Profis unter Euch:

Ich habe versucht, ein Joomla 1.0 Template auf 1.5 upzudaten, soweit hat auch alles geklappt, zumindest die Installation - wenn ich das Template aber als Standard setze und die Seite aufrufe, erhalte ich nur eine leere weiße Seite - nicht mal Quelltext ist zu sehen. Weiß jemand was ich falsch gemacht habe? Ich poste mal ganz frech den Code der index.php, vielleicht kann mir ja jemand helfen oder sieht, wo der Fehler liegt :geek: :

Code: Select all

<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php echo '<?xml version="1.0" encoding="utf-8"?'.'>'; ?>
<!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; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />



<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" />


</head>
<body>

<div align="center">
	<table border="0" cellpadding="0" cellspacing="0" width="808">
		<tr>
			<td class="outline">
		  		<div id="buttons_outer">
		  		  <div id="buttons_inner">
						<div id="buttons">
						<jdoc:include type="modules" name="user3" style="none" />
		
						</div>
					</div>
		  		</div>
		  		<div id="search_outer">
		  		  <div id="search_inner">
						<jdoc:include type="modules" name="user4" style="none" />
		  		  </div>
		  		</div>
		  		<div class="clr"></div>
		  		<div id="header_outer">
		  			<div id="header">
		  			&nbsp;
		  			</div>
		  			<div id="top_outer">
						<div id="top_inner">
						<?php
			  			if ( $this->countModules( 'top' ) ) {
			  				jdoc:include type="modules" name="top" style="xhtml" 
			  			} else {
			  				?>
			  				<span class="error">Top Module Empty</span>
			  				<?php
			  			}
			  			?>
						 </div>
				  </div>
		  		</div>
		  		<div id="left_outer">
		  			<div id="left_inner">
		 <jdoc:include type="modules" name="left" style="xhtml" />
		  			</div>
		  		</div>
		  		<div id="content_outer">
					<div id="content_inner">
					<?php
		  			if ( $this->countModules ('banner') ) {
		  				?>
		  				<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
						<tr>
								<td>
									<div id="banner_inner">
									<img src="<?php echo $this->baseurl;?>/templates/ig1template/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="468"/><br />
			  					<jdoc:include type="modules" name="banner" style="none" /><br />
									</div>
									<div id="poweredby_inner">
										<img src="<?php echo $this->baseurl;?>/templates/ig1template/images/powered_by.png" alt="powered_by.png, 1 kB" title="powered_by" border="0" height="68" width="165"/><br />
									</div>
								</td>
							</tr>
							</table>
							<?php
		  			}
		  			?>
		  			<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
						<tr valign="top">
							<td width="99%">
								<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">

								<?php
								if ($colspan > 0) {
								?>
									<tr valign="top">
										<?php
				  					if ( $user1 > 0 ) {
				  						?>
				  						<td width="50%">
				  							<div class="user1_inner">
				  						<jdoc:include type="modules" name="user1" style="xhtml" />
				  							</div>
				  						</td>
				  						<?php
				  					}
				  					if ( $colspan == 3) {
										 ?>
											<td width="2">
												<img src="<?php echo $this->baseurl;?>/templates/ig1template/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2"/>
											</td>
										<?php
										}
				  					if ( $user2 > 0 ) {
				  						?>
				  						<td width="50%">
				  							<div class="user2_inner">
				  							<jdoc:include type="modules" name="user2" style="xhtml" />
				  							</div>
				  						</td>
				  						<?php
				  					}
										?>
									</tr>
									<tr>
										<td colspan="<?php echo $colspan; ?>">
											<img src="<?php echo $this->baseurl;?>/templates/ig1template/images/spacer.png" alt="" title="spacer" border="0" height="2" width="100"/><br />
										</td>
									</tr>
									<?php
									}
								?>
								<tr>
									<td colspan="<?php echo $colspan; ?>">
										<div id="pathway_text">
										<jdoc:include type="modules" name="breadcrumb" />
										</div>
									</td>
								</tr>
								<tr>
									<td colspan="<?php echo $colspan; ?>" class="body_outer">
				  					 <jdoc:include type="message" />
									<jdoc:include type="component" />
									</td>
								</tr>
								</table>


							</td>
							<?php
							if ( $right > 0 ) {
		  				?>
		  				<td>
			  				<div id="right_outer">
			  					<div id="right_inner">
			  					<jdoc:include type="modules" name="right" style="xhtml" />
			  					</div>
			  				</div>
		  				</td>
		  				<?php
		  			}
		  			?>

						</tr>
						</table>
		  		</div>
		  	</div>
		  </td>
	  </tr>
  </table>
</div>
<jdoc:include type="modules" name="footer" />
<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>

Locked

Return to “Template, CSS und Designfragen”