[TYPO3-german] Re: Extbase und fe_users

Maik Hagenbruch mh at ivi-solutions.com
Sat Mar 30 17:57:40 CET 2013


Hm, könnte sein dass da der Hund begraben liegt. Ich weiß nicht genau ob das so richtig ist. 
Muss da in die setup.txt im Verzeichnis "Configuration" oder muss das in die ext_typoscript_setup.txt?

Die ext_typoscript_setup.txt sieht so aus:

config.tx_extbase{
    persistence{
        classes{

             {
                mapping {
                    tableName = fe_users
                    recordType = Tx_MusicfinderRegister_User
                }
            }
            
    	}
    }
}

und die setup.txt im Verzeichniss Configuration sieht so aus:

plugin.tx_musicfinderregister = USER
plugin.tx_musicfinderregister {
	userFunc = tx_extbase_core_bootstrap->run
    pluginName = User
    extensionName = MusicfinderRegister
    controller = User
    action = new
	view {
		templateRootPath = {$plugin.tx_musicfinderregister.view.templateRootPath}
		partialRootPath = {$plugin.tx_musicfinderregister.view.partialRootPath}
		layoutRootPath = {$plugin.tx_musicfinderregister.view.layoutRootPath}
	}
	persistence {
		storagePid = {$plugin.tx_musicfinderregister.persistence.storagePid}
	}
	features {
		# uncomment the following line to enable the new Property Mapper.
		# rewrittenPropertyMapper = 1
	}
}

plugin.tx_musicfinderregister._CSS_DEFAULT_STYLE (
	textarea.f3-form-error {
		background-color:#FF9F9F;
		border: 1px #FF0000 solid;
	}

	input.f3-form-error {
		background-color:#FF9F9F;
		border: 1px #FF0000 solid;
	}

	.tx-musicfinder-register table {
		border-collapse:separate;
		border-spacing:10px;
	}

	.tx-musicfinder-register table th {
		font-weight:bold;
	}

	.tx-musicfinder-register table td {
		vertical-align:top;
	}
)


Ich glaub ich steh hier einfach noch ein bisschen aufm Schlauch...


More information about the TYPO3-german mailing list