Git Product home page Git Product logo

superfish's People

Contributors

lionel-m avatar

Watchers

 avatar

Forkers

kikmedia

superfish's Issues

Contao 3.5

Hi,

i have updated my website to Contao 3.5.

The superfish extension works already.

It is possible to mark this extension to be Contao 3.5 compatible?

Best wishes

Subitems not rendering below "active" navigationpoint

Hello,
i had this issue some time ago but can´t find the solution at the moment.
I´m using Contao and Superfish (extension).
You can see the Problem @ http://core.oc-bo.de/

Template:

<ul class="<?php echo $this->level . (($this->level == "level_1") ? " sf-menu" : ""); ?>">
    <?php foreach ($this->items as $item): ?>
        <?php if ($item['isActive']): ?>
            <li class="<?php echo $item['class']; ?>"><span class="<?php echo $item['class']; ?>"><?php echo $item['link']; ?></span><?php echo $item['subitems']; ?></li>
        <?php else: ?>
            <li<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?>><a href="<?php echo $item['href']; ?>" title="<?php echo $item['pageTitle'] ? $item['pageTitle'] : $item['title']; ?>"<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?><?php if ($item['accesskey'] != ''): ?> accesskey="<?php echo $item['accesskey']; ?>"<?php endif; ?><?php if ($item['tabindex']): ?> tabindex="<?php echo $item['tabindex']; ?>"<?php endif; ?><?php if ($item['nofollow']): ?> rel="nofollow"<?php endif; ?><?php echo $item['target']; ?>><?php echo $item['link']; ?></a><?php echo $item['subitems']; ?></li>
        <?php endif; ?>
    <?php endforeach; ?>
</ul>

You can see, subitems are available at default but if i got the trail active, subitems ont display.

i know its a template "fault" but i´m trying for some time now and can´t find a solution.

thanks in advance :)

Bug after upgrading from 3.1.0 to 4.0.0-beta, Contao 3.5.6

Hi,

Superfish 3.1.0 worked without any problems.

After upgrading to 4.0.0-beta because of a newer Superfish version, the Contao error log shows the following error:

[29-Jan-2016 13:59:22 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not find template "nav_superfish_horizontal"' thrown in /www/htdocs/w01419a6/system/modules/core/library/Contao/TemplateLoader.php on line 123 #0 /www/htdocs/w01419a6/system/modules/core/library/Contao/Controller.php(76): Contao\TemplateLoader::getPath('nav_superfish_h...', 'html5') #1 /www/htdocs/w01419a6/system/modules/core/library/Contao/BaseTemplate.php(81): Contao\Controller::getTemplate('nav_superfish_h...', 'html5') #2 /www/htdocs/w01419a6/system/modules/core/library/Contao/Template.php(277): Contao\BaseTemplate->parse() #3 /www/htdocs/w01419a6/system/modules/core/classes/FrontendTemplate.php(46): Contao\Template->parse() #4 /www/htdocs/w01419a6/system/modules/core/modules/Module.php(505): Contao\FrontendTemplate->parse() #5 /www/htdocs/w01419a6/system/modules/core/modules/Module.php(387): Contao\Module->renderNavigation('4', 2, NULL, NULL) #6 /www/htdocs/w01419a6/system/modules/core/modules/ModuleNavigation.php(100): Contao\Module->renderNavigation('1', 1, NULL, NULL) #7 /www/htdocs/w01419a6/system/modules/core/modules/Module.php(282): Contao\ModuleNavigation->compile() #8 /www/htdocs/w01419a6/system/modules/core/modules/ModuleNavigation.php(50): Contao\Module->generate() #9 /www/htdocs/w01419a6/system/modules/core/library/Contao/Controller.php(313): Contao\ModuleNavigation->generate() #10 /www/htdocs/w01419a6/system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule(Object(Contao\ModuleModel), 'header') #11 /www/htdocs/w01419a6/system/modules/core/controllers/FrontendIndex.php(267): Contao\PageRegular->generate(Object(Contao\PageModel), true) #12 /www/htdocs/w01419a6/index.php(20): Contao\FrontendIndex->run() #13 {main}

Furthermore:

  • No more settings für Superfish in the page layout settings
  • No more template selection for Superfish in the navigation module

The html5 templates exist in the Templates folder of Superfish, the CSS files are also in the Files - Superfish - CSS folder.

Thanks in advance.

Joachim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.