erdmannfreunde / calendar_feature Goto Github PK
View Code? Open in Web Editor NEWHighlight event items like in contao news module
Highlight event items like in contao news module
Könnt Ihr bitte diese Erweiterung für Contao 4 erweitern?
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
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; ?>
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:
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:
As far as the installation went through cleanly, but I could not test it (it is a fresh installation).
Contao 4.4.20
Keine weiteren Erweiterungen/Bundles die die Events erweitern/ergänzen/anpassen
Contao 4.4.20
Keine weiteren Erweiterungen/Bundles die die Events erweitern/ergänzen/anpassen
Unabhängig davon, ob die Option gesetzt ist, werden "alle" Wiederholungen eines Termins angezeigt.
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
Since Contao 4.10 the featured events have been part of the contao core, so you no longer need this extension.
If you want to migrate your modules, I can recommend my migration:
https://gist.github.com/rabauss/b659ad363d634cfb8bca1a7eaad6d430
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.