Giter Club home page Giter Club logo

calendar_feature's People

Contributors

denniserdmann avatar fritzmg avatar linkingyou avatar rabauss avatar richardhj avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

calendar_feature's Issues

Release Tag, für Contao 4

Die Extension hat noch keinen Release Tag, wo sie für Contao 4 freigeschalten ist. Nur die dev-master Version kann installiert werden. Wird ein Release Tag vom aktuellen Stand gemacht?

Problem 1
    - Installation request for erdmannfreunde/calendar_feature ^1.0 -> satisfiable by erdmannfreunde/calendar_feature[1.0.0].
    - Conclusion: remove contao/calendar-bundle 4.4.16
    - Conclusion: don't install contao/calendar-bundle 4.4.16
    - erdmannfreunde/calendar_feature 1.0.0 requires contao/core-bundle >=3.5,<=3.5.9999 -> satisfiable by contao/core[3.5.0, 3.5.1, 3.5.10, 3.5.11, 3.5.12, 3.5.13, 3.5.14, 3.5.15, 3.5.16, 3.5.17, 3.5.18, 3.5.19, 3.5.2, 3.5.20, 3.5.21, 3.5.22, 3.5.23, 3.5.24, 3.5.25, 3.5.26, 3.5.27, 3.5.28, 3.5.29, 3.5.3, 3.5.30, 3.5.31, 3.5.32, 3.5.33, 3.5.4, 3.5.5, 3.5.6, 3.5.7, 3.5.8, 3.5.9].
    - contao/core 3.5.0 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.1 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.10 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.11 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.12 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.13 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.14 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.15 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.16 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.17 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.18 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.19 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.2 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.20 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.21 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.22 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.23 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.24 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.25 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.26 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.27 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.28 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.29 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.3 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.30 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.31 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.32 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.33 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.4 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.5 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.6 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.7 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.8 conflicts with contao/calendar-bundle[4.4.16].
    - contao/core 3.5.9 conflicts with contao/calendar-bundle[4.4.16].
    - Installation request for contao/calendar-bundle (locked at 4.4.16, required as 4.4.*) -> satisfiable by contao/calendar-bundle[4.4.16].

<warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
....
Process terminated with exit code 1
Reason: General error

Frontend: Individuelle Reihenfolge der Kategorien

Hallo,

ist es möglich, die Kategoriereihenfolge zu beeinflussen? Mein Kunde würde gerne eine individuelle Reihenfolge haben.

Momentan sieht es so aus, indem ich im Template calendar_full.html5 folgenden Code für die Ausgabe verwende.

Ist es korrekt oder muss ich etwas anderes benutzen?

<?php if ($this->categories): ?>
    <div class="categories">
        <ul>
        <?php
	        $url = 'alle-kuenftigen-veranstaltungen';
            $cat_ar = deserialize($this->categories, true);
            foreach ($cat_ar as $cat_id) {
                $objCat = Database::getInstance()->prepare("SELECT title FROM tl_mae_event_cat WHERE id = ? LIMIT 1")->execute($cat_id);
                $objCatAlias = Database::getInstance()->prepare("SELECT alias FROM tl_mae_event_cat WHERE id = ? LIMIT 1")->execute($cat_id);
                echo '<li><a href="' . $url . '/category/' . specialchars($objCatAlias->alias) . '"' . 'title="' . $objCat->title . '">' . $objCat->title . '</a></li>';
            }
        ?>
        </ul>
    </div>
  <?php endif; ?>

Manuelle Installation / Manual Installation

Ich musste die Erweiterung calendar_feature in Contao 4.4.2 manuell installieren (im CM war diese zwar für die Installation ersichtlich "ohne Hinweis das diese nicht kompatibel sei" aber konnte nicht über den CM installiert werden, da in betreffender Datei der Versionshinweis fehlt).

Manuelle Installation:

  • den entpackten ZIP Ordner "euf_overlay-master" von GitHub umbenennen in "euf_overlay"
  • den Ordner "euf_overlay" auf den Webserver in das Verzeichnis ./system/modules laden
  • im CM auf Systemwartung -> Cache neu erstellen
  • im CM auf Tools und auf den Link für das Installtool klicken
  • im Installtool die DB aktualisieren

Soweit ist die Installation sauber durchgelaufen, ich konnte es aber im BE und FE noch nicht testen da es eine frische Installation ist.


I had to install the extension calendar_feature in Contao 4.4.2 manually (in the CM it was shown for the installation "without notice this is not compatible" but could not be installed via the CM because the corresponding file is missing the version hints).

Manual installation:

  • Rename the unpacked ZIP folder "euf_overlay-master" from GitHub to "euf_overlay"
  • Load the folder "euf_overlay" on the web server in the directory ./system/modules
  • In CM on System Maintenance -> Rebuild Cache
  • In CM on Tools click on the link for the install tool
  • In the install tool update the DB

As far as the installation went through cleanly, but I could not test it (it is a fresh installation).

Calendar Feature mit eigener Erweiterung erweitern

Folgende Supportanfrage kam per Mail:

ich nutze eure Erweiterung Calendar_feature in Contao 4.
Jetzt möchte ich eure Funktionalität noch um eine eigene Funktion erweitern, in der Art
class EventsFeature extends \Controller
{
public function getMyFormats(DataContainer $dc)...
}
leider verliert er dadurch eure Funktion "getFeaturedEvents" in welchem Namespace befindet sich eure Klasse "EventsFeature". Ich wäre euch sehr dankbar, wenn ihr mich von dem Schlauch schubsen könntet auf dem ich vermutlich grad stehe. Für eine Core Erweiterung hab ich das in ähnlicher Art geschafft. use Contao\Events as CoreClass_Events;
abstract class Events extends CoreClass_Events

Rechte-Problem: Hervorheben als Redakteuer nicht möglich

Ich habe die Erweiterung unter Contao 4.4.24 installiert.

Als Admin funktioniert die Erweiterung wie gewünscht, aber als Redakteur bekommt man nach dem anklicken des Sterns die folgende Fehlermeldung:

Forbidden
Invalid command "feature".

Im Log steht folgendes:

[2019-03-01 11:53:40] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException(code: 0): Invalid command "feature". at /html/contao-2018/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:106, Contao\CoreBundle\Exception\AccessDeniedException(code: 0): Invalid command "feature". at /html/contao-2018/var/cache/prod/contao/dca/tl_calendar_events.php:643)"} []

Sobald ich aus dem Redakteur einen Admin mache funktioniert es, aber egal was ich dem Redakteur alles freigebe, erscheint immer die Fehlermeldung.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.