-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
src/Resources/contao/templates/modules/news_social_feed.html5
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
src/Resources/contao/templates/news/news_social_feed_extended_odd.html5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<div class="social_feed_element extended arc_<?= $this->archive->id ?> block<?= $this->class ?>" itemscope itemtype="http://schema.org/Article"> | ||
<div class="inner"> | ||
|
||
<div class="icon"> | ||
{{picture::<?php echo \StringUtil::binToUuid($this->sfFbAccountPicture); ?>}} | ||
</div> | ||
|
||
<?php if ($this->hasMetaFields): ?> | ||
<p class="info"><time datetime="<?= $this->datetime ?>" itemprop="datePublished"> | ||
<?= $this->date ?></time> <?= $this->author ?> <?= $this->commentCount ?> | ||
<?php if($this->socialFeedType == "Facebook" || $this->socialFeedType == ""): ?> | ||
<i class="fab fa-facebook" aria-hidden="true"></i> | ||
<?php elseif($this->socialFeedType == "Instagram"): ?> | ||
<i class="fab fa-instagram" aria-hidden="true"></i> | ||
<?php elseif($this->socialFeedType == "Twitter"): ?> | ||
<i class="fab fa-twitter" aria-hidden="true"></i> | ||
<?php endif; ?> | ||
</p> | ||
<?php endif; ?> | ||
|
||
<div class="title"><?= $this->sfFbAccount ?></div> | ||
|
||
<?php if ($this->addImage): ?> | ||
<?php if ($this->sfImages): ?> | ||
<?php $this->insert('image', $this->arrData); ?> | ||
<?php endif; ?> | ||
<?php endif; ?> | ||
|
||
<div class="ce_text block" itemprop="description"> | ||
<p><?= preg_replace('#(?:<br\s*/?>\s*?){2,}#', '</p><p>', $this->teaser) ?></p> | ||
</div> | ||
|
||
<a href="<?= $this->url ?>" target="_blank" class="more" rel="noreferrer noopener"> | ||
<?= $GLOBALS['TL_LANG']['MSC']['more'] ?> | ||
</a> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters