Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here is how to fix that. It appears that the function is not recognizing the size that is indicated in the quotes. I almost decided not to use the plugin because it looked too messy but this change I made to my own site works perfectly.

    <?php livesearchpopup_resultsbox("100%") ?>

    Edit the file wp-content/plugins/live-search-popup/css/live_search.css and look for the following lines of css:

    #livesearchpopup_box {
        color: #f0f0f0;
        background: #0255cd url(../resultgradient.png) 0 0px repeat-x;
        right: 0em;
        text-align: left;
        padding: 1px;
        margin: 0px;
        position: absolute;
        width: 100%;
    
        filter:alpha(opacity=95);
        -moz-opacity:.95;
        opacity:.95;
        z-index:100;
    }

    Change the width to whatever you want
    width: 50%;

    Change the margin to whatever you want in pixel measurement so its not pushed up right against the edge of your site.
    margin: 10px;

    hope that helps.

    Thread Starter nfsupport

    (@nfsupport)

    thanks for your input. it sounds like the fix would be far beyond my skills/knowledge. I will definitely submit this through the link you gave me.

    I love this specific SyntaxHighlighter because the way it is laid out looks a lot nicer than wp-syntax but it doesn’t have nearly as many languages supported unfortunately

    Thread Starter nfsupport

    (@nfsupport)

    addition: ive added display_errors = off to my php.ini to suppress this warning message but i’d like to solve the problem.

    the warnings only come up when selecting “asp” as the language. the code referenced in the warning is:

    foreach($this->language_data['SYMBOLS'] as $key => $symbols) {
                    if(is_array($symbols)) {
                        foreach($symbols as $sym) {
                            if(!isset($symbol_data[$sym])) {
                                $symbol_data[GeSHi::hsc($sym)] = $key;
                                $symbol_preg[] = preg_quote(GeSHi::hsc($sym), '/');
                            }
                        }
                    } else {
                        if(!isset($symbol_data[$symbols])) {
                            $symbol_data[GeSHi::hsc($symbols)] = 0;
                            $symbol_preg[] = preg_quote(GESHI::hsc($symbols), '/');
                        }
                    }
                }

    any help would be appreciated

Viewing 3 replies - 1 through 3 (of 3 total)