Jump to content

Identify theme by ID, index, or name , or...


Recommended Posts

I have few custom pages where i need to check which theme is used. Any ideas how to do it?

<?php
require_once('init.php');
\IPS\Dispatcher\External::i();

$html = '';

\IPS\Output::i()->sendOutput( \IPS\Theme::i()->getTemplate('global', 'core')->globalTemplate('CUSTOM PAGE', $html));

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...