Code Monkey home page Code Monkey logo

craft-menus's People

Contributors

alvaxet avatar keithmancuso avatar sjadema avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

craft-menus's Issues

Menu not returning all Nodes

Hey,

I am using the getNodes() function but sadly not all my nodes are being returned ( about half my menu), when I reshuffle my nodes (all with various amount of children), dependent on the length of children more appear/disappear.

Is there a max amount of nodes which can be returned?

upon checking the source I found a function in the MenusVariable.php

function getFullMenu($menuHandle, $type)
{

$criteria = craft()->elements->getCriteria('Menus_Node');
$criteria->menu = $menuHandle;
return null;

}

Is this unfinished? do I need to add the type parameter to the query?

Other than that cool plug in!

Cheers,

John

Can't install

Hi, I can't install the plugin, maybe something breaks in the recent craft updates.

Thanks, great work!

craft3

Is it possible to use with craft 3?

Can't delete menu entries

Hey,

I can't delete menu entries. A delete always results in

Bad Request
POST param “categoryId” doesn’t exist.

As far as I remember it was working before. Could be that it broke during the last craft update?! Any suggestions ...

Using Craft 2.3.2640 and Menus 0.9.

Menus disables "GO" button in tools

With this plugin installed, I can't use the "Tools" section in settings. E.g. Clear cache, backup database. The "go" button is not available.

Add css class

I would love to see the ability to add a custom css class (or id) per menu entry.

Possible to add more fields Mega Menu options?

I was thinking it would be nice to have a couple more fields in addition to custom url.
An image field.
Summary field.
And as someone else mentioned css class.

This menu plugin is great and works great but I need to create a mega menu of sorts that will show the title, a short summary, and a button which would be the link, no images but that would just be a nice feature to have for mega menus.

Then I could just check if the nodes are child nodes to determine if those fields are used etc as it would then be considered part of a mega menu.

add field

Is it possible to add a field to a menu item? For example, I may want to see a "description" of the menu. Thanks!

__home__, /, and active class

If I create a menu linked to the homepage single
the generated URL is:

example.com/__home__

and the menu is highlighted as active, then if visiting

example.com/ 

the menu is no longer active
and I have the same content in both URLs

If instead I create a custom URL using just /
then the menu is always active because it sees all pages a children.

Is there a way around this?

What I would like to be able to do is just link to the homepage single and omit the

 __home__ 

from the generated URL.

Thanks.

Is it possible to create a breadcrumb based on the menu structure?

I'm trying to figure out if there's a way to create a breadcrumb navigation form a menu. I'd like to be able to search a menu's node for the current entry, and then get it's ancestors. Something like this:

<ul class="crumbs">
    {% for crumb in craft.menus.getNodes('mainMenu').relatedTo(entry).getAncestors() %}
        <li>{{ crumb.getLink() }}</li>
    {% endfor %}
</ul>

Similar to how you can output breadcrumbs based on a Structure:
http://buildwithcraft.com/help/breadcrumbs

CSRF protection

Hey guys,

awesome job on the plugin. I noticed you guys forgot to put in the getCsrfInput() in the templates/menu/_edit.html. I'll create a pull request to fix this.

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.