ThemeRepublic

Premium Joomla Templates

  • Categories
    Categories
    View categories that are created for the site and filter discussions by categories.
Spanners on Monday, October 25 2010, 08:15 PM

Another module type in the breadcrumb

0
Congrats on the great template. K2 is an excellent core upgrade and to see more K2 templates is fantastic.

I'm trying to publish a different type of module in the Breadcrumb position (like an image slider or banner).

It won't let me publish anything but the [b:3ctepf6u]mod_breadcrumb[/b:3ctepf6u].

I've managed to enable the breadcrumb on the Home page fine by editing the templates/pangea/index.php file and changing the code at line 87-89:

[code:3ctepf6u]<?php if ($menu->getActive() != $menu->getDefault()) : ?>
<p class="pathway"><jdoc:include type="module" name="breadcrumbs" /></p>
<?php endif; ?>[/code:3ctepf6u]

to...

[code:3ctepf6u]<p class="pathway"><jdoc:include type="module" name="breadcrumbs" /></p>[/code:3ctepf6u]

But it won't let me publish a different type of module, even just a [b:3ctepf6u]mod_custom[/b:3ctepf6u].

How do I allow another module type to be published there and stretch to the correct height?
Locked
The discussion has been locked.
       
  •  
    0
    Replied by zahir on Tuesday, November 09 2010, 05:53 AM · Hide · #1
    You could add a new module position below the breadcrumbs module:
    [code:2n21mesi]
    <?php if($this->countModules('modulePositionName')) : ?>
    <div class="modulePositionName">
    <jdoc:include type="modules" name="modulePositionName" style="xhtml" />
    </div>
    <?php endif; ?>
    [/code:2n21mesi]

    The above code adds a new module position with the name [b:2n21mesi]modulePositionName[/b:2n21mesi] and [b:2n21mesi]xhtml[/b:2n21mesi] chrome. You can change the chrome to any of the following: xhtml / raw / none / table / rounded etc.

    Hope that helps :)
Discussions are now locked. You will not be able to reply to this discussion

Recent Themes

The Joomla!™ name is used under a limited license from Open Source Matters in the United Statesand other countries.
ThemeRepublic.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.