# Настройка макета

В главном макете Вашего сайта укажите css/js скрипт для работы модуля (обычно в пределах тега \<head>\</head>)

{% tabs %}
{% tab title="php Core\_Page" %}
{% code lineNumbers="true" %}

```php
<head>
	<!-- ... ваш код title и тд -->
	<?php
		Core_Page::instance()
			/* ... тут ваши css ... */
			->css('/hostcmsfiles/asmp_subscription/css/subscription9999.css')
			->showCss();
	?>
	<?php
		Core_Page::instance()
			/* ... тут ваши js ... */
			/* все js должны быть подключены после jQuery */
			->js('/hostcmsfiles/asmp_subscription/js/subscription9999.js')
			->showJs();
	?>
</head>
```

{% endcode %}
{% endtab %}

{% tab title="html inline" %}
{% code lineNumbers="true" %}

```php
<head>
	<!-- тут ваш код, css и js -->
	<link rel="stylesheet" type="text/css" href="/hostcmsfiles/asmp_subscription/css/subscription9999.css" />
	
	<!-- все js должны быть подключены после jQuery -->
	<script src="/hostcmsfiles/asmp_subscription/js/subscription9999.js"></script>>
</head>
```

{% endcode %}
{% endtab %}
{% endtabs %}

{% hint style="danger" %}
**Готовый пример можно увидеть в демо макете созданном после установки модуля**

в css и js файлах **9999** - Ваш уникальный номер файла при установке, посмотреть можно в папке **/hostcmsfiles/asmp\_subscription/\*/**, т.к. все файлы без уникального номера при обновлении будут заменяться на новые
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.morozovpimnev.ru/subscription/nastroika-maketa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
