WordPress.org

Ready to get started?Download WordPress

Forums

CMS Tree Page View
[resolved] Making CMS Tree Page View compatible to FormidablePro (2 posts)

  1. j0hn
    Member
    Posted 1 year ago #

    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/

  2. Pär Thernström
    Member
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic