Hallo zusammen,
hab bei mir Problem das ich bei meinen Modulen die Titel nicht ausblenden kann.
Ich hab schon herausgefunden das, dass an diesem teil meines quelltextes liegt:
Ich weiß das man damit die formatierung i-wie in Html Dateien selber machen kann. (Hab ich mir noch nicht so ganz angeschaut)Code:<?php } function modChrome_bottom($module, &$params, &$attribs) { ?> <div class="bottommodule module<?php echo $params->get('moduleclass_sfx'); ?>"> <h3 class="bottommodule_title"><?php echo $module->title; ?></h3> <div class="bottommodule_content"><?php echo $module->content; ?></div> </div> <?php } function modChrome_top($module, &$params, &$attribs) { ?> <div class="topmodule module<?php echo $params->get('moduleclass_sfx'); ?>"> <?php echo $module->content; ?> </div> <?php } ?> </div>
Wenn ich den Code aber herausnehme stehen bei nirged wo mehr modultitel auch wenn ich diese im Backend aktiviert hab.
Was genau muss ich hierfür ändern bzw. gibt es einen Vorteil das über eigene HTML Dateien zu machen?
Wenn ja wie funktioniert dies genau. Bin da nicht so schlau draus geworden.
Aber in erster Linie würde es mir langen das ganze übers Backen zu steuern.
Danke
Gruß
flipper880
Hier nochmal der ganze Quelltext:
Code:<!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/KDM/css/template.css" type="text/css" /> <link href="/templates/x/favicon.ico" rel="shortcut icon" type="image/x-icon" /> </style> </head> <body> <div id="body_container"> <?php if($this->countModules('user3')) : ?> <div id="top_container"> <jdoc:include type="modules" name="user3" style="top" /> </div> <?php endif; ?> <div id="site_header"> <a class="logo_link" target="_self" href="/cms/"></a> <?php if($this->countModules('rotator')) : ?> <div id="top_rotator"> <jdoc:include type="modules" name="rotator" style="top" /> </div> <div id="top_container"> <jdoc:include type="modules" name="rotator2" style="top" /> </div> <?php endif; ?> </div> <?php if($this->countModules('breadcrumb or user4')) : ?> <div id="panel_container"> <div class="search_container"> <jdoc:include type="modules" name="user4" style="raw" /> </div> <div class="breadcrumb_container"> <jdoc:include type="modules" name="breadcrumb" /> </div> </div> <?php endif; ?> <div id="mainarea"> <div id="left_colm"> <?php if($this->countModules('left')) : ?> <jdoc:include type="modules" name="left" style="leftright" /> <?php endif; ?> </div> <div id="right_colm"> <?php if($this->countModules('right')) : ?> <jdoc:include type="modules" name="right" style="leftright" /> <?php endif; ?> </div> <div id="content_area"> <div class="message_container"> <jdoc:include type="message" /> </div> <div class="content_frame"> <div class="content_top"></div> <div id="content_main"> <div class="content_main"> <jdoc:include type="component" /> </div> </div> <div class="content_bottom"></div> </div> <?php if($this->countModules('user1 or user2')) { $count_bottom_mod = '1'; if($this->countModules('user1 and user2')) { $count_bottom_mod++; } ?> <div id="bottommod_container"> <div class="bottommod_top"></div> <div class="bottommod_content"> <?php if ($count_bottom_mod < '2') { if($this->countModules('user1')) { ?> <jdoc:include type="modules" name="user1" style="bottom" /> <?php } if($this->countModules('user2')) { ?> <jdoc:include type="modules" name="user2" style="bottom" /> <?php } } else { ?> <div class="bottommod_left"> <jdoc:include type="modules" name="user1" style="bottom" /> </div> <div class="bottommod_right"> <jdoc:include type="modules" name="user2" style="bottom" /> </div> <div class="clear"></div> <?php } ?> </div> <div class="bottommod_bottom"></div> </div> <?php } ?> </div> </div> </div> <div id="bottom2"> <div class="link_bottom"> </div> <div class="copyright"> <?php if($this->countModules('footer')) : ?> <jdoc:include type="modules" name="footer" style="raw" /> <?php endif; ?></div> <?php function modChrome_leftright($module, &$params, &$attribs) { ?> <div class="mainmodule module<?php echo $params->get('moduleclass_sfx'); ?>"> <div class="mainmod_top"> <h3><?php echo $module->title; ?></h3> </div> <div class="mainmod_content_container"> <div class="mainmod_content"><?php echo $module->content; ?></div> </div> <div class="mainmod_bottom"></div> <br /> </div> <?php } function modChrome_bottom($module, &$params, &$attribs) { ?> <div class="bottommodule module<?php echo $params->get('moduleclass_sfx'); ?>"> <h3 class="bottommodule_title"><?php echo $module->title; ?></h3> <div class="bottommodule_content"><?php echo $module->content; ?></div> </div> <?php } function modChrome_top($module, &$params, &$attribs) { ?> <div class="topmodule module<?php echo $params->get('moduleclass_sfx'); ?>"> <?php echo $module->content; ?> </div> <?php } ?> </div> </body> </html>


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen