Page 1 of 1

Two "1"s in Entryeditorpage

Posted: Tue Oct 09, 2007 11:40 pm
by kleinerChemiker
The Code of the Page looks like:

Code: Select all

                            <div class="entryproperties_markup">
                            Disable Markup plugins for this entry:<br />

                            <div style="margin-left: 10px">
                                <select name="serendipity[properties][disable_markups][]" multiple="multiple" size="4">
                                <option  value="serendipity_event_google_analytics:05bbfef7b5db330910da19b911445ba0">Google Analytics</option>
<option  value="serendipity_event_s9ymarkup:431f53d66980f344e412a7319b93213e">Textformatierung: Serendipity</option>
<option  value="serendipity_event_xhtmlcleanup:c225a41dd5fc8d27090fbff72a05d97f">Übliche XHTML-Fehler beseitigen</option>
<option  value="serendipity_event_nl2br:cab54f5de41f9d4f4be75daf4134d93d">Textformatierung: NL2BR</option>
<option  value="serendipity_event_lightbox:284cc6e5151d7532867f22a14e7ffe38">Lightbox/Thickbox JS/Graybox</option>
                                </select>

                            </div>
                        </div>

                                                </fieldset>

                </fieldset>
        </td>
    </tr>
</table>
</form>

            1
            1
        <script type="text/javascript">var serenditpityBaseUrl = "http://blog.kleinerchemiker.net/"</script>
<script language="javascript" type="text/javascript" src="plugins/serendipity_event_tinymce/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
<script type="text/javascript">
if (!window.tinymce_inited) {
    var Emulator = {
     surroundHTML: function(block, string) {
       tinyMCE.execCommand('mceInsertRawHTML', true, block);
     }
    };
    editorref = Emulator;
};
</script>
that leeds to
Image

Seem to be a rest of debugging :wink:

Re: Two "1"s in Entryeditorpage

Posted: Wed Oct 10, 2007 11:35 am
by garvinhicking
Hi!

This comes from the event plugin that's placed after the "entryproperties" plugin, but before the TinyMCE event plugin. Which ones are listed there? It might also be the tinymce plugin that's causing it, try to temporarily disable that one and see if the 1's go away?

Regards,
Garvin

Posted: Wed Oct 10, 2007 11:46 am
by kleinerChemiker
it seems to be the tinymcq-plugin. but i cannot find the source of the two "1"s

Posted: Wed Oct 10, 2007 11:52 am
by garvinhicking
Hi!

Okay, check this: http://php-blog.cvs.sourceforge.net/php ... 23&r2=1.24

Regards,
Garvin

Posted: Wed Oct 10, 2007 12:05 pm
by kleinerChemiker
danke. ich hab nach 1ern gesucht und nicht an true gedacht :oops:

Posted: Wed Oct 10, 2007 12:08 pm
by kleinerChemiker
sollte man nicht vielleicht auch die false entfernen? würden die nicht als 0er erscheinen?

Code: Select all

</script>
<?php
                    break;

              default:
                return false;
            }

        } else {
            return false;
        }
    }

Posted: Wed Oct 10, 2007 2:56 pm
by garvinhicking
Hi!

Das 'false' kommt aus einem anderen Switch, das wird benötigt. :)

Grüße,
Garvin