New module position available in backend - not visible front

GK User
Sat Jul 05, 2014 5:03 pm
Hey guys!

I have used yout nice tutorial for the creation of nwe modules - the module-position is available and selectable in backend - but not visible in frontend.

templateDetails.xml:
Code: Select all
<position>kontakt</position>


default.php:
Code: Select all
  <header id="gkHeader"<?php if(!$this->API->modules('breadcrumb')) : ?> class="nobreadcrumb"<?php endif; ?>>
       <div id="gkHeaderTop">
          <div class="gkPage">
            <?php if($this->API->modules('topnav')) : ?>
            <div id="gkTopMenu">
               <jdoc:include type="modules" name="topnav" style="<?php echo $this->module_styles['topnav']; ?>" />
            </div>
            <?php endif; ?>
                 
            <?php if($this->API->modules('cart')) : ?>
            <div class="newstyle">
            <jdoc:include type="modules" name="myposition"
            style="<?php echo $this->module_styles['newstyle']; ?>" />
            </div>
            <?php endif; ?>

             <?php if($this->API->modules('kontakt')) : ?>
                   <jdoc:include type="modules" name="kontakt"
                   style="<?php echo $this->module_styles['kontakt']; ?>" />
                </div>
                <?php endif; ?>


                <?php if($this->API->modules('search')) : ?>
                <i class="gk-icon-search" id="gkSearchBtn"></i>
                <?php endif; ?>
         </div>
      </div>   


gk.const.php:
Code: Select all
   'usermenu' => 'none',
    'kontakt' => 'gk_style',

   
   'mainbody' => 'gk_style',


Here's the URL to the page:
http://www.cool-o-mat.com/zentrum/cms/

There should appear a module looking like an envelope (mailicon) - but nothing happens at all.
The module is published and available on all sites.

Any idea how to fix that issue?

Thank you for your support in advance!
User avatar
Expert Boarder

teitbite
Mon Jul 07, 2014 1:27 pm
Hi

I can see the code:

Code: Select all
<jdoc:include style="gk_style" name="kontakt" type="modules"> </jdoc:include>


instead of the module, which means that html entities were used instead. It may be a fault of text editor You have used. Please try joomla edit template files option instead in template's listing section.
User avatar
Moderator


cron