고급 블록 생성 및 사이트 유연성에 사용되는 CMS 블록 태그를 봅니다.
시작하기 전에
필요한 역할: content_admin 또는 admin
이 태스크 정보
<g:content_block> {{Jelly_Tags|Jelly]]이며 다음 방법 중 하나로 사용할 수 있습니다.
- 블록 안에 블록을 표시하려면
- 배치 내에 블록을 표시하려면
태그는 <g:content_block type="<type>" id="<sys_id>"/> 형식으로 표시됩니다.
차단 태그의 예는 ESS 포털 샘플 사이트에 포함되어 있습니다.
프로시저
-
다음으로 이동 레이블이 표시됩니다.
-
cms_admin_home_frame 클릭합니다.
-
코드를 봅니다.
<style>
DIV.cms_administration_home {
background: url(gray_${current_page.getURLSuffix()}.pngx) no-repeat right top;
}
</style>
<div class="cms_administration_home">
${body}
<br/>
<!-- Would you like to pivot off of parent page instead? try this snippet
<j:if test="${current_page.getParentPage().getURLSuffix()=='administration'}">
<g:content_block type="content_block_menu" id="7afc342def002000914304167b2256ac"/>
</j:if>
The defaults use the page URL suffix to define sub menus
-->
<j:if test="${current_page.getURLSuffix()=='administration'}">
<g:content_block type="content_block_menu" id="7afc342def002000914304167b2256ac"/>
</j:if>
<j:if test="${current_page.getURLSuffix()=='community_inspired'}">
<g:requires name="ess.portal.globals.jsdbx" />
<g:content_block type="content_block_menu" id="ccd4b8c7efb70000914304167b22566e"/>
</j:if>
<br/>
</div>
-
페이지가 어떻게 표시되는지 보려면 ESS 포털 관리 페이지로 이동합니다.
예: http://instance name.service-now.com/ess/administration.do.