• Resolved davidmarkkelly

    (@davidmarkkelly)


    I am using document gallery on a multi-site environment.

    When I attempt to edit an existing document gallery I am presented with an error message which I traced back to line 141 of class-admin.php

    namely:
    ‘unfitSCalert’ => __( ‘This DG shortcode is an advanced one. ‘.
    ‘Sorry there is no way to use standard edit dialog for it. ‘.
    ‘You should switch to text mode to edit shortcode itself.’, ‘document-gallery’ ),

    What can I do to resolve this ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    To clarify, you’re wanting to use the visual editor to modify your gallery and the error you are getting is that you can’t use the editor for the gallery?

    There are some settings supported by the [dg] shortcode that are not supported by the editor. I would assume that if you are getting this error you manually entered the shortcode at some point?

    If you switch to plain text mode and copy/paste the [dg ...] shortcode from there I’ll have a better idea what exactly is going on, but this is unlikely to be related to being multi-site.

    -Dan

    Thread Starter davidmarkkelly

    (@davidmarkkelly)

    Hi Dan,

    Thanks a million for such a fast response – you are 100% correct, it was because short code was typed directly rather than being a document gallery created via media.

    Thanks

    Plugin Author Dan Rossiter

    (@danrossiter)

    My pleasure, David! 🙂

    -Dan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Why does dg code give error code unfitSCalert’ is closed to new replies.