Files
b2b.redline.com.pl/modules/creativeelements/core/base/theme-page-document.php
Jacek Pyziak 6cc26c0ed2 Add Creative Elements templates and update index files
- Introduced new templates for catalog, checkout, contact, and error pages.
- Implemented caching headers and redirection in index.php files across various directories.
- Enhanced product and layout templates for better integration with Creative Elements.
- Added backoffice header styles and scripts for improved UI/UX in the admin panel.
2025-07-01 00:56:07 +02:00

36 lines
856 B
PHP

<?php
/**
* Creative Elements - live Theme & Page Builder
*
* @author WebshopWorks, Elementor
* @copyright 2019-2022 WebshopWorks.com & Elementor.com
* @license https://www.gnu.org/licenses/gpl-3.0.html
*/
namespace CE;
defined('_PS_VERSION_') or die;
use CE\CoreXBaseXThemeDocument as ThemeDocument;
use CE\CoreXDocumentTypesXPost as Post;
use CE\TemplateLibraryXSourceLocal as SourceLocal;
abstract class CoreXBaseXThemePageDocument extends ThemeDocument
{
public function getCssWrapperSelector()
{
return 'body.ce-theme-' . \Tools::substr($this->getMainId(), 0, -6);
}
protected function _registerControls()
{
parent::_registerControls();
if ('product' !== $this->getName()) {
Post::registerPostFieldsControl($this);
}
Post::registerStyleControls($this);
}
}