${text.format("custom.workshop.xxxxx.title")?js_string}
custom.workshop.xxxxx.title = Featured
custom.workshop.xxxxx.title@page:yyyy = Popular ....
设计website:https://market.envato.com/?_ga=2.73161939.1734835281.1531185387-1399657528.1531185387
在哪个board点击start a discussion就会跳转到那个board的postpage
<a href="/t5/forums/postpage/board-id/{coreNode.id}" class="lia-button lia-button-primary start-discussion">Start A Discussion</a>
获取board,比如forum、idea、blog
<#if page.interactionStyle == "idea">
<#assign search_link = "/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=location&inactive=false&location=idea-board:${coreNode.id}" />
</#if>
获取board里面的页面
<#if coreNode.id != "getting_started">
<div class="lia-component-custom-header-search">
</div>
</#if>
custom content传入两个参数
custom.agl.idea-intro
<#import "custom.agl.lib.ftl" as lib>
<#assign cc = lib.getCustomContent("5")/>
<#if cc != "">
<@cc?interpret />
</#if>
<#assign search_link = "/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=location&inactive=false&location=category:ideas" />
<#if page.interactionStyle == "idea">
<#assign search_link = "/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=location&inactive=false&location=idea-board:${coreNode.id}" />
</#if>
<#assign post_link = "/t5/forums/postpage/choose-node/true/interaction-style/idea/override-styles/true">
<#if page.interactionStyle == "idea">
<#assign post_link = "/t5/forums/postpage/board-id/${coreNode.id}">
</#if>
<div class="lia-panel lia-component-custom-idea-intro">
<div class="lia-decoration-border">
<div class="lia-decoration-border-content">
<div class="lia-panel-heading-bar">
<span class="lia-panel-heading-bar-title">${title}</span>
</div>
<div class="lia-panel-content-wrapper">
<div class="lia-panel-content">
${content?replace("[search_link]", search_link)?replace("[post_link]", post_link)}
</div>
</div>
</div>
</div>
</div>
create_project -v v17.2 lithium/bunnings
如何创建custom category
1、在studio->page new一个quit
2、然后把CategoryPage.Froum的xml拷到这里来
3、左上角先选一下Group的节点,然后到admin->content->custom pages,把节点和quilt,map一下
docker
run:docker-compose up -d
remove:docker-compose down -v
清除端口:docker rm -f $(docker ps -qa)