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

No easy way to configure widget for each page (for example footer section) #93

Open
bartoszkubicki opened this issue Feb 9, 2022 · 0 comments

Comments

@bartoszkubicki
Copy link

bartoszkubicki commented Feb 9, 2022

Using version trustpilot "2.6.566" there is no easy way to configure Trustbox for each page - for example to place review block inside footer. However Trustbox is available on each page layout (

<block class="Trustpilot\Reviews\Block\Trustbox" name="trustpilot.head.trustbox" as="trustpilot.head.trustbox" template="Trustpilot_Reviews::trustbox.phtml"/>
) and it's limited by condition in
if ($this->_request->getFullActionName() == 'cms_index_index') {

Shouldn't be configuration more granular and allow to place widget on every page? It is much easier to use custom url in configuration to place additional widget on homepage than doing the same for every page.

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