I wanted to add a new page in advanced section on the left side (after log).
Where I want to populate an overview of how many users used which display and which content/layout was watched most.
Are there any updates from your end?
There are no manuals to create API in player end in advanced section.
At least the windows source code is expected to be customizable.
I’m not sure what you mean by how many users used which display as for content on the displays then that’s already reported in the proof of play statistics (which can be called via API as well as web ui).
Or do you need some other specific data that is not included there?
You certainly could create a new menu item with twig views and controller that would have the function you want then connect that to middleware for webui/api access route - that is explained in extending manual page
I will need to add the twig file also. but there is not documentation for the whole flow which to connect when. would be great help if you could assist.
Loading this said unexpected error.
Its obviously because config array is not supposed to contain the last parameter. Which config.php should be edited. It seems I am editing the wrong config, wrongly.
Overriding would mean that I only need to keep the updated twig file here, and remaining it takes up from the original project root (…/…/views) (correct? or do I need to copy all the other twigs also even though they aren’t changed)
So, I have copied the authed-sidebar.twig and added the tag param here :
The change you made in Custom or to be more specific in the authed-sidebar would be enough if you would provide a link to some external webpage or something like that.
However, since you are linking that to a new twig view file, then that file would need to exist in the /custom/views
and you’d need to have your controller and middleware in /custom as well
With this in the config.php :
$config = array(
‘theme_name’ => ‘client Theme’,
‘theme_title’ => ‘client solution’,
‘app_name’ => ‘client solution’,
‘theme_url’ => ‘http://client.com/’,
‘cms_source_url’ => ‘http://client.com/’,
‘cms_install_url’ => ‘http://client.com/’,
‘cms_release_notes_url’ => ‘http:/client.com/’
‘view_path’ => PROJECT_ROOT . ‘/web/theme/custom/client/views/’
);
It throws a 500 error and doesn’t even load the page. I dont think this is the way project root is to be set for a custom theme. When I only have a URL in the side bar, then also it doesnt load.
{% if currentUser.routeViewable("/tag") %}
<li class="sidebar-list"><a href="http://client.com/estore/">{% trans "Tags" %}</a></li>
{% endif %}
Is this enough file structure when I only want to show a link in side bar that redirects to external page?