TYPO3 Plugin:

bm_social_media

Social Media Integration

Bietet die Möglichkeit, Kontakten, Ansprechpartnern oder anderen Datensätzen Social-Media Kanäle zuzuordnen.

Verwendung

Extension installieren und Datensatz der anderen Extension wie folgt erweitern:

SQL

In eigenem Datensatz, der SocialMedia-Kanäle zugeordnet bekommen soll:

CREATE TABLE tx_bdlocations_domain_model_consultant (
    [...],
    social_media int(11) unsigned DEFAULT '0' NOT NULL,
    [...]
);

Social-Media Tabelle für eigenen Datensatz erweitern:

CREATE TABLE tx_bmsocialmedia_domain_model_profile (
    tx_bdlocations_consultant int(11) unsigned DEFAULT '0' NOT NULL
);

TCA

    'social_media' => [
        'exclude' => 0,
        'label' => 'Social Media',
        'config' => [
            'type' => 'inline',
            'foreign_table' => 'tx_bmsocialmedia_domain_model_profile',
            'foreign_field' => 'tx_bdlocations_consultant',
            'maxitems' => 9999,
            'appearance' => [
                'collapseAll' => 0,
                'levelLinksPosition' => 'top',
                'showSynchronizationLink' => 1,
                'showPossibleLocalizationRecords' => 1,
                'showAllLocalizationLink' => 1,
                'newRecordLinkPosition' => 'both',
            ],
        ],
    ],

Datensätze

In dem SocialMediaProvider Datensatz kann die Grund-URL angegeben werden (z.b. https://www.facebook.com/|). Eine Pipe "|" dient hier als Platzhalter und wird später durch die Profil-Id ersetzt.

Verwendung

Im FluidTemplate kann mit der Methode getProfileUrl() auf die Profilseite verlinkt werden. Beispiel:

<f:for each="{location.consultant.socialMedia}" as="profile">
    <f:link.external uri="{profile.profileUrl}">
        <f:image alt="{profile.provider.title}" title="{profile.provider.title}" src="/uploads/tx_bmsocialmedia/{profile.provider.icon}"/>
    </f:link.external>
</f:for>

Beispiel-Icons

Liegen in Resources/Public/Examples

Benötigen Sie schnelle Hilfe mit dieser Extension? Unser Team von erfahrenen TYPO3-Entwicklern löst Probleme unkompliziert und zum Stundensatz.

[DependciesAndConflicts]

Häufig benutzt mit:


    Stichprobe n=36896 von Gosign gecrawlte TYPO3-Seiten mit den Top-Level-Domains <.de/.ch/.at>