2017 © Pedro PelĂĄez
 

contao-bundle service_link

Contao 4 Service Link extension

image

markocupic/service_link

Contao 4 Service Link extension

  • Saturday, January 27, 2018
  • by markocupic
  • Repository
  • 1 Watchers
  • 0 Stars
  • 87 Installations
  • CSS
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

Gallery Creator

Frontend Modul fĂŒr Contao >=4.3

Mit dem Modul lassen sich Alben verwalten und erstellen. Das Modul ist sehr flexibel und bietet eine AlbenĂŒbersicht und eine Detailansicht., (*1)

Installation ĂŒber composer

  • Folgenden Eintrag in composer.json machen:
{
    ...
    "require": {
        ...
        "markocupic/gallery-creator-bundle": "dev-master"
    },
    ...
}
  • Folgenden Eintrag in app/AppKerne.php machen:
class AppKernel extends Kernel
{

    public function registerBundles()
    {
        $bundles = [
            ...
            // Other
            new Markocupic\GalleryCreatorBundle\MarkocupicGalleryCreatorBundle(),
        ];

        ...

        return $bundles;
    }
  • Danach Erweiterung ĂŒber Konsole mit "composer update" installieren.
  • Mit "bin/console cache:clear --env=prod" den Cache leeren.

Jetzt noch die Datenbank ĂŒber das Installtool aktualisieren. Danach sollte Gallery Creator unter Contao 4 laufen., (*2)

Migration einer Ă€lteren gallery_creator Version fĂŒr Contao 3.5 ist problemlos möglich., (*3)

ZusÀtzliche Templates

Weitere Templates findest du unter: https://gist.github.com/markocupic * Nur Albenauflistung ohne Detailseite. Mit Klick auf Vorschau-Thumbnail öffnet sich Colorbox und zeigt den Inhalt des Albums. https://gist.github.com/markocupic/327413038262b2f84171f8df177cf021, (*4)

"gc_generateFrontendTemplate"-Hook

Mit dem "gc_generateFrontendTemplate"-Hook lĂ€sst sich die Frontend-Ausgabe anpassen. Der "gc_generateFrontendTemplate"-Hook wird vor der Aufbereitung des Gallery-Creator-Frontend-Templates ausgefĂŒhrt. Er ĂŒbergibt das Modul-Objekt und in der Detailansicht das aktuelle Album-Objekt. Als RĂŒckgabewert wird das Template-Objekt erwartet., (*5)

<?php
// config.php
$GLOBALS['TL_HOOKS']['gc_generateFrontendTemplate'][] = array('MyGalleryCreatorClass', 'doSomething');

// MyGalleryCreatorClass.php
class MyGalleryCreatorClass extends \System
{

       /**
        * Do some custom modifications
        * @param Module $objModule
        * @param null $objAlbum
        * @return mixed
        */
       public function doSomething(\Module $objModule, $objAlbum=null)
       {
              global $objPage;
              $objPage->pageTitle = 'Bildergalerie';
              if($objAlbum !== null)
              {
                     // display the album name in the head section of your page (title tag)
                     $objPage->pageTitle = specialchars($objAlbum->name);
                     // display the album comment in the head section of your page (description tag)
                     $objPage->description = specialchars(strip_tags($objAlbum->comment));
                     // add the album name to the keywords in the head section of your page (keywords tag)
                     $GLOBALS['TL_KEYWORDS'] .= ',' . specialchars($objAlbum->name) . ',' . specialchars($objAlbum->event_location);
              }
              return $objModule->Template;
       }
}

Viel Spass mit Gallery Creator!!!, (*6)

The Versions

27/01 2018

dev-master

9999999-dev

Contao 4 Service Link extension

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome fontawesome service-link service link

01/01 2018

0.0.9

0.0.9.0

Contao 4 Service Link extension

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome fontawesome service-link service link

01/01 2018

1.0.1

1.0.1.0

Contao 4 Service Link extension

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome fontawesome service-link service link

01/01 2018

1.0.0

1.0.0.0

Contao 4 Service Link extension

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome fontawesome service-link service link

24/09 2017

0.0.8

0.0.8.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link

24/09 2017

0.0.7

0.0.7.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link

31/07 2017

0.0.6

0.0.6.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link

29/07 2017

0.0.5

0.0.5.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link

29/07 2017

0.0.4

0.0.4.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link

29/07 2017

0.0.3

0.0.3.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link

19/05 2017

0.0.2

0.0.2.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link

23/02 2017

0.0.1

0.0.1.0

Add a FontAwesome service icon link as Contao frontend-content-element.

  Sources   Download

LGPL-3.0+

The Requires

 

frontend contao font-awesome service-link