Results 1 to 3 of 3

Thread: Search form and pseudo frame

  1. #1
    Join Date
    Dec 2004
    Posts
    617

    Default Search form and pseudo frame

    hi,

    I'd like to include the search form on my index page.
    I've read the user guide and the forum, but I can't figure out how to include
    the result page on a pseudo frame.

    I'd like, when I click the search button on the form of the main page, to get the result inside the same page.

    My website is structured with PHP pseudo frames (if I click on a link, the appears on the same page maintaining all the menus and others parts around)

    but if I put "http://mysite/index.php?rub=./search.php&zoom_query=$zoom_query" on the form (on the action part), it doesnt work.

    I don't know how to do, each time I type a keyword and click the search button, I go to "http://search.php?zoom_query=test" and not "index.php?rub=./search.php&zoom_query=test

  2. #2
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    4,156

    Default

    I am not sure if there is really such a thing as a 'pseudo frame'.

    You are either using frames with the <FRAMESET> tag or your not.

    The default behaviour is for the search results to replace the current page. So by the sounds of it the default behaviour is what you want.

    If you want to have your own custom headers and footers on your search results page you should edit the search_template.html file to add HTML code above and below the results.

    If you want to have PHP code generate your headers and footers around the search results refer to this FAQ question,
    http://www.wrensoft.com/zoom/support/faq_ssi.html

    I don't know what your index.php file does nor what parameters it expects and so can't really comment on it.

    ------
    David

  3. #3
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,572

    Default

    Note that if you're referring to inline frames (ie. <IFRAME>), they work the same way as a normal frameset so you can use the target= attribute to load the search page within a certain frame.

    See this FAQ for more information on using Zoom on a frames-based website:
    http://www.wrensoft.com/zoom/support...to.html#frames
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

Similar Threads

  1. Frame target not working
    By Becky in forum Zoom Search Engine V4 (Old Version)
    Replies: 3
    Last Post: 05-10-2006, 12:09 AM
  2. Search Form Gets Overwritten
    By dnash in forum Zoom Search Engine V4 (Old Version)
    Replies: 5
    Last Post: 10-21-2005, 12:09 AM
  3. Results linking from a frame
    By tjfcat in forum Zoom Search Engine V4 (Old Version)
    Replies: 1
    Last Post: 10-18-2005, 09:36 PM
  4. resultpage in another frame
    By jannes in forum Zoom Search Engine V4 (Old Version)
    Replies: 5
    Last Post: 05-27-2005, 12:35 AM
  5. how to modify search form on a template???
    By Anonymous in forum Zoom Search Engine V4 (Old Version)
    Replies: 1
    Last Post: 01-27-2005, 01:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •