Code Monkey home page Code Monkey logo

breadcrumbdropdowns's Issues

Error when creating new page with alternate parent/template user setup

HI @Toutouwai,

If you're making use of https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users the breadcrumb trail looks like:
image

rather than showing:
image

This is a bit annoying on its own but it matches what the PW core does with the breadcrumb in this situation (maybe I should file an issue for Ryan about this).

I guess the key issue is that clicking "Add New" results in "ProcessPageAdd: The template 'user' does not allow parents of type 'clients'" - do you think this can be fixed?

Markup and CSS Fix / Improvement

Hi Robin

Just found a small issue, your breadcrumb UL is nested twice;
screenshot 2018-12-16 at 15 57 12

And the margin bottom 7px of .uk-breadcrumb .dropdown-toggle is not needed:
screenshot 2018-12-16 at 15 57 44

Both things lead to a slight “jumping” of the page headers depending if your breadcrumb is rendered (f.e. page edit) or not (f.e. user edit)

screenshot 2018-12-16 at 16 02 45

Cheers,
Noël

Respect $config->pageEdit['editCrumbs'] setting

Good day @Toutouwai and thanks for the great module!

There is a $config option for the pageEdit process, which allows to modify breadcrumbs behavior (change links to edit instead of open in tree). BreadcrumbDropdowns seems to not take that into account. Could you please change that so that we could use edit links and your module together?

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.