forked from ZwiiCMS-Team/ZwiiCMS
sitemap
This commit is contained in:
parent
4c6762e55f
commit
2e90cb5952
@ -40,8 +40,8 @@
|
|||||||
<!-- ou articles d'un blog-->
|
<!-- ou articles d'un blog-->
|
||||||
|
|
||||||
<?php if ($this->getData(['page', $parentId, 'moduleId']) === 'blog' &&
|
<?php if ($this->getData(['page', $parentId, 'moduleId']) === 'blog' &&
|
||||||
!empty($this->getData(['module',$parentId])) ) { ?>
|
!empty($this->getData(['module',$parentId, 'posts' ])) ) { ?>
|
||||||
<?php foreach($this->getData(['module',$parentId]) as $articleId => $article): ?>
|
<?php foreach($this->getData(['module',$parentId, 'posts' ]) as $articleId => $article): ?>
|
||||||
<?php if($this->getData(['module',$parentId,'posts',$articleId,'state']) === true ): ?>
|
<?php if($this->getData(['module',$parentId,'posts',$articleId,'state']) === true ): ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php echo helper::baseUrl() . $parentId. '/' . $articleId;?>"><?php echo $article['title']; ?></a>
|
<a href="<?php echo helper::baseUrl() . $parentId. '/' . $articleId;?>"><?php echo $article['title']; ?></a>
|
||||||
|
Loading…
Reference in New Issue
Block a user