[subcolumns] Spaltenset-Erweiterung
Hallo zusammen,
mir ist gerade folgender Bug bei dieser Erweiterung aufgefallen:
Ich nutze in einem Artikel diese Erweiterung mit dem "Spaltenset Typ 50x50".
Funktioniert auch so weit super.
Sobald ich aber diese Seite mit diesen Artikel-Inhalten dupliziere, werden bestimmt CSS-Klassen nicht mit übernommen und fehlen gänzlich.
Auch wird nach dem Duplizieren das Spaltenset aus der Ursprungsseite automatisch gelöscht!
Beispiel:
Manuelle Eingabe von "Spaltenset Typ 50x50" funktioniert einwandfrei:
HTML-Code:
<!-- Spaltenset Start //-->
<div class="ce_colsetStart subcolumns">
<!-- first Column //-->
<div class="c50l first">
<div class="subcl" style="padding-right:6px;">
<div class="ce_text block">
<p>Text links [...]</p>
</div>
</div>
</div>
<!-- second last Column //-->
<div class="mod_colsetPart c50r second last">
<div class="subcr" style="padding-left:6px;">
<div class="ce_text block">
<p>Text rechts [...]</p>
</div>
</div>
</div>
</div>
<!-- Spaltenset End //-->
Nach der Seitenduplizierung (inkl. Artikel) fehlen die CSS-Klassen second last in der zweiten Spalte!:
HTML-Code:
<!-- Spaltenset Start //-->
<div class="ce_colsetStart subcolumns">
<!-- first Column //-->
<div class="c50l first">
<div class="subcl" style="padding-right:6px;">
<div class="ce_text block">
<p>Text links [...]</p>
</div>
</div>
</div>
<!-- second last Column //-->
<div class="mod_colsetPart c50r">
<div class="subcr" style="padding-left:6px;">
<div class="ce_text block">
<p>Text rechts [...]</p>
</div>
</div>
</div>
</div>
<!-- Spaltenset End //-->
CSS-Files werden in dynamischem Footer nicht korrekt eingebunden
Hallo! Subcolumns ist eine tolle Erweiterung, die ich schon bei mehreren Projekten eingesetzt habe. Nun stehe ich vor folgendem Problem:
Ich versuche, einen dynamischen Footer zu erzeugen nach dem Vorbild aus diesem Tutorial: http://https://contao.org/projects/t...ialsEasyHeader
D.h. ich baue ein Modul in das Seitenlayout ein, das über einen insert-tag einen Artikel einbindet. Somit erzeuge ich auf jeder Seite den gleichen Footer-Inhalt, der in einem Artikel gespeichert ist. Soweit, so gut.
Im Footer möchte ich nun auch eine Spaltenset nutzen. Allerdings wird in diesem speziellen Fall keine der CSS-Dateien der Subcolumns-Erweiterung automatisch in den Header geschrieben und die Erweiterung funktioniert für den "dynamischen" Footer nicht. Bzw. sind die Spalten erst dann als solche sichtbar, sobald ich im Main-Bereich wiederum ein Spaltenset anlegen, da dann ja die CSS-Dateien eingebunden werden. Gibt es eine Möglichkeit, dass irgendwie anders zu lösen, als manuell auf die CSS-Dateien zu verweisen?
Viele Grüße, Helena
Hab da ein Problem. Subcolums
Hallo liebe Gemeinde, ;)
habe mich jetzt endlich für ein cms entschieden das ich erlenen will und das ist contao.
Bin auch schon ganz gut drin. Jedoch habe ich da ein Problem:
Habe mir die Subcolums installiert. Und seid dem kann ich kein Artikel mehr anlegen.
Fehlermeldung:
An error occurred while executing this script!
1. If you are a Contao user, contact the administrator of your website.
2. Open file system/logs/error.log and search for a corresponding entry.
3. Open file system/config/localconfig.php and add the following line:
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
4. Read the Contao FAQs or visit the Contao support page.
To customize this notice, create a custom template file named templates/be_error.tpl.
Danke für eure Hilfe.
Mfg Vitali
So nun spuckt er mir dieses hier aus...
Wenn ich den Artikel erstellen möchte dann kommt folgender fehler:
Fatal error: Uncaught exception Exception with message Query error: Unknown column 'sc_gapdefault' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, sc_gapdefault, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, 'ascending', 'com_default', 1, 9, 128, 0)) thrown in /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php on line 642
#0 /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php(589): Database_Statement->query()
#1 /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/drivers/DC_Table.php(624): Database_Statement->execute()
#2 /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/modules/backend/Backend.php(234): DC_Table->create()
#3 /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/contao/main.php(101): Backend->getBackendModule('article')
#4 /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/contao/main.php(297): Main->run()
#5 {main}
In der error.log steht folgendes:
[21-Jul-2010 14:32:25] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'sc_gapdefault' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, sc_gapdefault, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, 'ascending', 'com_default', 1, 1, 2, 0))' thrown in /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php on line 642
[21-Jul-2010 14:32:42] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'sc_gapdefault' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, sc_gapdefault, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, 'ascending', 'com_default', 1, 1, 2, 0))' thrown in /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php on line 642
[21-Jul-2010 14:33:39] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'sc_gapdefault' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, sc_gapdefault, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, 'ascending', 'com_default', 1, 8, 20, 0))' thrown in /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php on line 642
[21-Jul-2010 14:41:27] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'sc_gapdefault' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, sc_gapdefault, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, 'ascending', 'com_default', 1, 8, 20, 0))' thrown in /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php on line 642
[21-Jul-2010 14:42:27] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'sc_gapdefault' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, sc_gapdefault, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, 'ascending', 'com_default', 1, 9, 128, 0))' thrown in /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php on line 642
[21-Jul-2010 14:52:30] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'sc_gapdefault' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, sc_gapdefault, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, 'ascending', 'com_default', 1, 9, 128, 0))' thrown in /web/1/000/022/617/47906/htdocs/myshooting/typolight_test/system/libraries/Database.php on line 642
Reperatur der Erweiterung
Hallo,
wenn ich mich nicht täusche wird in dem Logfile doch auf fehlende Tabellen verwiesen.
Kommst du noch ins Backend? Wenn ja, mach doch bitte einmal eine Reperaturinstallation von subcolumns...
Gruß
Markus