Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beispiel-Ausgabe-Modul? #12

Closed
skerbis opened this issue Jun 8, 2016 · 2 comments
Closed

Beispiel-Ausgabe-Modul? #12

skerbis opened this issue Jun 8, 2016 · 2 comments

Comments

@skerbis
Copy link
Member

skerbis commented Jun 8, 2016

Wäre toll

@alxndr-w
Copy link
Member

<section class="modul modul-yfeed" id="modul-REX_SLICE_ID">
    <div class="wrapper">
        <?php
$yfeed_items = rex_sql::factory()->getArray('SELECT * FROM rex_yfeed_item ORDER BY date DESC');

if (count($yfeed_items)) {
        echo '<table>';
    foreach ($yfeed_items as $item) {

        $item_date = strftime("%d. %B %Y", strtotime($event['date']));

        echo '<tr>';
            echo '<td>'.$item_date.'</td>';
            echo '<td><img src="'.$item['media'].'" alt="" style="max-width: 100px;" /></td>';
            echo '<td><h2>'.$item['title'].'</h2>';
            echo ''.nl2br($item['content']).'</td>';
            echo '<td><a href="'.$item['url'].'" target="_blank">###modul:yfeed:onfacebook###</a></td>';
        echo '</tr>';
    }
        echo '</table>';
}
        ?>
    </div>
</section>

@skerbis
Copy link
Member Author

skerbis commented Jun 1, 2019

Es gibt nun eine einfache "Methode"

@skerbis skerbis closed this as completed Jun 1, 2019
eherwig added a commit to eherwig/feeds that referenced this issue Aug 10, 2022
1. Remove `link` and `type` from `$fields` in order to fix Facebook\Exceptions\FacebookResponseException thrown with message "(FriendsOfREDAXO#12) deprecate_post_aggregated_fields_for_attachement is deprecated for versions v3.3 and higher"

2. Add image (`full_picture`) to post of type share
skerbis pushed a commit that referenced this issue Aug 15, 2022
1. Remove `link` and `type` from `$fields` in order to fix Facebook\Exceptions\FacebookResponseException thrown with message "(#12) deprecate_post_aggregated_fields_for_attachement is deprecated for versions v3.3 and higher"

2. Add image (`full_picture`) to post of type share
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants