Forums / General Questions / Help With Coding Challenge - Observer/Notfiers in admin?

Help With Coding Challenge - Observer/Notfiers in admin?

Locked

Views: 3,261

Results 21 to 22 of 22
This thread is locked. New replies are disabled.
16 Feb 2008, 8:54 AM
#21
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Help With Coding Challenge - Observer/Notfiers in admin?

It would be great to post your solution here, so that others who want to do the same thing can learn from you.

Regards

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

17 Feb 2008, 4:59 PM
#22
dayo avatar

dayo

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
1

Re: Help With Coding Challenge - Observer/Notfiers in admin?

Sorry for not telling but I solved the problem by changing my design criteria and abandoning the attempt as the admin observer class was a dead end.

A possible way to do it is to do the following

  1. Add code to create a db table in the "install" function in the module's file with a value of "false"
  2. Hard code encryption code into the save switch in modules.php that will run if the db table value is equal to "false"
  3. Add code to change the db table value to "true" after encryption code runs
  4. Add code to drop the table in the "remove" function in the module's file.

I decided not to bother with all this and head in another direction altogether instead lol.