Search tt_news at the top of the page

View: New views
1 Messages — Rating Filter:   Alert me  

Search tt_news at the top of the page

by Joko Nurjadi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I need to create a search form for tt_news at the top of every pages, so i did this:

1. In Templavoila, i created a data element with Mapping type: element, Editing type: Typoscript Object Path, Object path: lib.mySearch. And mapped it in my template.

2. Created a element: tt_news displaying SEARCH. The id of element is: 602.

3. Added this Typoscript at template setup:

lib.mySearch= COA
lib.mySearch{
  10 = RECORDS
  10.tables = tt_content
  10.source = 602
}

Everything works fine until I submit a search query, it shows result below the search form instead of main content. How to direct it to main content template?

Thanks for help.

Regards,
Joko




      New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english