You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am thinking about implementing email activation routine after registration, and I need advice. Maybe @lonnieezell or others can share some.
From where I stand it seems that I would have to extend the shield EmailActivator class overwriting every method that returns a view, and then extend the shield controller ActionController and overwriting all of it's methods. Otherwise I will not be able to use Bonfire2 theming. Shield seems to include a trait Viewable to ease theming by returning a protected method view(), but I see the Bonfire uses a different trait Theamable and a method render() so it seems I cannot easily use Themable with the original Shield EmailActivator library and ActionController.
Am I on the right track here? Any other advice you can give me?
I am learning OOP and Bonfire2 seems to be a good project to tinker...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am thinking about implementing email activation routine after registration, and I need advice. Maybe @lonnieezell or others can share some.
From where I stand it seems that I would have to extend the shield EmailActivator class overwriting every method that returns a view, and then extend the shield controller ActionController and overwriting all of it's methods. Otherwise I will not be able to use Bonfire2 theming. Shield seems to include a trait Viewable to ease theming by returning a protected method view(), but I see the Bonfire uses a different trait Theamable and a method render() so it seems I cannot easily use Themable with the original Shield EmailActivator library and ActionController.
Am I on the right track here? Any other advice you can give me?
I am learning OOP and Bonfire2 seems to be a good project to tinker...
Beta Was this translation helpful? Give feedback.
All reactions