Jump to content

mending3

Member
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mending3

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I modified .htaccess in root directory. if future updates reverts it, what's the best practice to modify the .htaccess so that future updates won't revert it?
  2. for example, if I visit admin/addonmodules.php?module=mycustommodule&action=new_html_template it will be whole new html (smarty template), you know... new_html_template.tpl <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <span>{$myVar}</span> </body> </html> how do I do this?
  3. I asked this because I thought I need hook to do this. but the main issue is how do I run something when the Save button is clicked?
  4. in the hook I want to be able to get the module addon info too
  5. newb whmcs module addon dev. here. I want to run a hook every time the Save Changes button clicked. how do I do it? Complete step from how to create a hook + code sample would be hugely appreciated. this is on admin/configaddonmods.php page
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated