f2065 6 06/18/2017 09:55 PM Вот есть IPB 3.4.9 и Файловый архив к нему.В мобильной теме - нету вкладки для входа в Файлы.Там вкладки/кнопки «Пользователи», «Форумы», «Обновления статуса», «Поиск», и т.п.Поставил например Блоги - и обнаружил что вот блоги (Дневники) во вкладках мобильной темы появились.А вот файловый архив - не хочет там появляться.Хотя если в него по десктопным ссылкам войти - то он в телефоне работает, и тема у него тоже мобильная. Что делать? Как в мобильной теме приделать вкладку (кнопку) для входа в Файлы? Share this post Link to post Share on other sites
newbie 1,720 06/19/2017 05:32 AM В мобильной версии мню построено вручную.Шаблон globalTemplate. Часть кода <if test="hasMemberList:|:$header_items['applications']['members']['app_show']"> <li id='nav_members'><a href='{parse url="{$header_items['applications']['members']['app_link']}" seotitle="{$header_items['applications']['members']['app_seotitle']}" template="{$header_items['applications']['members']['app_template']}" base="{$header_items['applications']['members']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('members') )"}'><span class='icon'></span>{IPSLib::getAppTitle('members')}</a></li> </if> <if test="hasForums:|:$header_items['applications']['forums']['app_show']"> <li id='nav_forums'><a href='{parse url="{$header_items['applications']['forums']['app_link']}" seotitle="{$header_items['applications']['forums']['app_seotitle']}" template="{$header_items['applications']['forums']['app_template']}" base="{$header_items['applications']['forums']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('forums') )"}'><span class='icon'></span>{IPSLib::getAppTitle('forums')}</a></li> </if> <if test="hasBlog:|:$header_items['applications']['blog']['app_show']"> <li id='nav_blog'><a href='{parse url="{$header_items['applications']['blog']['app_link']}" seotitle="{$header_items['applications']['blog']['app_seotitle']}" template="{$header_items['applications']['blog']['app_template']}" base="{$header_items['applications']['blog']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('blog') )"}'><span class='icon'></span>{IPSLib::getAppTitle('blog')}</a></li> </if> <if test="hasGallery:|:$header_items['applications']['gallery']['app_show']"> <li id='nav_gallery'><a href='{parse url="{$header_items['applications']['gallery']['app_link']}" seotitle="{$header_items['applications']['gallery']['app_seotitle']}" template="{$header_items['applications']['gallery']['app_template']}" base="{$header_items['applications']['gallery']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('gallery') )"}'><span class='icon'></span>{IPSLib::getAppTitle('gallery')}</a></li> </if> <if test="hasNexus:|:$header_items['applications']['nexus']['app_show']"> <li id='nav_nexus_store'><a href='{parse url="app=nexus&module=payments§ion=store" base="public" seotitle="store" seotemplate="app=nexus"}'><span class='icon'></span>{$this->lang->words['mobile_nexus_store']}</a></li> <li id='nav_nexus_ca'><a href='{parse url="app=nexus&module=clients" base="public"}'><span class='icon'></span>{$this->lang->words['mobile_nexus_clients']}</a></li> </if>Как видите здесь пользователи, форумы, блоги, галерея, магазин.Добавляйте фалы по аналогии. 1 Share this post Link to post Share on other sites