Bruno17 / xdbedit

CMP to edit custom-tables with grid and Form. Flexible Form-config with TV-inputs for table-fields.
10 stars 1 forks source link

Kompatibilität: modx revo 2.1 #4

Open nd2s opened 13 years ago

nd2s commented 13 years ago

Hallo,

So wie es aussieht gibt es Probleme mit RC1 von 2.1. Wenn TinyMCE installiert ist: /core/components/xdbedit/controllers/mgr/home.php:~58 $modx->isFrontend() - method not found. (methode deprecated?)

Außerdem werden im Backend die Input TVs total falsch angezeigt. Die Text-TV sieht in Ordnung aus, aber RichText ist nur eine extrem kleine Textarea, meine Checkbox und die Inageauswahl wird garnicht angezeigt. Ich bin mir aber nicht sicher ob das ein Problem mit 2.1 ist, oder ob ich Schuld bin. Ich kenn mich mit extjs noch nicht wirklich aus, und bekomme da noch einiges nicht hin.. Wobei ich die TVs eigentlich nicht falsch einbinden kann, meiner Meinung nach..

Bruno17 commented 13 years ago

kann schon sein, ist auch nicht auf 2.1 getestet. May be xdbedit isn't working correctly on 2.1. It isn't tested for it.

rtripault commented 13 years ago

I'm experiencing the same problem with 2.1.0-rc3.

@mqt : i commented

      if (isset($forfrontend) || $modx->isFrontend()) {
            $def = $modx->getOption('cultureKey',null,$modx->getOption('manager_language',null,'en'));
            $tiny->properties['language'] = $modx->getOption('fe_editor_lang',array(),$def);
            $tiny->properties['frontend'] = true;
            unset($def);
        }

And the UI worked (didnt test much if it is still functionnal)

nd2s commented 13 years ago

I did that some hours later, but the tvs were not displayed correctly. But maybe it was just because of the image-tv issue which got solved some days ago.

I will test it again tomorrow and tell you the result - thank you for your reply!