• Resolved entreevous

    (@entreevous)


    Is there a code difference between the admin screen between editing a wiki page and a wiki category?

    I am able to see functions from other editing plugins in the wiki category page than I can in the wiki page.

    For example, a plugin with the ability to move the sidebar position on a page basis and another to add a page specific secondary menu.

    Thanks!

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

    (@dmccan)

    Hi entreevous,

    The wiki category page is just straight WordPress. The wiki page where you add a wiki article has code to add the buttons and popups to the editor toolbar and do the AJAX lookup of the wiki article names when you start typing into the wiki link popup. You might try looking in the Chrome console to see if there is a JavaScript error.

    Best,

    David

    Thread Starter entreevous

    (@entreevous)

    Is there a way to eliminate those functions so a standard admin functions can be used? I don’t mind writing the PHP.

    I’m just not seeing an error in the javascript console.

    Alex

    Plugin Author dmccan

    (@dmccan)

    Hi entreevous,

    I’m not totally sure what your issue is. What are the plugins that are adding the functionality you are having trouble with, and what then are you expecting but not seeing? If these plugins are free or I own them then I’ll try to reproduce what you are seeing.

    If you want to hack around, in inc\functions-admin.php you can try commenting out the lines within the if block that starts with:

    if (yada_wiki_is_edit_page() && ("yada_wiki" == $typenow || $yadaWikiEditorButtons == true)){

    This isn’t something I’ve tried, but perhaps it will remove the buttons and code added in the editor and still allow the shortcodes to work.

    Best,

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin menu difference between wiki entry and wiki category’ is closed to new replies.