forked from ZwiiCMS-Team/ZwiiCMS
10.1 Erreur de sitemap blog vide
This commit is contained in:
parent
a25523b638
commit
5647416cbc
@ -39,14 +39,14 @@
|
||||
<?php endforeach; ?>
|
||||
<!-- ou articles d'un blog-->
|
||||
|
||||
<?php if ($this->getData(['page', $parentId, 'moduleId']) === 'blog' ) { ?>
|
||||
<?php
|
||||
foreach($this->getData(['module',$parentId]) as $articleId => $article): ?>
|
||||
<?php if($this->getData(['module',$parentId,$articleId,'state']) === true) {?>
|
||||
<?php if ($this->getData(['page', $parentId, 'moduleId']) === 'blog' &&
|
||||
!empty($this->getData(['module',$parentId])) ) { ?>
|
||||
<?php foreach($this->getData(['module',$parentId]) as $articleId => $article): ?>
|
||||
<?php if($this->getData(['module',$parentId,$articleId,'state']) === true ): ?>
|
||||
<li>
|
||||
<a href="<?php echo helper::baseUrl() . $parentId. '/' . $articleId;?>"><?php echo $article['title']; ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach;
|
||||
} ?>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user