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}
|
||||
</div>
|
||||
{/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}
|
||||
<small class="postscriptum">
|
||||
{$POSTSCRIPTUM}
|
||||
</small>
|
||||
{/if}
|
||||
{/if}
|
||||
{/loop}
|
||||
</article>
|
||||
<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><!-- /#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}
|
||||
<small class="folder-postscriptum">
|
||||
|
||||
Reference in New Issue
Block a user