### Get Project Info Example Source: https://help-ru.tilda.cc/api This PHP snippet demonstrates how to fetch project information using the Tilda API. It requires your public and secret keys, along with the project ID. The result is then decoded into a PHP array for further processing. ```php $result = file_get_contents('https://api.tildacdn.info/v1/getprojectinfo/?publickey=00000000000000000000&secretkey=00000000000000000000&projectid=0'); $project = json_decode($result, true); print_r($project); ``` -------------------------------- ### Example Cookie Data with UTM Parameters (Detailed) Source: https://help-ru.tilda.cc/forms/webhook Provides a more detailed example of the COOKIES variable containing encoded UTM parameters, demonstrating the structure for source, medium, campaign, content, and term. ```text COOKIES=TILDAUTM%3Dutm_source%253Dyandex%257C%257C%257Cutm_medium%253Dcpc%257C%257C%257Cutm_campaign%253Dpromo%257C%257C%257Cutm_content%253Dblocktext%257C%257C%257Cutm_term%253Dpoisk%257C%257C%257C ``` -------------------------------- ### Get Page Information JSON Response Source: https://help-ru.tilda.cc/api Example JSON response for the getpage API method, containing page details and HTML. ```JSON { "status": "FOUND", "result": { "id": "1001", "projectid": "0", "title": "Page title", "descr": "", "img": "", "featureimg": "", "alias": "", "date": "2014-05-16 14:45:53", "sort": "80", "published": "1419702868", "html": "some html page code", "filename": "page1001.html", "js": [ ... ], "css": [ ... ] } } ``` -------------------------------- ### Get Full Page Information JSON Response Source: https://help-ru.tilda.cc/api Example JSON response for the getpagefull API method, containing the full HTML content of a page. ```JSON { "status": "FOUND", "result": { "id": "1001", "projectid": "0", "title": "Page title", "descr": "", "img": "", "featureimg": "", "alias": "", "date": "2014-05-16 14:45:53", "sort": "80", "published": "1419702868", "html": "some html page code", "filename": "page1001.html" } } ``` -------------------------------- ### Facebook App Creation Steps Source: https://help-ru.tilda.cc/comments This snippet outlines the initial steps for creating a Facebook App, including selecting the app type and providing basic information. ```text 1. Go to Facebook for developers: https://developers.facebook.com 2. Click "My Apps" and then "Create App". 3. Select "Company" as the app type. 4. Enter an App Name, contact email, and select a purpose, then click "Create App". ``` -------------------------------- ### Max Bot Start Command Source: https://help-ru.tilda.cc/forms/max Use the /start command to initiate interaction with the Max bot. This is required for initial setup and obtaining API keys. ```bash /start ``` -------------------------------- ### Example Server-Side Script (PHP) Source: https://help-ru.tilda.cc/formswebhook This is an example PHP script that can be hosted on your server to receive data via Webhook and forward it to an email address. Remember to replace the placeholder email addresses with your actual ones. ```PHP ``` -------------------------------- ### Two Menus: Static and Scroll-Appearing Source: https://help-ru.tilda.cc/design-menu Configure two menus: one static on the cover and another that appears upon scrolling. The scroll-appearing menu can have different content and a semi-transparent background. ```Tilda Settings Первое меню (остается на обложке) Основные настройки > Поведение позиционирования — С наложением на следующий блок, но без фиксирования Фон меню > Непрозрачность фона меню — 0% Второе меню (появляется при скролле) Основные настройки > Поведение позиционирования — Фиксация при скролле Основные настройки > Появление меню при прокрутке через N пикселей — 600px Фон меню > Цвет фона меню — на выбор Фон меню > Непрозрачность фона меню — 70% ``` -------------------------------- ### Get Page Export Information JSON Response Source: https://help-ru.tilda.cc/api Example JSON response for the getpageexport API method, providing page content and file references for export. ```JSON { "status": "FOUND", "result": { "id": "1001", "projectid": "0", "title": "Page title", "descr": "", "img": "", "featureimg": "", "alias": "", "date": "2014-05-16 14:45:53", "sort": "80", "published": "1419702868", "images": [ { "from": "", "to": "" }, { "from": "", "to": "" }, { "from": "", "to": "" } ], "js": [ { "from": "", "to": "", "attrs": [ "async" ] }, { "from": "", "to": "", "attrs": [ "defer" ] }, { "from": "", "to": "", "attrs": [ "nomodule" ] } ], "html": "body page html-code with local links to files", "filename": "page1001.html" } } ``` -------------------------------- ### Get Full Page Export Information JSON Response Source: https://help-ru.tilda.cc/api Example JSON response for the getpagefullexport API method, providing the full page HTML and file references for export. ```JSON { "status": "FOUND", "result": { "id": "1001", "projectid": "0", "title": "Page title", "descr": "", "img": "", "featureimg": "", "alias": "", "date": "2014-05-16 14:45:53", "sort": "80", "published": "1419702868", "images": [ { "from": "", "to": "" }, { "from": "", "to": "" }, { "from": "", "to": "" } ], "html": "full page html-code with local links to files", "filename": "page1001.html" } } ``` -------------------------------- ### Table Body Data Example Source: https://help-ru.tilda.cc/tables Populate the table body with data, separating columns with semicolons and rows with new lines. ```text 08:00;Хатха-йога;Иванова Анна 10:30;Пилатес;Сидорова Алеся 13:00;Аэробика;Петрова Инесса ``` -------------------------------- ### Configure Tilda for CommerceML Synchronization Source: https://help-ru.tilda.cc/online-store-payments/1c-commerceml In Tilda's 'Products' section, enable CommerceML synchronization. Copy the connector details and configure options for creating, updating prices, and updating stock for new and existing products. ```javascript Перейти в раздел «Товары» на Тильде (раздел доступен после подключения модуля «Каталог товаров»), кликнуть «Синхронизация через CommerceML», скопировать значения в полях «Ссылка на коннектор», «Имя пользователя», «Пароль», перейти в «Дополнительные настройки», отметить галочки «Создавать новые товары», «Обновлять цены», «Обновлять остатки» и кликнуть «Включить синхронизацию» ``` -------------------------------- ### Using ME601 for Second-Level Menus Source: https://help-ru.tilda.cc/design-menu Combine a main menu block (like ME301N) with the ME601 block to create expandable second-level menus. This is useful for complex site structures and appears on hover or tap. ```Tilda Settings Добавить на страницу блок **ME301N** , настроить меню, как в примерах выше и добавить блок ME601 (Меню: второй уровень). ```