9IPOCTb Posted March 8, 2018 Share Posted March 8, 2018 Приветствую, уважаемые форумчане. Подскажите, можно ли обычную HTML страницу перенести в приложение Страницы? Пытался своими силами, но вышло не очень, т.к. не знаю куда загружать файлы HTML страницы Link to comment Share on other sites More sharing options...
Zero108 Posted March 8, 2018 Share Posted March 8, 2018 Страницы - Управление страницами - Страницы - Добавить страницу - Ручной HTML 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 8, 2018 Author Share Posted March 8, 2018 так и делал, но обычно в подобных страницах есть css файлы, и js их понятно куда грузить, но так же встречаются php файлы и ajax куда и как их вставлять? Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 8, 2018 Author Share Posted March 8, 2018 куда все эти файлы добавить?(( http://prntscr.com/iopjgp Link to comment Share on other sites More sharing options...
newbie Posted March 9, 2018 Share Posted March 9, 2018 куда все эти файлы добавить?(( Можете в корень форума кинуть, а дальше подключить. 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 9, 2018 Author Share Posted March 9, 2018 подскажите пожалуйста, каким образом их подключить? примерный код Link to comment Share on other sites More sharing options...
newbie Posted March 9, 2018 Share Posted March 9, 2018 css через js через <script type="text/javascript" src="ссылка"> 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 21, 2018 Author Share Posted March 21, 2018 Сделал главную, подскажите как сделать так чтобы вывести блок с форума на главную страницу форума? какой код прописать? Установлено приложение: Testimonials Manager 2.0.1спасибо! Link to comment Share on other sites More sharing options...
newbie Posted March 22, 2018 Share Posted March 22, 2018 Сделал главную, подскажите как сделать так чтобы вывести блок с форума на главную страницу форума? какой код прописать? Как сделали? Какой блок? 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 22, 2018 Author Share Posted March 22, 2018 как вы и говорили, обычную HTML страницу через Pages внедрил. залив папки на хостингМожете в корень форума кинуть, а дальше подключить. css через <link rel="stylesheet" type="text/css" href="ссылка" />js через <script type="text/javascript" src="ссылка"></script> теперь нужно добавить в него блок, выводящий отзывы: http://prntscr.com/iusje9с помощью какого кода это сделать? подскажите пожалуйстамне удалось добавить на эту страницу обычный блок сделанный в Pages но вот с блоком из приложения проблемы Link to comment Share on other sites More sharing options...
newbie Posted March 22, 2018 Share Posted March 22, 2018 но вот с блоком из приложения проблемы Что за блок?Если это виджет, то вероятно есть возможность (если реализовано разработчиком) его использовать при создании блока Pages. 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 22, 2018 Author Share Posted March 22, 2018 виджет отзывов называется, а как добавить его в блоки? Link to comment Share on other sites More sharing options...
newbie Posted March 22, 2018 Share Posted March 22, 2018 Когда создаете блок с типом "Плагин" можно выбрать плагин. Там посмотрите нужный. 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 22, 2018 Author Share Posted March 22, 2018 получилось вставить, но сам виджет/блок на главной странице битый, т.е. не подтягивается структура css и js, хотя на странице форума все хорошо отображается. как сделать так чтобы подтягивались css и js ? Link to comment Share on other sites More sharing options...
9IPOCTb Posted March 22, 2018 Author Share Posted March 22, 2018 код самого виджета: <div class='bimTestimo'> {{if $conf['tes_widgetTitle']}}<h2>{$conf['tes_widgetTitle']}</h2>{{endif}} {{if count( $data ) > 0}} <div class="testimoSlider testimoSlider_{$orientation} owl-carousel owl-theme testimo_{$conf['tes_style']}" data-autoplay="{$conf['tes_autoplay']}" data-autoplaytimeout="{$conf['tes_autoplaytimeout']}"> {{foreach $data as $tes}} <div class="testimoCarouselItem"> <div class="tesm-info ipsClearfix"> <div class="tesm-crs-img"> <img src="{$tes->avatar()}"> </div> <div class="tesm-meta"> <div class="info ipsType_large tesm-client-name"> {$tes->getClientName()} </div> {{if $tes->job && in_array( 'job', explode( ',', settings.tes_fields ) )}} <div class="info ipsType_normal tesm-client-company"> <span class='tes-job'>{$tes->job}</span> {{if $tes->company && in_array( 'company', explode( ',', settings.tes_fields ) )}} - <span class='tes-company'>{$tes->company}</span>{{endif}} </div> {{endif}} {{if settings.tes_enable_rating == 1}} <span class="info tesm-client-ratings"> {template="rating" app="core" params="'small', $tes->rating" group="global"} </span> {{endif}} </div> </div> <div class='tesm-quote ipsCursor_pointer' data-ipsdialog data-ipsDialog-url="{url="app=testm&module=testm&controller=view&id={$tes->id}"}" data-ipsdialog-size='narrow' data-ipsdialog-title='{lang="tes_popup_title"}'> {{$char = $conf['tes_style'] != 3 ? 180 : 500;}} {{$content = strip_tags($tes->content);}} {truncate="$content" length="$char"} </div> </div> {{endforeach}} </div> {{else}} <p class='ipsType_reset ipsType_light ipsPad'>{lang="tes_no_tes"}</p> {{endif}} </div> 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