Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class email.EmailModule does not exist #11

Closed
iceman2hot4u opened this issue Jun 24, 2016 · 7 comments
Closed

Class email.EmailModule does not exist #11

iceman2hot4u opened this issue Jun 24, 2016 · 7 comments

Comments

@iceman2hot4u
Copy link

iceman2hot4u commented Jun 24, 2016

So, I installed the module but I get this error when I'm trying to access 'www.mysite.com/email'.

My main.php config for the email module is:

'aliases' => array( 'vendor' => '/../../vendor', 'email' => 'vendor/cornernote/yii-email-module/email', ), 'modules' => array( 'email' => array( 'class' => 'email.EmailModule', 'adminUsers' => array('@'), 'autoCreateTables' => true, 'connectionID' => 'db', ), ),

I am using Yii2 Advanced Template.

Do you have any idea why I have this error?

@cornernote
Copy link
Owner

This module is for yii1

On 24 Jun 2016 8:32 pm, "Alexandru Coman" notifications@github.com wrote:

So, I installed the module but I get this error when I'm trying to access '
www.mysite.com/email'.

My main.php config for the email module is:

'aliases' => array(
'vendor' => '/../../vendor',
'email' => 'vendor/cornernote/yii-email-module/email',
),
'modules' => array(
'email' => array(
'class' => 'email.EmailModule',
'adminUsers' => array('@'),
'autoCreateTables' => true,
'connectionID' => 'db',
),
),

I am using Yii2 Advanced Template.

Do you have any idea why I have this error?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11, or mute the
thread
https://github.com/notifications/unsubscribe/AADKo22u2WfAa39y5NqgmMu2b5wpRpGBks5qO7legaJpZM4I9q7f
.

@iceman2hot4u
Copy link
Author

Oh, I'm stupid. Thank you.

@cornernote
Copy link
Owner

No problem, I found yii2 has pretty good built in email functionality so I
haven't ported this

On 24 Jun 2016 8:41 pm, "Alexandru Coman" notifications@github.com wrote:

Closed #11 #11.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AADKo8I9iOwQLO2wJZpe-eIvsJoS29liks5qO7t3gaJpZM4I9q7f
.

@iceman2hot4u
Copy link
Author

I know. I was looking for something with an UI.
Guess I need to make it myself.
Thank you.

@cornernote
Copy link
Owner

A UI for managing the templates? I prefer them to be php, but being
mustache in the db was good because users could modify them... Maybe I'll
reconsider porting this at some stage

On 24 Jun 2016 8:49 pm, "Alexandru Coman" notifications@github.com wrote:

I know. I was looking for something with an UI.
Guess I need to make it myself.
Thank you.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AADKoyRbPCrBRLP-mkgw6QZd8e0oKgMSks5qO71EgaJpZM4I9q7f
.

@iceman2hot4u
Copy link
Author

Yes. I need to make an UI for managing the templates. I will make them php and add some available variables so that the user can modify them.

@cornernote
Copy link
Owner

Storing php in the database rings security alarms in my head. I recommend
using mustache or some other template language

On 24 Jun 2016 11:52 pm, "Alexandru Coman" notifications@github.com wrote:

Yes. I need to make an UI for managing the templates. I will make them php
and add some available variables so that the user can modify them.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AADKowYy_bb6yX2RTz_8O-DkHpn8ot2qks5qO-gIgaJpZM4I9q7f
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants