[Koha-bugs] [Bug 5671] Add a column of custom HTML to "my summary"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 18 22:20:16 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5671

--- Comment #18 from Magnus Enger <magnus at enger.priv.no> 2011-04-18 20:20:16 UTC ---
I see a couple of problems: 

In koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt, *html should be *HTML:  

266 [% IF ( OPACMySummaryhtml ) %]
267    <td>[% MySummaryhtml %]</td>
268 [% END %]

In opac/opac-user.pl, normalized_isbn and MySummaryHTML are both added to
$issue after it has been pushed onto @issuedat, which is what gets assigned to
the ISSUES template variable: 

161 $issue->{date_due} = format_date($issue->{date_due});
162 push @issuedat, $issue;
163 $count++;
164                 
165 my $isbn = GetNormalizedISBN($issue->{'isbn'});
166 $issue->{normalized_isbn} = $isbn;
167 
168 # My Summary HTML
169 if (my $my_summary_html = C4::Context->preference('OPACMySummaryHTML')){
...
176     $issue->{MySummaryHTML} = $my_summary_html;
...
180 $template->param( ISSUES       => \@issuedat );

But fixing both of these does not fix the "My Summary" page... Will look some
more tomorrow...

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list