Add document loop in folder/content default template
This commit is contained in:
13
templates/frontOffice/default/content.html
Normal file → Executable file
13
templates/frontOffice/default/content.html
Normal file → Executable file
@@ -54,11 +54,22 @@
|
|||||||
{$DESCRIPTION nofilter}
|
{$DESCRIPTION nofilter}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{ifloop rel="blog.document"}
|
||||||
|
<div class="documents">
|
||||||
|
<ul>
|
||||||
|
{loop name="blog.document" type="document" content="{$ID}"}
|
||||||
|
<li><a href="{$DOCUMENT_URL}" target="_blank">{$TITLE}</a></li>
|
||||||
|
{/loop}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{/ifloop}
|
||||||
|
|
||||||
{if $POSTSCRIPTUM}
|
{if $POSTSCRIPTUM}
|
||||||
<small class="postscriptum">
|
<small class="postscriptum">
|
||||||
{$POSTSCRIPTUM}
|
{$POSTSCRIPTUM}
|
||||||
</small>
|
</small>
|
||||||
{/if}
|
{/if}
|
||||||
{/loop}
|
{/loop}
|
||||||
</article>
|
</article>
|
||||||
<aside class="col-left" role="complementary" itemscope itemtype="http://schema.org/WPSideBar">
|
<aside class="col-left" role="complementary" itemscope itemtype="http://schema.org/WPSideBar">
|
||||||
|
|||||||
9
templates/frontOffice/default/folder.html
Normal file → Executable file
9
templates/frontOffice/default/folder.html
Normal file → Executable file
@@ -95,6 +95,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div><!-- /#category-products -->
|
</div><!-- /#category-products -->
|
||||||
|
|
||||||
|
{ifloop rel="blog.document"}
|
||||||
|
<div class="documents">
|
||||||
|
<ul>
|
||||||
|
{loop name="blog.document" type="document" folder="{$ID}"}
|
||||||
|
<li><a href="{$DOCUMENT_URL}" target="_blank">{$TITLE}</a></li>
|
||||||
|
{/loop}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{/ifloop}
|
||||||
|
|
||||||
{if $POSTSCRIPTUM}
|
{if $POSTSCRIPTUM}
|
||||||
<small class="folder-postscriptum">
|
<small class="folder-postscriptum">
|
||||||
|
|||||||
Reference in New Issue
Block a user