Only the users are allowed to enter the Central Administration. Login
Widget Generator
`;
const loader = contentDiv.querySelector(`.hotengine-blog-page-list-div-loading`);
setTimeout(() => { if (loader) loader.style.opacity = "1"; }, 10);
const cacheParam = window.location.search.includes(`cacheclear`) ? `&cacheclear` : ``;
const encodedParam = param.includes(`%3A`) ? param : encodeURIComponent(param);
fetch(`/ajax_get_list_blog.php?c=${c}&n=${n}${cacheParam}¶m=${encodedParam}`, {
method: `GET`,
credentials: `same-origin`,
headers: {
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
"X-Requested-With": "XMLHttpRequest"
},
signal: (() => { const controller = new AbortController(); setTimeout(() => controller.abort(), 20000); return controller.signal; })()
})
.then(response => response.text())
.then(data => {
if (loader) {
loader.style.opacity = "0";
setTimeout(() => {
loader.remove();
contentDiv.innerHTML = data;
contentDiv.querySelectorAll(`script`).forEach(oldScript => {
const newScript = document.createElement(`script`);
Array.from(oldScript.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value));
newScript.appendChild(document.createTextNode(oldScript.innerHTML));
oldScript.parentNode.replaceChild(newScript, oldScript);
});
if (typeof window.callback_hotengine_blog_page_list_div_button === `function`) {
window.callback_hotengine_blog_page_list_div_button();
}
}, 300);
}
})
.catch(() => {
if (loader) loader.remove();
});
}
}
});
})();
The script for loading the next and previous articles in the menu must be inserted either into some menu that opens on all pages of the site (for example, in the header or in the menu where you paste the generated HTML menu code).
CSS стиль
CSS код вставляйте в design editor, to the CSS styles tab, after removing "<style type="text/css">" at the beginning, and </style> at the end. If the code is not used in the CSS style editor, then the code can be installed without changes. .hotengine-blog-categories-menu-active {- highlighting the active item in the menu. Replace "color:red;" to your preferred color or style.
The script for loading the next and previous articles in the menu must be inserted either into some menu that opens on all pages of the site (for example, in the header or in the menu where you paste the generated HTML menu code).
CSS стиль
CSS код вставляйте в design editor, to the CSS styles tab, after removing "<style type="text/css">" at the beginning, and </style> at the end. If the code is not used in the CSS style editor, then the code can be installed without changes. .hotengine-blog-categories-menu-active {- highlighting the active item in the menu. Replace "color:red;" to your preferred color or style.