i make quick typo3 6.2 extension extension builder (i'm fe integrator) , display content of tables in fe typoscript :
10 = content 10 { table = tx_ensgue_domain_model_ue select { pidinlist = 41 selectfields = tx_ensgue_domain_model_ue.uid,tx_ensgue_domain_model_ue.syl_code,tx_ensgue_domain_model_ue.syl_titre join = tx_ensgue_ue_sylperiode_mm on (tx_ensgue_ue_sylperiode_mm.uid_local = tx_ensgue_domain_model_ue.uid) = (tx_ensgue_domain_model_ue.syl_titre '%%' , tx_ensgue_domain_model_ue.deleted=0) andwhere = tx_ensgue_ue_sylperiode_mm.uid_foreign=1 orderby = tx_ensgue_domain_model_ue.syl_code } renderobj = coa renderobj { 20 = text 20 { field = syl_code notrimwrap=|[|] | } 30 = text 30 { field = syl_titre stdwrap.editicons = tx_ensgue_domain_model_ue:syl_code,syl_titre,syl_periode,syl_responsables stdwrap.editicons.beforelasttag = 1 stdwrap.editicons.icontitle = modifier l'ue required = 1 } wrap = <li > |</li > } stdwrap { wrap = <h2>semestre 5</h2><ul class="syl_fe">|</ul> required = 1 } } i try use feedit (from core) editicons availables admin users. non-admin can edit tt_content in page, won't work if display list of tt_content within content object. may hard coded in typo3/sysext/core/classes/frontendediting/frontendeditingcontroller.php (line 459 ?) it's beyond knowledge. how can use stdwrap.editicons allow non-admin be-users edit tables ?
i've been searching in core/classes/frontendediting/frontendeditingcontroller.php. in function allowedtoedit(), working when $mayedit = true; or $editaccessinternals = true; or $checkeditaccessinternals = false;
my problem in core/classes/authentication/backenduserauthentication.php (the checking languages part). checking $globals['tca'][$table]['ctrl']['languagefield'].
so replaced
$tca['tx_ensgue_domain_model_ue']['ctrl']['languagefield'] = 'sys_language_uid'; to
$tca['tx_ensgue_domain_model_ue']['ctrl']['languagefield'] = 0; in extension, , it's working.
i don't understand change because demo user had rights on languages, , config.sys_language_uid = 0 in setup ts...
Comments
Post a Comment