× Requests and support related to jBackend.

request to get the menu

  • francoisbp
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #3881 by francoisbp
request to get the menu was created by francoisbp
Hello, I'd love to get a request point where i can request the menu id and get in return the menu points of that menu with the menu items type and links and refs... you think it is possible?

Please Log in or Create an account to join the conversation.

More
9 years 3 weeks ago #3884 by admin
Replied by admin on topic request to get the menu
Not sure about the requirement. Do you need a kind of "menu catalog" module?

It seems strange you know the id of a menu item, usually you need first to request a list of items...

Anyway, it is always possible to build a custom module, using the documentation here:

www.selfget.com/documentation/jbackend-joomla30/developers-guide.html

Or requesting a custom module here:

www.selfget.com/services/technical-support/jbackend-custom-modules.html

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • francoisbp
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #3885 by francoisbp
Replied by francoisbp on topic request to get the menu
Wow quick response :) thanks,

Suppose I have a menu with 20 menu items:
Cat A
- sub-cat AA
-- article AA1
-- article AA2
- sub-cat AB
-- article AB1
-- article AB2
Cat B
-sub-cat BA
etc...

I have created a menu with the menu module provided by joomla and now that I just started playing with jbackend I was thinking to fetch the menu and menu-items and create a directive for it in java script.

I have tried with variations on this:
http:/localhost:8080/jbackendmenupoint/get/mod_menu?var1=id&var2=1

My aim is to get my menu as a full json object so that I can play with it properly in js :)

but so far no luck :(... i get req_mns error, so either i specify my module incorrectly or i have wrong request parameters. I will plunge into the documentation a bit more.

Please Log in or Create an account to join the conversation.

More
9 years 3 weeks ago #3886 by admin
Replied by admin on topic request to get the menu
There is a little problem here. jBackend supports a request only if there is a jBackend module (enabled on the end point) for the request itself. So if you try to guess what you can do with it, you probably are wasting your time... :)

For a list of available modules and functions take a look here:

www.selfget.com/documentation/jbackend-joomla30.html

If you need help with a little custom module specific for yoir project, you can ask for support here:

www.selfget.com/services/technical-support/jbackend-custom-modules.html

Kind regards.
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds