Hello everyone,
I want to create a link on admin menu page, when i install my module. and when i uninstall it should remove it.
suppose i have a hello world module than the link should be displayed on the admin menu for hello world.
can any one know how to resolve this issue.?
many thanks
~ Prajay Patel
You need to use modification, either vqmod or ocmod, to add link to main menu.
If you use ocmod, user need the enable and rebuild the modification before the link show.
When uninstall, you can directly find your ocmod on database by it's code; disabled and rebuild automaticly to remove the link. or just ask user to disable the modification and rebuild the modification cache.
If you use vqmod, you can just rename the vqmod file on your module installer module.xml_ to module.xml to enable/ disable the modification.
If you use ocmod, user need the enable and rebuild the modification before the link show.
When uninstall, you can directly find your ocmod on database by it's code; disabled and rebuild automaticly to remove the link. or just ask user to disable the modification and rebuild the modification cache.
If you use vqmod, you can just rename the vqmod file on your module installer module.xml_ to module.xml to enable/ disable the modification.
Many Thanks for your reply "qahar".
Well i do not know more about ocmod as i am new in the opencart.
but i do know about vqmod. so what kind of code i have to write to resolve my issue. can you send me some example code for this issue.
if you can help me i will be so please.
Well i do not know more about ocmod as i am new in the opencart.
but i do know about vqmod. so what kind of code i have to write to resolve my issue. can you send me some example code for this issue.
if you can help me i will be so please.
Many Thanks
~ Prajay Patel
Who is online
Users browsing this forum: No registered users and 2 guests