• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

ссылка из кнопки с названием страницы на &#107

paulnofear

New Pleskian
Всем привет !
я хочу настроить кнопку "форум" у себя на сайте
чтобы когда нажимаешь "форум" происходил переход на внешний форум mybb
сейчас переход происходит в 2 этапа (это не удобно):
1. нажать кнопку "форум" (открывается страница внутри сайта)
2. нажать на ссылку "форум сайта"
как настроить переадресацию при нажатии кнопки на сайте на другой сайт (форум)?
------------------
Hello everyone!
I want to customize the "Forum" on your site
so that when you press the "forum" there was a transition to the external forum mybb
Now a transition occurs in two steps (which is not)
1. click the "Forum" (opens a page within the site)
2. click on the link "Forum"
how to set up call forwarding when you click on the site to another site (forum)?
c35f1ee3a133.jpg
 
Привет, к сожалению, данный функционал пока не реализован. Навигационное меню не позволяет вставлять ссылки на сторонные ресурсы.
На вскидку могу предложить решение в виде кастомного Javascript кода, который будет перебивать ссылку для определённого элемента меню.
Добавлять такой код можно через меню "Settings/Advanced/Edit Metadata". Вставляем туда:

Code:
<script>
window.onload = function () {
    var items = document.querySelectorAll('ul.navigation > li:nth-child([B]2[/B]) a');
    for (var i = 0; i < items.length; i++) {
        items[i].onclick=function(){ document.location.href = '[B][url]http://parallels.com[/url][/B]'; return false; }
    }
}
</script>

Где "2" - это ваш порядковый номер элемента в меню, для которого вы хотите перебить ссылку. Ну и адрес для редиректа меняем на свой.
Это просто пример на основе CSS3 (будет работать только в современных браузерах). Можете видоизменить под себя.

--------------------------

Hello, unfortunately, this functionality isn't implemented yet. The navigation menu doesn't allow to insert the link to external resources.
By now I can propose workaround with custom Javascript code. This code change onclick handler of certain element of the menu.
It is possible to add such code through the Settings/Advanced/Edit Metadata menu. Insert this:

Code:
<script>
window.onload = function () {
    var items = document.querySelectorAll('ul.navigation > li:nth-child([B]2[/B]) a');
    for (var i = 0; i < items.length; i++) {
        items[i].onclick=function(){ document.location.href = '[B][url]http://parallels.com[/url][/B]'; return false; }
    }
}
</script>

Where "2" is number of an element in the menu for which you want to change the link.
It is just example on the basis of CSS3 (will work only in modern browsers). You can alter under yourself.
 
Back
Top