1 (edited by 2015-01-08 21:11:38)

Topic: How To Make Appear Search Box?

Hi there...I've searched the whole forum and I still can't figure out how to show the search box in the fullstory and shortstory.

Any hint?

Thanks in advance.

Also I have problem with pagination...it doesn't appear in there's more category in one page!!

Re: How To Make Appear Search Box?

You can look up a way to show the search box in example.php:

                <!-- SECTION: SEARCH -->
                <h3>Quick search</h3>
                <form action="<?php echo PHP_SELF; ?>" method="GET">
                    <input type="hidden" name="dosearch" value="Y" />
                        <input style="width: 200px; padding: 4px;" class="text" type="text" name="search" value="<?php echo cn_htmlspecialchars(REQ('search')); ?>" />
                        <input style="width: 75px; padding: 4px;"  class="submit" type="submit" value="search it!" />

then you will need to make the following changes on the news displaying page:

                if (isset($_GET['search'])&&$_GET['search'])
                    include ("search.php");
                    include ("show_news.php");
Best regards,
CN Support team