Two "1"s in Entryeditorpage

Found a bug? Tell us!!
Post Reply
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Two "1"s in Entryeditorpage

Post 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:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Two "1"s in Entryeditorpage

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Post by kleinerChemiker »

it seems to be the tinymcq-plugin. but i cannot find the source of the two "1"s
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Post by kleinerChemiker »

danke. ich hab nach 1ern gesucht und nicht an true gedacht :oops:
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Post 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;
        }
    }
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply