Results 1 to 10 of 22

Threaded View

  1. #1
    Join Date
    Dec 2006
    Posts
    163
    Plugin Contributions
    1

    Default Help With Coding Challenge - Observer/Notfiers in admin?

    I am working on a payment module and got it working.

    However, I want to store a password as an encrypted string and cannot figure out at which point I can access the DB after the user clicks "Update" in Admin.

    After looking at the flow, I noticed that the Update button triggers the "Save" bit of code in Module.php which then saves the users selection in the DB.

    I will like to know if there is anywhere I could then take the field I am interested in after this point and run my encryption and resave.

    The encryption and SQL needed is not an issue but just where to put the code to do what I want it to do.

    I don't want to edit Module.php which is the only place I can think of at present.

    It would be great if there was a call to an "after-save" function in module.php that will allow developers to run code they want.

    Notwithstanding this, any ideas how to go about this?

    Thanks.
    Last edited by Dayo; 9 Feb 2008 at 04:02 PM.

 

 

Similar Threads

  1. Problems with Numinex Mod, can somebody help me with coding...
    By strugglingnovice in forum General Questions
    Replies: 5
    Last Post: 23 Sep 2013, 05:42 AM
  2. Require/Include Problems with custom coding in my Admin
    By g2ktcf in forum Code Collaboration
    Replies: 5
    Last Post: 28 Jan 2013, 06:12 PM
  3. Help with Coding Issues
    By karenkte in forum General Questions
    Replies: 2
    Last Post: 28 Dec 2012, 09:25 PM
  4. Help with coding
    By rbarbour in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Aug 2011, 12:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg