Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 08:38 am EST
Geeklog Forums
Please help with search results...
Anonymous
Anonymous
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
7
6
Quote
Status: offline
Dirk
Site Admin
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
6
6
Quote
Anonymous
Anonymous
so..in those instances i should replace data with my unique name..and then in templates i will be abel to use {date} {hits}?
7
7
Quote
All times are EST. The time is now 08:38 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