http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692012-10-25T12:56:30ZTYPO3 ForgeTYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languageshttp://forge.typo3.org/issues/40681?journal_id=1378962012-10-25T12:56:30ZFabian nitsche@medialesson.de
<ul></ul><p>I have a similar problem.</p>
<p>If i use "sys_language_uid = ###REC_FIELD_sys_language_uid###" to get only the records in the correct language there are no records found by the suggest wizard anymore.</p>
<pre><code>&lt;type&gt;select&lt;/type&gt;<br /> &lt;foreign_table&gt;my_extension&lt;/foreign_table&gt;<br /> &lt;foreign_table_where&gt;<br /> AND my_extension.pid = 403 AND my_extension.sys_language_uid = ###REC_FIELD_sys_language_uid###<br /> &lt;/foreign_table_where&gt;</code></pre>
<pre><code>&lt;wizards&gt;<br /> &lt;suggest&gt;<br /> &lt;type&gt;suggest&lt;/type&gt;<br /> &lt;/suggest&gt;<br /> &lt;/wizards&gt;</code></pre> TYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languageshttp://forge.typo3.org/issues/40681?journal_id=1379452012-10-25T18:12:14ZAnonymous
<ul></ul><p>unfortunately there's only replacement of two markers in the foreign_table_where clause:</p>
<p>see t3lib/tceforms/class.t3lib_tceforms_suggest.php:<br /><pre>
214 //process addWhere
215 if (!isset($config['addWhere']) && $foreign_table_where) {
216 $config['addWhere'] = $foreign_table_where;
217 }
218 if (isset($config['addWhere'])) {
219 $config['addWhere'] = strtr(' ' . $config['addWhere'], array(
220 '###THIS_UID###' => intval($uid),
221 '###CURRENT_PID###' => intval($pageId),
222 ));
223 }
</pre></p> TYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languageshttp://forge.typo3.org/issues/40681?journal_id=2112962014-04-01T15:11:04ZTobias H.huemmerich@googlemail.com
<ul></ul><p>Is this issue resolved in TYPO3 6.2? Has anyone checked the behaviour in 6.2?</p> TYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languageshttp://forge.typo3.org/issues/40681?journal_id=2117082014-04-03T16:44:59ZThomas Christiansenthomas@flense.de
<ul></ul><p>Nope, it's not. :(</p>
<p>When I use</p>
<p>foreign_table_where' => 'AND my_ext.sys_language_uid=0'</p>
<p>the wizard works fine. In my case i can deal with the hard coded 0.</p> TYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languageshttp://forge.typo3.org/issues/40681?journal_id=2515552015-03-03T16:11:58ZPatrick Kavajinkavajin@dialoop.de
<ul><li><strong>File</strong> <a href="/attachments/28546">t3_6.2.9_suggestelement_marker_REC_FIELD_sys_language_uid.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/28546/t3_6.2.9_suggestelement_marker_REC_FIELD_sys_language_uid.patch">t3_6.2.9_suggestelement_marker_REC_FIELD_sys_language_uid.patch</a> added</li></ul><p>See attachment for a patch implementing the REC_FIELD_sys_language_uid marker.</p> TYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languageshttp://forge.typo3.org/issues/40681?journal_id=2704712015-08-06T10:44:15ZSusanne Moogsusanne.moog@typo3.org
<ul></ul><p>Could you hand in that patch as described here: <a class="external" href="https://wiki.typo3.org/Contribution_Walkthrough_Tutorials">https://wiki.typo3.org/Contribution_Walkthrough_Tutorials</a></p> TYPO3 Core - Feature #40681: Enhance suggest wizard by limiting to certain languageshttp://forge.typo3.org/issues/40681?journal_id=3557372018-01-24T20:15:50ZSusanne Moogsusanne.moog@typo3.org
<ul><li><strong>Category</strong> set to <i>FormEngine aka TCEforms</i></li></ul>