Hy voss,
hast Du schon mal einen Blick auf die Deutsche Anleitung für die Extension geworfen? In der Anleitung wird u.a. die Konfiguration genau beschrieben. Das gute Ding ist unter http://com.hoelblinger.net/index.php?id=98 zu finden.
Lg
Zed 8-)
Hy voss,
hast Du schon mal einen Blick auf die Deutsche Anleitung für die Extension geworfen? In der Anleitung wird u.a. die Konfiguration genau beschrieben. Das gute Ding ist unter http://com.hoelblinger.net/index.php?id=98 zu finden.
Lg
Zed 8-)
ich hab die anleitung gesucht, aber hatte sie nicht gefunden.
ich werde jetzt mal ausprobieren, ob es bei mir funktioniert. 😃
edit:
hat funktioniert, allerdings kriege ich das nicht hin, noch eine spalte hinzuzufügen :o
kann mir vielleicht jemand die nötigen datein so modifizieren, das ich 6 Spalten habe ?
bisher werden nur 5 angezeigt, die ich benutzen kann, allerdings benötige ich 6.
wenn es nicht zu viele umstände macht.
wäre nett.
danke schonmal im vorraus !
keiner ne idee ?
hiiiilfe o.O
mit meinem script von oben
$TCA['tt_content']['columns']['colPos']['config']['items'][5][0]='NEU6:';
noch unter die letzte spalte
und dann
mod.SHARED.colPos_list = 0,1,2,3,4,5
MFG
Dander
@voss:
ich werde das unbestimmte gefühl nicht los, daß du denkst, du bräuchtest für jedes inhaltselement das du einfügen möchtest, eine eigene backendspalte...
hab ich gewonnen? 😉
doku schrieb@voss:
ich werde das unbestimmte gefühl nicht los, daß du denkst, du bräuchtest für jedes inhaltselement das du einfügen möchtest, eine eigene backendspalte...hab ich gewonnen? 😉
lol
1. Platz
aber ist ein gut strukturierter auftritt
aber ist ein gut strukturierter auftritt
??? welcher auftritt ???
naja wird wohl für einen internetauftritt sein oda nicht??
MFG
Dander
P.S:nicht alles was ich sage ist ernst gemeint
@doku
das hast du richtig erkannt, da ich ansonsten zwischen den einzelnen inhalten ein HTML element oder etwas derartiges ainfügen muss, was dann allerdings unübersichtlich wird.
ich wollte das so machen, das ich meine 6 marker in dem template habe und diese dann halt ganz normal ersetze. 😃
ps:
@ dander: habs so eingefügt, wie du gesagt hast, nur wird die spalte trotzdem nicht angezeigt. (ist dann auch die lezte benötigte spalte 😉 )
<?php
/**
* Extension script.
*
* You are strongly recommended to use the distributed tables.php file found in t3lib/install/tables.php.
* However extending and/or modifying the content of tables.php is done with scripts like this.
* Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder.
* Extensions are movable to other Typo3 installations and provides a much better division between things! Use them!
*
* Information on how to set up tables is found in the document "Inside Typo" available as a PDF from where you downloaded Typo3.
*/
/**
* This adds an extra tt_content column (colPos=4), before the last column (Border):
* The function array_splice works directly on the input array!
*/
t3lib_div::loadTCA('tt_content'); // Make sure the whole tt_content configuration is loaded, before we can modify it!
if (is_array($TCA['tt_content'])) {
array_splice(
$TCA['tt_content']['columns']['colPos']['config']['items'], // The list of items
-1, // To insert one position from the end of the list
0, // Don't remove any items, just insert
array(array('Extra Column|Ekstra kolonne',4)) // Element to be inserted. Value is '4' and language is specified for english and danish.
);
}
$$TCA['tt_content']['columns']['colPos']['config']['items'][1][0]='NEU1:';
$TCA['tt_content']['columns']['colPos']['config']['items'][2][0]='Rechts:';
$TCA['tt_content']['columns']['colPos']['config']['items'][0][0]='Links:';
$TCA['tt_content']['columns']['colPos']['config']['items'][3][0]='Aussen:';
$TCA['tt_content']['columns']['colPos']['config']['items'][4][0]='Rand:';
$TCA['tt_content']['columns']['colPos']['config']['items'][5][0]='NEU6:';
?>
und :
mod.SHARED.colPos_list = 0,1,2,3,4,5
ich habe gerade gesehen, das ich in der spalte einen inhalt anlegen kann unzwar über: "Neuer Inhalt" dann halt was fürn inhalt und dann die spalte, die dort auch angezeigt wird aber ohne bezeichnung.
und normal, wenn ich auf die seite im backend komme, wo die spalten mit den inhalten angezeigt werden, sind alle spalten ausser halt diese eine dargestellt...
ich brauche die dort aber dargestellt, da ich diese ja später auch wieder bearbeiten möchte...
wäre cool, wenn mir da geholfen werden kann
korrigier erstmal mal deinen code
$$TCA['tt_content']['columns']['colPos']['config']['items'][1][0]='NEU1:';
upsi, danke
habs berichtigt, allerdings ändert das nichts daran, das die spalte nicht angezeigt wird.
hast du auch in die localconf.php
das da :
$typo_db_extTableDef_script = 'extTables.php';
reigeschrieben??
MFG
Dander
ja das hab ich gemacht. wenn ich in der extTables.php z.B. die namen der spalten ändere, dann macht er des auch. also übernimmt er des aus der datei auch, aber wie gesagt, die 6te spalte will er nicht. o.O
vielleicht kann typo3 nur 5 spalten anzeigen versuch mal
mod.SHARED.colPos_list = 1,2,3,4,5
MFG
Dander
da zeigt er dann wieder nur 4 spalten an, wo vorher halt schon 5 waren.
ich schreibe nochmal, was genau ich wo drin habe, vielleicht is das ja dann übersichtlicher.
in der localconf.php
$typo_db_extTableDef_script = 'extTables.php';
dann in der extTables.php
<?php
/**
* Extension script.
*
* You are strongly recommended to use the distributed tables.php file found in t3lib/install/tables.php.
* However extending and/or modifying the content of tables.php is done with scripts like this.
* Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder.
* Extensions are movable to other Typo3 installations and provides a much better division between things! Use them!
*
* Information on how to set up tables is found in the document "Inside Typo" available as a PDF from where you downloaded Typo3.
*/
/**
* This adds an extra tt_content column (colPos=4), before the last column (Border):
* The function array_splice works directly on the input array!
*/
t3lib_div::loadTCA('tt_content'); // Make sure the whole tt_content configuration is loaded, before we can modify it!
if (is_array($TCA['tt_content'])) {
array_splice(
$TCA['tt_content']['columns']['colPos']['config']['items'], // The list of items
-1, // To insert one position from the end of the list
0, // Don't remove any items, just insert
array(array('Extra Column|Ekstra kolonne',5)) // Element to be inserted. Value is '4' and language is specified for english and danish.
);
}
$TCA['tt_content']['columns']['colPos']['config']['items'][1][0]='Normal:';
$TCA['tt_content']['columns']['colPos']['config']['items'][2][0]='Rechts:';
$TCA['tt_content']['columns']['colPos']['config']['items'][0][0]='Links:';
$TCA['tt_content']['columns']['colPos']['config']['items'][3][0]='Aussen:';
$TCA['tt_content']['columns']['colPos']['config']['items'][4][0]='Rand:';
$TCA['tt_content']['columns']['colPos']['config']['items'][5][0]='Hinten:';
?>
und im TypoScript:
mod.SHARED.colPos_list = 0,1,2,3,4,5
mfg voss
ok sorry hab gepennt muss so aussehen
<?php
/**
* Extension script.
*
* You are strongly recommended to use the distributed tables.php file found in t3lib/install/tables.php.
* However extending and/or modifying the content of tables.php is done with scripts like this.
* Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder.
* Extensions are movable to other Typo3 installations and provides a much better division between things! Use them!
*
* Information on how to set up tables is found in the document "Inside Typo" available as a PDF from where you downloaded Typo3.
*/
/**
* This adds an extra tt_content column (colPos=4), before the last column (Border):
* The function array_splice works directly on the input array!
*/
t3lib_div::loadTCA('tt_content'); // Make sure the whole tt_content configuration is loaded, before we can modify it!
if (is_array($TCA['tt_content'])) {
array_splice(
$TCA['tt_content']['columns']['colPos']['config']['items'], // The list of items
-1, // To insert one position from the end of the list
0, // Don't remove any items, just insert
array(array('Extra Column|Ekstra kolonne',4)) // Element to be inserted. Value is '4' and language is specified for english and danish.
);
}
if (is_array($TCA['tt_content'])) {
array_splice(
$TCA['tt_content']['columns']['colPos']['config']['items'], // The list of items
-1, // To insert one position from the end of the list
0, // Don't remove any items, just insert
array(array('Extra Column2|Ekstra kolonne2',5)) // Element to be inserted. Value is '4' and language is specified for english and danish.
);
}
$TCA['tt_content']['columns']['colPos']['config']['items'][1][0]='NEU1:'; #NORMAL
$TCA['tt_content']['columns']['colPos']['config']['items'][2][0]='NEU2:'; #RIGHT
$TCA['tt_content']['columns']['colPos']['config']['items'][0][0]='NEU3:'; #LEFT
$TCA['tt_content']['columns']['colPos']['config']['items'][5][0]='NEU6:'; #extra2
$TCA['tt_content']['columns']['colPos']['config']['items'][4][0]='NEU4:'; #BORDER
$TCA['tt_content']['columns']['colPos']['config']['items'][3][0]='NEU5:'; #extra
?>
MFG
Dander
cool das geht
1000 dank 😃
mfg voss
die Zwei Scripts funken ja ganz gut.
Ich hab nun das Problem, daß ich im einen Teil der Seite andere Spaltenbezeichnungen brauche als im anderen.
Kann ich das irgendwo mit angeben?
was mich noch interessieren würde in diesem zusammenhang...
wie bekommt man es nun hin das backend auch so aufzuteilen wie das frontend... also nicht alle splaten nebeneinander zu haben, sondern meinetwegen header oben, dann navigation, dann maincontent, dann rightcontent, und footer dann darunter?
hab ja irgendwo gesehen, dass das geht...
also so:
-------------------------
Header
-------------------------
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
-------------------------
Footer
-------------------------