Support » Plugin: CMS Tree Page View » Making CMS Tree Page View compatible to FormidablePro

  • Resolved j0hn

    (@j0hn)


    Good morning eskapism and MarsApril,
    in Formidable Pro there is an option to bulk create radio-buttons, selects and check-boxes. If CMS Tree Page View is in plugin folder, even not activated, there drops an error about get_current_screen() function on line 217.

    I resolved it with adding these code snippet before $current_screen:

    if ( !function_exists('get_current_screen') ) {
    function get_current_screen() {
    	global $current_screen;
    
    	if ( ! isset( $current_screen ) )
    	return null;
    
    	return $current_screen;
    }
    }

    So please add these lines in next release to make your great plugin compatible to Formidable Pro.

    Thanks for your wonderful plugin!
    Kind regards
    J0hn

    I think it would be helpful for many people to add something about orderby => menu_order to the install notes.

    http://wordpress.org/extend/plugins/cms-tree-page-view/

Viewing 1 replies (of 1 total)
  • Plugin Author Pär Thernström

    (@eskapism)

    Thanks for your feedback. I’ll see if I can fix that current_screen-bug. Also that information for the readme sounds like a good idea!

Viewing 1 replies (of 1 total)
  • The topic ‘Making CMS Tree Page View compatible to FormidablePro’ is closed to new replies.