Forum Replies Created

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

    (@xphilippe)

    bump …

    I want also modify the content before send it in the database

    for instance, When user write “N:\repository\ …” I want to change it by “file://///servername/repository/ …”

    Any idea?

    add_action(‘save_post’,’myfunction’)
    function myfunction{$content=str_replace(‘…’,’…’,$content);}

    thanks in advance

    Hi,
    I was exactly looking for a piece of code to limite the search to certain categories. Your code works well !!

    <?php if( is_search() )  :
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts("s=$s&paged=$paged&cat=1,2,3");
    endif; ?>

    But, I want the category to be dynamic :
    From the web page archive.php, I want to store the current category (something like $my_category = “current categorie”) and call this variable in the search result web page search.php (query_posts(“S= …” cat=”.$my_category). As I am a dummy in PHP langage, I don’t know what I need to write …. could you help me?

    Thanks in advance

    Hi, i wonder also how to improve this presentation.
    On other web site I see nice effect :
    on the right side of the picture appear an >> arrow when your mouse is over, and also on the left side, Thus you click on >> to see the next picture, and if you click on the center of picture, you go back to the gallery.

    Does anybody know a mean to make this effect.

    regards

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