• Resolved sarahdionne

    (@sarahdionne)


    I have a couple issues that have developed; hopefully they’ll have one root cause.

    We have 10+ upcoming events listed and I was contacted by a user to say that the Edit/Delete button was not showing on the Dashboard next to her event.

    To test, I created some events and anything before June 10 could be edited/deleted but for anything June 10 or later, the edit/delete button disappeared.

    Also, the events that I deleted from the Dashboard, are not deleted on the site: https://ragoninstitute.org/seminars/ (tests as well as Qingsheng Li Ph.D. events are all deleted in the Dashboard view but display on the live site.)

    Any help you can give would be most appreciated!

    https://www.ads-software.com/plugins/mf-gig-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Matthew Fries

    (@brewermfnyc)

    Hi Sarah
    Thanks for including your URL. I took a quick look at the source and it looks like you’ve got some Microsoft Word specific code stuck in the June 10th event that is likely causing all your problems. That happens when you paste directly from MS Word into the WP editor. For example – on your June 10th event I see this code stuck in there:

    <p><!--><xml>
     <w:WordDocument>
      <w:View>Normal</w:View>
      <w:Zoom>0</w:Zoom>
      <w:TrackMoves/>
      <w:TrackFormatting/>
      <w:PunctuationKerning/>
      <w:ValidateAgainstSchemas/>
      <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
      <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
      <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
      <w:DoNotPromoteQF/>
      <w:LidThemeOther>EN-US</w:LidThemeOther>
      <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
      <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
      <w:Compatibility>
       <w:BreakWrappedTables/>
       <w:SnapToGridInCell/>
       <w:WrapTextWithPunct/>
       <w:UseAsianBreakRules/>
       <w:DontGrowAutofit/>
       <w:SplitPgBreakAndParaMark/>
       <w:EnableOpenTypeKerning/>
       <w:DontFlipMirrorIndents/>
       <w:OverrideTableStyleHps/>
      </w:Compatibility>
      <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
      <m:mathPr>
       <m:mathFont m:val="Cambria Math"/>
       <m:brkBin m:val="before"/>
       <m:brkBinSub m:val="--"/>
       <m:smallFrac m:val="off"/>
       <m:dispDef/>
       <m:lMargin m:val="0"/>
       <m:rMargin m:val="0"/>
       <m:defJc m:val="centerGroup"/>
       <m:wrapIndent m:val="1440"/>
       <m:intLim m:val="subSup"/>
       <m:naryLim m:val="undOvr"/>
      </m:mathPr></w:WordDocument>
    </xml><![endif]--></p>

    I’m hoping to find a better way to strip that crap out in a future update of MF Gig Cal. For now you need to be careful when pasting from Microsoft Word.

    Hope that helps!
    Matthew

    Plugin Author Matthew Fries

    (@brewermfnyc)

    PS: You won’t see that code in the editor’s “Visual” view – you’ll need to click the “Text” tab in the upper right hand corner. Then it’s easy to clean out. Let me know if that does the trick…

    Thread Starter sarahdionne

    (@sarahdionne)

    Unfortunately, some of the users cut and paste from Word documents and such. I’ll definitely remind them to put it into Notepad first!

    However, how can I delete these posts if the Dashboard isn’t showing the Edit/Duplicate/Delete buttons?

    Plugin Author Matthew Fries

    (@brewermfnyc)

    I guess you’ll need to go in and clean out that code. You can get to the edit page directly with a URL like this:

    [MYDOMAIN]/wp-admin/admin.php?page=mf_gig_calendar&id=1234&action=edit

    Just replace the “1234” with the id of the event. You can grab that from the event shortcode in the admin list:

    [mfgigcal event_id=1234]

    Sorry to make this difficult. It’s a work in progress… ??

    Thread Starter sarahdionne

    (@sarahdionne)

    Thank you! Once I cleared out the code that the user had put in, everything displayed properly. And if this happens again in the future, I know how to fix it. Thank you so much for the quick and helpful response!

    Plugin Author Matthew Fries

    (@brewermfnyc)

    Hopefully it will get easier in the next update. Stay tuned…

    I know this has been resolved and thank you all for contributing. I was starting to panic a little when I couldn’t edit or remove a gig in my schedule.

    I wanted to also point out in version 0.9.9.5 (and probably earlier) using HTML comments <!– will also cause the Edit/Delete buttons to not show from the admin panel.

    Thanks Matt for making this awesome plugin. Its by far the easiest gig management app I’ve had the pleasure of using for my band ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Delete/Edit button not displaying / Events not deleting’ is closed to new replies.