TemKa_SD Posted August 3, 2018 Share Posted August 3, 2018 Здравствуйте. У меня есть тот или иной компонент, я хочу добавить к нему произвольную страничку (созданную через Pages). Можно ли такое вообще сделать? Чтобы работал бреадкамп например. Link to comment Share on other sites More sharing options...
newbie Posted August 4, 2018 Share Posted August 4, 2018 Можете добавить метод в любой контроллер и вывести что угодно. Link to comment Share on other sites More sharing options...
TemKa_SD Posted August 4, 2018 Author Share Posted August 4, 2018 Скажите плиз куда копать примерно. Link to comment Share on other sites More sharing options...
newbie Posted August 4, 2018 Share Posted August 4, 2018 В сторону файла, который отвечает за вывод Пример Открываем \applications\forums\modules\front\forums\index.phpДобавляем protected function myCustomPage() { \IPS\Output::i()->output = 12345; }Переходим на forum_url/?do=myCustomPage 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now