Welcome to Geeklog, Anonymous Friday, July 12 2024 @ 11:05 am EDT

Geeklog Forums

Please help with search results...


Hi. Im desparate now. I found out that there is no particular variables in geeklog to easily contumize the appearance of search results. The template says: {data}..ok thats good but i want to display each item in separate table with 1 column and 3 rows. First row - date, 2nd- Title and Introtext, 3rd - story url. I want each row to have its own background..Dirk or others is it possible to extract spesific variables from search.php..like $data['date']? and then to include into template? thanks

Status: offline


Site Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well, it's certainly possible but would require some hacking in search.php. Have a look at function searchstories() in that file. You will see the 3 calls to set_var('data') which set the currently used columns. You would need to modify those to set the content you want instead. bye, Dirk


so..in those instances i should replace data with my unique name..and then in templates i will be abel to use {date} {hits}?

All times are EDT. The time is now 11:05 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content