Jump to content

Featured Replies

  • 1 месяц спустя...
On 18.11.2024 at 09:51, Exception said:

Никак не должны, тему с нуля делай

It doesn’t make any sense. How are we supposed to change for example the userBar? A “template hook” wouldn’t allow me to remove things or change the order of the elements.

9 часов назад, none.eru.iluvata said:

In Invision 5 such level of modification is no longer possible. You’d have to build an App.

Even if I would try to build an app (which I’m currently doing) - there is no real documentation for code hooks, template overriding or such things. So, I’m still in the dark to how I could replace for example the whole userBar.phtml, which I did before easily with the template editor in v4.

Are there any documentation how I can change the whole template file, without having to add template hooks (which only has 4 hook types but no replace)?

1 hour ago, Respected said:

Полностью шаблон заменить не получится. Нужно его скрывать с помощью CSS и добавлять свой.

Duplicated DOM elements, same purpose, but just hiding. I don’t think that this should be the way of handling template changes. They really messed this one up. I think there is a way to manipulate the static template output and manipulate it trough an application before serving it to the client. Trying to reverse engineer the new codebase and hopefully find a way for an application to achieve this.

No direct modification to the static templates. Just manipulated output before serving :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.