WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Widgets
[resolved] "Search Page" Option missing (12 posts)

  1. boazarad
    Member
    Posted 1 year ago #

    I've seen this both in 3.5 and after my upgrade to 3.5.1.
    The "Search Page" option under widget display options is missing along with many other options (error page etc.).

    http://wordpress.org/extend/plugins/dynamic-widgets/

  2. Qurl
    Member
    Plugin Author

    Posted 1 year ago #

    Please make sure you're using the latest version of Dynamic Widgets.

  3. boazarad
    Member
    Posted 1 year ago #

    I am indeed using the latest version (1.5.4).

  4. Qurl
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm... what's the last option you see?

  5. boazarad
    Member
    Posted 1 year ago #

    The last option is "Custom Post Type Archives"

    Here's a screen-grab of the option screen:
    http://min.us/lICRVpQCZJtWs

  6. Qurl
    Member
    Plugin Author

    Posted 1 year ago #

    That's the last option anyway. I do see in the screendump options missing. Looks like those modules are not being detected. How many files do you have in ./wp-content/plugin/dynamic-widgets/mods/ ?

  7. boazarad
    Member
    Posted 1 year ago #

    I have 24 files, among them is "search_module.php"

  8. boazarad
    Member
    Posted 1 year ago #

    I don't know if this helps, but this is the content of my 'search_module.php' - I've noticed it's a lot 'thinner' than most other files.

    <?php
    /**
     * Search Module
     *
     * @version $Id: search_module.php 523481 2012-03-25 19:49:08Z qurl $
     * @copyright 2011 Jacco Drabbe
     */
    
    	class DW_Search extends DWModule {
    		public static $option = array( 'search' => 'Search page' );
    		protected static $question = 'Show widget on the search page?';
    	}
    ?>
  9. Qurl
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah, that's correct. error_modules.php is also very small. Not much necessary there.

    Can you find out which PHP version is being used on your server? I found out with help of another user, the minimum PHP version should actually be 5.2.7

  10. boazarad
    Member
    Posted 1 year ago #

    Ah, I see, we're running PHP 5.2.4.
    I'll talk to my sysadmin and see if we can upgrade.

    Thanks a lot for your help so far!
    I'll keep you posted.

  11. boazarad
    Member
    Posted 1 year ago #

    Thanks for your help Qurl!
    I've upgraded to PHP 5.2.10 and the missing categories appeared.

  12. Qurl
    Member
    Plugin Author

    Posted 1 year ago #

    Cool! FYI: It has to do with a bug before 5.2.7 in PHP not always exposing scope properties within an object.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic