I have certain roll down menu items that I will need to disable at certain times.
Return to Recent Questions
Q:
I think that your product is great makes everything look nice and professional with the drop
down menu Items. My question is I have certain menu Items that I will need
to disable at certain times. I do this now using a standard button and
grabbing my parameters from an SQL database. Is there a way for me to
basically pull which menu items I need disabled and present the customized
menu for each client. I have read that your product has this ability I was
looking for a little guidance or maybee a write up on someone that has done
this.
A:
Unfortunately, Deluxe Menu doesn't have such a feature.
You should write your own code, for example, on PHP.
You can try to use the following function
function disable() {
dm_ext_changeItem(1, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
The example you can find on our site
http://www.deluxe-menu.com/dynamic-functions-sample.html
Please, see the source code on this page.
Return to Recent Questions
|