Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Interface inkl. Theme erstellen -> Leere Frontendseite
 
creator2k
Jr. Member
 
Total Posts:  5
Joined:  2012-01-19
 

Moin Leute,

fange gerade an, mich in das Theming einzuarbeiten. Das BlankTheme nutze ich gerade als eine Art Vorlage um zu verstehen, wie was zusammen hängt.

Meine Dateistruktur:

/app/design/frontend/ultimate/default/layout/page.xml
/app/design/frontend/ultimate/default/template/page/threecolumn.phtml
/app/design/frontend/ultimate/default/template/page/html/head.phtml

/skin/frontend/ultimate/default/css/local.css
/skin/frontend/ultimate/default/images/

Nun die drei Dateien aus dem app-Ordner:

page.xml

<?xml version="1.0" encoding="utf-8" ?>

<default>

  <
block type="page/html" name="root" output="toHtml" template="threecolumn.phtml">
    <
block type="page/html_head" name="head" as="head">
      <
action method="addJs">
        <
script>prototype/prototype.js</script>
      
</action>
    </
block>
    
  </
block>

</default>

head.phtml

<title>
  
<?php echo $this->getTitle() ?>
</title>
<
script type="text/javascript">
  
//<![CDATA[
    
var BLANK_URL '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
    var 
BLANK_IMG '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
//]]>
</script>
<?php 
echo $this->getCssJsHtml() ?>
<?php 
echo $this->getChildHtml() ?>
<?php 
echo $this->helper('core/js')->getTranslatorScript() ?>

threecolumn.phtml

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="">
<head>

</head>
<body

<div class="wrapper">
<div class="page">
<div class="header-container">
header
</div>
<div class="main col3-layout">
breadcump
<div class="col-left sidebar">
left
</div>
<div class="col-right sidebar">
right
</div>
<div class="col-main">
global
content
</div>
</div>
<div class="footer">
footer
</div>
before end
</div>
</div>
absolutefooter
</body>
</html>

Was ich aber im Frontend sehe, ist eine leere Seite.

Kann mir jemand sagen, ob ich vielleicht etwas vergessen habe? Bin über Hinweise dankbar wink

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top