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

コントローラのないtwigの拡張ができない #3417

Closed
ryo-endo opened this issue Jul 30, 2018 · 1 comment
Closed

コントローラのないtwigの拡張ができない #3417

ryo-endo opened this issue Jul 30, 2018 · 1 comment
Milestone

Comments

@ryo-endo
Copy link
Contributor

概要(Overview)

EC-CUBE 3.n について、Controllerが無いブロックのtwigを拡張(パラメータを操作するなど)できない。
たとえば、Block/category.twig
3.0系ではできる。

期待する内容(Expect) or 要望 (Requirement)

Controllerが無いブロックのtwigを拡張できること。

@ryo-endo ryo-endo added this to the 3.n.0 milestone Jul 30, 2018
@ryo-endo
Copy link
Contributor Author

ryo-endo commented Aug 6, 2018

#3441 で修正

コントローラのあるtwig

EC-CUBE 3.n alpha-5 までと同じ実装でOK。
実装例: https://github.com/EC-CUBE/ProductReview-plugin/blob/038b915c815f786c5ff5c22c1a3c94ae15f0dc54/ProductReviewEvent.php#L60

コントローラの無いtwig

EC-CUBE 3.n alpha-5 までは拡張できませんでしたが、コントローラのあるtwig と同じ実装方法で拡張できるようになりました。

@ryo-endo ryo-endo closed this as completed Aug 6, 2018
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

1 participant