8.4.3 : correction site map et url metaimage
This commit is contained in:
parent
dfceff96fe
commit
428c0f7324
@ -1,5 +1,10 @@
|
||||
# ChangeLog
|
||||
|
||||
## Version 8.4.3
|
||||
* Correction :
|
||||
- URL incorrecte dans Metaimage
|
||||
- Erreur dans la génération du sitemap
|
||||
|
||||
## Version 8.4.2
|
||||
* Correction :
|
||||
- Modifications de la présentation des en-têtes d'articles de Blog et de News
|
||||
|
@ -24,7 +24,7 @@ class common {
|
||||
const GROUP_MEMBER = 1;
|
||||
const GROUP_MODERATOR = 2;
|
||||
const GROUP_ADMIN = 3;
|
||||
const ZWII_VERSION = '8.4.2';
|
||||
const ZWII_VERSION = '8.4.3';
|
||||
|
||||
public static $actions = [];
|
||||
public static $coreModuleIds = [
|
||||
@ -2015,7 +2015,7 @@ class layout extends common {
|
||||
* Affiche la meta image (site screenshot)
|
||||
*/
|
||||
public function showMetaImage() {
|
||||
echo '<meta property="og:image" content="' . helper::baseUrl() .'site/screenshot.png" />';
|
||||
echo '<meta property="og:image" content="' . helper::baseUrl() .'/site/file/source/screenshot.png" />';
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
<ul>
|
||||
<?php foreach($this->getHierarchy() as $parentId => $childIds): ?>
|
||||
<li>
|
||||
<?php if ($this->getData(['page', $parentId, 'disable']) === false) { ?>
|
||||
<?php if ($this->getData(['page', $parentId, 'disable']) == false) { ?>
|
||||
<a href="<?php echo helper::baseUrl() . $parentId; ?>"><?php echo $this->getData(['page', $parentId, 'title']); ?></a>
|
||||
<?php } else { ?>
|
||||
<?php echo $this->getData(['page', $parentId, 'title']); }?>
|
||||
<ul>
|
||||
<?php foreach($childIds as $childId): ?>
|
||||
<li>
|
||||
<?php if ($this->getData(['page', $childId, 'disable']) === false) { ?>
|
||||
<?php if ($this->getData(['page', $childId, 'disable']) == false) { ?>
|
||||
<a href="<?php echo helper::baseUrl() . $childId; ?>"><?php echo $this->getData(['page', $childId, 'title']); ?></a>
|
||||
<?php } else { ?>
|
||||
<?php echo $this->getData(['page', $childId, 'title']); }?>
|
||||
|
Loading…
Reference in New Issue
Block a user