> 管理機能 > ポイントプラグインに関してのご質問です。 |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
konpei |
投稿日時: 2016/10/5 15:38
対応状況: −−−
|
半人前 登録日: 2016/9/21 居住地: 投稿: 12 |
Re: ポイントプラグインに関してのご質問です。 umebius様
ご回答ありがとうございます。 ご連絡が遅れてしまい大変申し訳ありません。 上記の内容を参考にしさせていただき class TopController { public function index(Application $app) { return $app->render('index.twig'); $point = null; if($app->isGranted('ROLE_USER')){ $point = $app['eccube.plugin.point.repository.pointcustomer']->getLastPointById($app->user()->getId()); } return $app->render('index.twig', array('point' => $point)); } } と TopController.phpに記載させていただきました。 そして {{ point.current >= 0 ? point.current|number_format : 0 }} と表示させたいところに記載しましたが表示されませんでした.... こちらはトップヘージの中に新規で作ったブロックをレイアウトで追加しそちらに表示させているのが原因となるのでしょうか? 何度も申し訳ありません。。。 宜しくお願いいたします。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
ポイントプラグインに関してのご質問です。 | konpei | 2016/9/27 0:13 |
Re: ポイントプラグインに関してのご質問です。 | umebius | 2016/9/30 8:18 |
Re: ポイントプラグインに関してのご質問です。 | konpei | 2016/10/1 6:58 |
Re: ポイントプラグインに関してのご質問です。 | umebius | 2016/10/4 1:48 |
» Re: ポイントプラグインに関してのご質問です。 | konpei | 2016/10/5 15:38 |
Re: ポイントプラグインに関してのご質問です。 | umebius | 2016/10/5 16:15 |
Re: ポイントプラグインに関してのご質問です。 | umebius | 2016/10/5 16:23 |
Re: ポイントプラグインに関してのご質問です。 | konpei | 2016/10/5 17:59 |
Re: ポイントプラグインに関してのご質問です。 | umebius | 2016/10/5 20:41 |