質問 > フロント機能 > お問い合わせフォームを複数設置で違う項目を。 |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
umebius |
投稿日時: 2019/6/2 20:46
対応状況: −−−
|
神 登録日: 2016/7/22 居住地: 投稿: 2085 |
Re: お問い合わせフォームを複数設置で違う項目を。 ContactType.phpを読み込んでいる部分というのは
ContactControllerの下記です。 $builder = $app['form.factory']->createBuilder('contact'); ContactTypeにはgetNameメソッドで 'contact'という名前がつけられているのでこれで読み込むことができます。 src/Eccube/ServiceProvider/EccubeServiceProvider.phpであらかじめFormTypeを登録しておけば同じように読み込むことができます。 $types[] = new \Eccube\Form\Type\Front\ContactType2($app['config']);
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
お問い合わせフォームを複数設置で違う項目を。 | namishi | 2019/6/2 20:03 |
» Re: お問い合わせフォームを複数設置で違う項目を。 | umebius | 2019/6/2 20:46 |
Re: お問い合わせフォームを複数設置で違う項目を。 | namishi | 2019/6/2 20:49 |
Re: お問い合わせフォームを複数設置で違う項目を。 | dts_dse | 2020/1/25 11:01 |