The above code gave this result where the search-results should be displayed:
include_books => sub { my $tags = shift; $tags->{home}->{cgi}->{db} = 'bokkilden_svanger'; $tags->{home}->{cgi}->{do} = 'search_results'; $tags->{home}->{cgi}->{details} = '0'; $tags->{home}->{cgi}->{category} = 'barnets navn'; my $results = $tags->{home}->search_results; return $tags->{home}->print('search_results.html',$results); }
I did exactly as you wrote. What is wrong?
..........................
Kjetil Palmquist
www.svanger.com
include_books => sub { my $tags = shift; $tags->{home}->{cgi}->{db} = 'bokkilden_svanger'; $tags->{home}->{cgi}->{do} = 'search_results'; $tags->{home}->{cgi}->{details} = '0'; $tags->{home}->{cgi}->{category} = 'barnets navn'; my $results = $tags->{home}->search_results; return $tags->{home}->print('search_results.html',$results); }
I did exactly as you wrote. What is wrong?
..........................
Kjetil Palmquist
www.svanger.com