× If you report a bug please specify the joomla and component version.

Total items in menu per category

6 years 8 months ago #1579 by sidewind

Bram,

That's the thing. After changing I don't have a menu item with all the products any more.

It's replaced with the home menu item for a single joomla item.
In the joomla menu I have the categories as given with Select 0 in the datafeed component.

Is it possible to make it count multiple categories?

Greetz,

Sander.

I'm making a test-site to show you.


Joomla versie: 2.5.28 & 3.4.3
Datafeed component versie: 2.5.2038 & 3.1.2072

www.kledingstunts.nl
www.bestelsuperdeals.nl

test shop: test.superdeals-online.nl


  • Posts: 157
  • Karma: 4
  • Thank you received: 10

  • Gender: Male
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 8 months ago #1580 by bram

    I'm a bit lost in what you want the achieve how

    you created custom layout, I can't digg in the code so can't tell about issues there. This is how it should work

    joomla menu :

    HOME menu for single article id =10
    CAT1 menu datafeeds for CAT1 id=11
    CAT2 menu datafeeds for CAT2 id=12
    ALL menu datafeeeds for everything ( hidden menu ) id=999

    without the default id set a mod_datamenu will not display anything on HOME, using default id set to 999 it will display results based on menu ALL when on HOME

    however do you really think your visitors care about the EXCACT count? Simple create a custom html module and fake a number.



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 8 months ago - 6 years 8 months ago #1585 by sidewind

    Bram,

    On this test site: test site

    I made a joomla menu item to an article in my topmenu, called Home.
    I made also a hidden menu and a hidden menu item, called Shop. id=110.

    On the left I placed a custom mod_datamenu, called Totals. Gave this default id: 110.
    Under that I placed a custom mod_datamenu, called Categorie. Gave this also default id: 110.
    (this module is the custom count_menu)

    When I now click on a category in the menu, it shows the name of the menu item in the title, url and breadcrumbs.

    This is not gonna work 100% with the hidden menu I think.

    Maybe it is only possible with a more custom module for the totals?

    I hope this helps to explain better wat I try to achieve.

    Thank you.

    Greetz,

    Sander.


    Joomla versie: 2.5.28 & 3.4.3
    Datafeed component versie: 2.5.2038 & 3.1.2072

    www.kledingstunts.nl
    www.bestelsuperdeals.nl

    test shop: test.superdeals-online.nl


  • Posts: 157
  • Karma: 4
  • Thank you received: 10

  • Gender: Male
  • Birthdate: Unknown
  • Last Edit: 6 years 8 months ago by sidewind.

    Please Log in to join the conversation.

    6 years 8 months ago #1586 by bram

    you need the hidden menu to get the total count.

    if you want to have a mod_datamenu for each joomla-datafeeds-menu you will need to create several modules for them each with the correct default id ( and assign them to the home page only)

    set levels to 1,1 or 1,2 to avoid to much on your page

    you could try a single menu with a comma seperated list for the default id.


    then you will need one more mod_datamenu for the navigation assigned to all pages except the home page



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 8 months ago #1588 by sidewind

    Bram,

    I'm working with your advised steps.
    Is it possible to set the levels to show only level 1 and 9 ?

    Did you also change something in the component with the latest version 1637?
    When i click on a category the other disappear. I thought that was not the case in the version before.

    Greetz,

    Sander.


    Joomla versie: 2.5.28 & 3.4.3
    Datafeed component versie: 2.5.2038 & 3.1.2072

    www.kledingstunts.nl
    www.bestelsuperdeals.nl

    test shop: test.superdeals-online.nl


  • Posts: 157
  • Karma: 4
  • Thank you received: 10

  • Gender: Male
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 8 months ago #1591 by bram

    sidewind wrote:

    Bram,

    I'm working with your advised steps.
    Is it possible to set the levels to show only level 1 and 9 ?

    you will need two menu for that.

    the level refer the the menu levels in the menu configuration, not the Select field from the datafeeds configuration. So if you consider the values in menu level 9 important you should move them to menu level 2
    sidewind wrote:
    Did you also change something in the component with the latest version 1637?
    When i click on a category the other disappear. I thought that was not the case in the version before.

    Greetz,

    Sander.

    in the _count version?

    should work as the old version, ( using the smart algo)



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    Time to create page: 0.053 seconds
    Powered by Kunena Forum