This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko 5 years, 9 months ago.
- Topic
Hello, everyone
When I follow the document about “How to Create a Basic Datagrid”, i get one error:
Variable “organization_name” does not exist.123456789in vendor/oro/customer-portal/src/Oro/Bundle/FrontendBundle/Resources/views/Organization/logo_frontend.html.twig at line 3 -{% set route = 'oro_frontend_root' %}{% if isDesktopVersion() %}{% if organization_name|length %}{% set logo = oro_theme_logo() %}<h1 class="logo logo-{{ logo ? 'image' : 'text' }}"><a href="{{ path(route) }}" title="{{ organization_name }}" rel="nofollow">at Twig_Template ->getContext (array('assetic' => array('debug' => false, 'vars' => object(ValueContainer), 'use_controller' => false), 'app' => object(AppVariable), 'ws' => array('port' => '8080', 'host' => '*', 'path' => ''), 'commerce' => array('layout' => 'OroFrontendBundle::base.html.twig'), 'bap' => array('layout' => '::base.html.twig'), 'oro_ui_content_provider_manager' => object(ContentProviderManager), 'route' => 'oro_frontend_root'), 'organization_name')in app/cache/dev/twig/5e/5e30885757ce64926a4e72378b7c35406c4af9e8b4c973a0f7d84bbdc3d64de2.php at line 27</a>I tried to add it to the twig file but it did not take effect.
My twig file:
Resources/views/Task/task.html.twig123456{% extends 'OroUIBundle:actions:index.html.twig' %}{% set gridName = 'app-tasks-grid' %}{% set pageTitle = 'Task' %}{% set organization_name = 'Aaxis' %}What should I do to avoid this problem?
Thanks!!
The forum ‘OroCommerce’ is closed to new topics and replies.