Code Monkey home page Code Monkey logo

taxonomy_menu's Introduction

Hi there ๐Ÿ‘‹

taxonomy_menu's People

Contributors

adam-bergstein avatar dbuytaert avatar eclipsegc avatar indytechcook avatar jstephendix avatar nerdstein avatar troeglazov avatar unn avatar vasike avatar webchick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

taxonomy_menu's Issues

Terms nodes counters work wrong

Imagine we have 2 level vocabulary.

Cat -> SubCat

SubCat has 10 nodes.

Counters will look like
Cat (0) -> SubCat(10)

There is no logic in that behavior, for user there 10 posts or 20 if there is another sub category with 10 posts within. But not 0.

composer.json type field wrong?

It seems the type of the module inside the composer.json is wrong, as the module is installed under vendor and not under modules/contrib when running composer require drupal/taxonomy_menu on a Drupal 8 installation. Having the module installed under modules/contrib seems necessary for Drupal to be able to pick up the new module when using a composer based installation and not using Drush?

composer.json actual:

...
  "type": "module",
...

expected:

...
  "type": "drupal-module",
...

This was using the 8.x-3.x branch

Not working with block?

For anyone comes to this for reason taxonomy menu doesn't work with block, please check your block config page to see if the block visibility filter is duplicated with content types and content type, this is a mirror bugs of ctools. Before you to address the taxonomy menu block, please make sure your base root menu name you mapped to vocabulary is different with the vocabulary. If you applied the ctools patch and the vocabulary name is different with taxonomy root manu name, then the block will shows up as it should be.

I came across this problem and it takes me hours to find reason, I posted here in case anyone got this problem like me. Didn't know where should I post, the D8 document of taxonomy menu is not inited yet, so I write it here.

How can I bring all taxonomy terms under a parent menu

I am not sure if this should be added in issue queue at all. So sorry about it. May be marked as a feature request, if not somebody has already done it!

I created a taxonomy-menu with vocabulary category which has several taxonomy items defined under it. The configuration looks like:

Vocabulary -> Category
Menu -> Main Navigation
All menu entries -> Checked
Depth -> 1
Parent Menu Link -> Main Navigation

All taxonomy items are rendered as separate top level (level 0) menu items. My guess was it will use Category as parent item and under it the taxonomy terms will be added as sub-menu items.

Then I tried this:

Vocabulary -> Category
Menu -> Main Navigation
All menu entries -> Checked
Depth -> 1
Parent Menu Link -> Products

/products is a View page where all products get listed. In Page view source I did not see any taxonomy term got rendered.

Is there a way to do this?

NB: I rebuilt cache after making every change to taxonomy-menu.

UPDATE:
Because it creates separate menu items I dragged them under my Products menu from /admin/structure/menu/manage/main but after saving the tree structure resets and taxonomy menu items comes back under root.

Hide Empty Terms - D8

Is there a change to bring Back the possibility of Hiding Empty Terms for Taxonomy Menu for Drupal 8?

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.