Merge pull request #575 from griotteau/patch-template-default
Add document loop in folder/content default template
This commit is contained in:
11
templates/frontOffice/default/content.html
Normal file → Executable file
11
templates/frontOffice/default/content.html
Normal file → Executable file
@@ -54,6 +54,17 @@
|
||||
{$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}
|
||||
|
||||
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