AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 13.02.2019, 01:17   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1218: Suppress headers and footers in portals
Источник: https://crmtipoftheday.com/1218/supr...rs-in-portals/
==============

Dynamics 365 Portals, based on Bootstrap, are very flexible when it comes to the web site and individual page layout. To create consistent look and feel the Website record defines header and footer templates.



And the footer looks like this:



I was working on a site where I didn’t need a footer at all so I cleared Footer Template field. And I got this:



What the?!

Yes, folks, a default template is rendered, whatever that is. To suppress header and/or footer, create a blank Web Template, something like

{% comment %} This template has been deliberately left blank{% endcomment %}and select that template on your Website record. The results are stunning. I don’t even have a screenshot because it’s, well, blank.

Note: if you disable header, it’ll be up to you to render the search box, sign-in/out control, and a language selector elsewhere, because that’s what the default header renders.

(Cover photo by Jeffrey Lin on Unsplash)



Источник: https://crmtipoftheday.com/1218/supr...rs-in-portals/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
msdyncomm: How Do I: Handle Headers and Footers for Microsoft Office Word Reports Blog bot DAX Blogs 0 20.03.2015 22:12
axnontechnical: Formatting headers and footers when downloading a Microsoft Dynamics Management Reporter report Blog bot DAX Blogs 0 03.10.2014 23:12
msdyncomm: Formatting headers and footers when downloading a Microsoft Dynamics Management Reporter report Blog bot DAX Blogs 0 03.10.2014 23:12
clausl: Dynamic Headers and Footers in RDLC reports Blog bot Dynamics CRM: Blogs 0 13.09.2013 17:31
saveenr: Dynamics AX & SSRS Learning Roadmap: Part 4 - Adding Headers and Footers and an Introduction to Expressions Blog bot DAX Blogs 0 24.05.2010 15:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:22.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.