Giter Club home page Giter Club logo

yii2-email-templates's People

Contributors

dependabot-preview[bot] avatar geoffry304 avatar greeflas avatar gt-volk avatar philippfrenzel avatar pptyasar avatar punkoder avatar seesoft-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yii2-email-templates's Issues

Interface as parameter in constructor

Hello,

I have an error on the latest version, I think the problem is the interface class as the paramter in the construct method of templatemanager.php

Exception (Not instantiable) 'yii\di\NotInstantiableException' with message 'Can not instantiate ymaker\email\templates\repositories\EmailTemplatesRepositoryInterface.'

in C:\xampp\htdocs\veto\vendor\yiisoft\yii2\di\Container.php:372

Stack trace:
#0 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\di\Container.php(156): yii\di\Container->build('ymaker\\email\\te...', Array, Array)
#1 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\di\Container.php(462): yii\di\Container->get('ymaker\\email\\te...')
#2 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\di\Container.php(370): yii\di\Container->resolveDependencies(Array, Object(ReflectionClass))
#3 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\di\Container.php(156): yii\di\Container->build('ymaker\\email\\te...', Array, Array)
#4 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\BaseYii.php(349): yii\di\Container->get('ymaker\\email\\te...', Array, Array)
#5 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\di\ServiceLocator.php(137): yii\BaseYii::createObject(Array)
#6 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\base\Module.php(742): yii\di\ServiceLocator->get('templateManager', false)
#7 C:\xampp\htdocs\veto\models\Mail.php(175): yii\base\Module->get('templateManager', false)
#8 C:\xampp\htdocs\veto\controllers\MailController.php(45): app\models\Mail->setCorrectTemplate()
#9 [internal function]: app\controllers\MailController->actionCreate()
#10 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#11 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#12 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('create', Array)
#13 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('mail/create', Array)
#14 C:\xampp\htdocs\veto\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#15 C:\xampp\htdocs\veto\web\index.php(12): yii\base\Application->run()
#16 {main}

unique validation not working

unique validation added for filed key is not working and getting error while creating an email template with same key as the previous one.
email-template

Not able to reach the generator

Hi!
I configured the extension and generated the tables trough migrate.
How can I reach the generator in my browser?

Thank you.

C.

Нет селекта с языками

На форме добавления/редактирования шаблона, нет селекта для выбора языка. Мультиязычность есть, но пользоваться ей нельзя получается так)

Responsiveness index

Hello

The index page is not responsive, you should remove the container class and the problem will be solved

With container
image

Without container
image

Generator is not working

Hello Team,
You guys really did the good work. I have integrated it into my application as defined I am using a yii2 advance template but unable to add in GII tools. I have added following code to my frontend/config/main.php in component section:

'modules' => [
        'class' => 'yii\gii\Module',
            'generators' => [
                'email-templates' => [
                    'class' => \ymaker\email\templates\gii\Generator::class,
                    'templates' => [
                        'default' => '@vendor/yiimaker/yii2-email-templates/src/gii/default',
                    ],
                ],
            ],
    ],

Could you please guide me to implement it. I tried all ways and ran migration tool but no success. It is not showing email template generator in GII.

showing only one validation error message when submitting blank form

issue
when submitting a blank form only field key required validation message is showing instead of all field validations.

extension version
version 2.1.0

steps to regenerate
step 1: click on create button from index page.
step 2: submit the form without filling the fields.

additional info

screenshot-admin etransglobal yii-2017-09-14-14-42-47

Not instantiable error using TemplateManager component

I am getting a "Not instantiable" error when using the TemplateManager component, I have declared it in the config like:

//...
'components' => [
    //...
    'TemplateManager' => [
        'class' => \ymaker\email\templates\components\TemplateManager::class,
    ],
    //...
],

and the error is triggered when I call:

\Yii::$app->get('templateManager');

Other features like the GII generator and the backend module seems to be working ok.

I am using Yii 2.0.14.2 and PHP 7.2.3

Change redactor

In 3.0.0 version redactor will be changed to TinyMCE or CKEditor because imperavi is not supported.

Suggest

I want to configure the system to send an error message. But the view is not friendly when looking at the phone. Can you write a beautiful view ? thinks

More complex widgets within template

Hi,

I would like to not only put text placeholder within the template - I would need placeholders for widgets which can although accept parameters - is this working already? How much code change would it need to make it possible?

Thanks Philipp

А где message source?

Invalid Configuration – yii\base\InvalidConfigException
Unable to locate message source for category 'back/email-templates'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.