Некодим логотипНекодим
МодификацииПубликацииНекодИИмЦены
Некодим логотипНекодим

© 2020-2026 Некодим

Готовые модификации для вашего сайта. Улучшайте функциональность и дизайн без программирования.

Компания

  • Контакты
  • Публичная оферта
  • Политика конфиденциальности
  • Согласие на обработку данных
  • Лицензионное соглашение
  • Реферальная программа

Полезное

  • Модификации
  • Публикации
  • Каталог блоков Tilda
  • MCP для агентов
  • Журнал изменений
  • Доска почёта

Личный кабинет

  • Вход
  • Регистрация
  • Цены
Журнал измененийИстория GitФайлыTilda MCP
Каталог файлов

tilda-members-init.js

Код файла
Версия от 04.12.2026, 04:03:52 МСК
Оригинал на CDNСнимок 56c3b845Полный текст
2401			path[1] === 'addresses' ||2402			path[1] === 'purchased-products' ||2403			path[1] === 'profile')2404	) {2405		if (path[1] === 'login' || path[1] === 'signup' || path[1] === 'recover-password') {2406			tma__loadFiles(['sign']);2407			tma__onFuncLoad('tma__sign__init', function () {2408				tma__sign__init(path[1]);2409			});2410		} else if (path[1] === 'courses') {2411			tma__getObjProfile(function () {2412
История файла и сравнение версий
  • 04.12.2026, 04:03:52 · 56c3b845
tma__getObjStyle(function () {
2413 tma__loadFiles(['userbar', 'courses']);
2414 tma__onFuncLoad('tma__courses__init', function () {
2415 tma__courses__init(path);
2416 });
2417 });
2418 });
2419 } else if (path[1] === 'orderlist') {
2420 tma__getObjProfile(function () {
2421 if (!window.tildaMembers.is_init_store) {
2422 document.location.replace('/members/');
2423 return;
2424 }
2425
2426 tma__getObjStyle(function () {
2427 tma__loadFiles(['userbar', 'orders']);
2428
2429 var funcNames = [
2430 'tmst__fetchData',
2431 'tmst__addHeaderFooter',
2432 'tmst__getDictObj',
2433 'tmst__orders__initPage',
2434 'tmst__createBreadcrumbsEl',
2435 ];
2436
2437 tma__onAllFuncLoad(funcNames, function () {
2438 tmst__orders__initPage();
2439 });
2440 });
2441 });
2442 } else if (path[1] === 'purchased-products') {
2443 tma__getObjProfile(function () {
2444 if (!window.tildaMembers.is_init_store) {
2445 document.location.replace('/members/');
2446 return;
2447 }
2448
2449 tma__getObjStyle(function () {
2450 tma__loadFiles(['userbar', 'purchased']);
2451
2452 var funcNames = [
2453 'tmst__fetchData',
2454 'tmst__getDictObj',
2455 'tmst__createBreadcrumbsEl',
2456 'tmst__purchased__initPage',
2457 ];
2458
2459 tma__onAllFuncLoad(funcNames, function () {
2460 tmst__purchased__initPage();
2461 });
2462 });
2463 });
2464 } else if (path[1] === 'addresses') {
2465 tma__getObjProfile(function () {
2466 if (!window.tildaMembers.is_init_store) {
2467 document.location.replace('/members/');
2468 return;
2469 }
2470
2471 tma__getObjStyle(function () {
2472 tma__loadFiles(['userbar', 'addresses']);
2473
2474 var funcNames = [
2475 'tmst__fetchData',
2476 'tmst__getDictObj',
2477 'tmst__fetchBuyerInfo',
2478 'tmst__addresses__initPage',
2479 'tmst__createBreadcrumbsEl',
2480 ];
2481
2482 tma__onAllFuncLoad(funcNames, function () {
2483 tmst__addresses__initPage();
2484 });
2485 });
2486 });
2487 } else if (path[1] === 'profile') {
2488 tma__getObjProfile(function () {
2489 tma__getObjStyle(function () {
2490 tma__loadFiles(['userbar', 'profile']);
2491
2492 var funcNames = [
2493 'tmst__fetchData',
2494 'tmst__getDictObj',
2495 'tmst__addHeaderFooter',
2496 'tmst_profile__initPage',
2497 'tmst__hexToRgb',
2498 'tmst__createBreadcrumbsEl',
2499 ];
2500
Предыдущие 100 строкСледующие 100 строк