Modifications in OPAC script not shown
Salud: i'im triying to do some little modifications in the script that shows the MARC format of the record in Koha's OPAC (opac-MARCdetail.pl). I've found that any modification in the code is not shown inmmedialely on the screen, for example if I make print "Content-Type: text/html\n\n"; print "<html><body>something</body></html>"; exit; the message is not shown at all. Only if I change the name of the script and run it works, but again the new script seems to remain "frozen" in this initial step and doesn't show any further modification. I suppose that the problem is based in the existence of some cache anywhere, I would like to know how to avoid this behaviour in order to see in real time the effect of the modifications I'm doing. Thank you very much Camilo Freire Uruguay
Salud Camilo So there are 2 things The changes will not be showing because of plack, you will need to restart plack if you make any changes to the scripts or the modules BUT If you are wanting to make changes to the display you are much better off editing the template files Chris On 14/05/19 10:25 am, Camilo Freire wrote:
Salud:
i'im triying to do some little modifications in the script that shows the MARC format of the record in Koha's OPAC (opac-MARCdetail.pl). I've found that any modification in the code is not shown inmmedialely on the screen, for example if I make
print "Content-Type: text/html\n\n"; print "<html><body>something</body></html>"; exit;
the message is not shown at all. Only if I change the name of the script and run it works, but again the new script seems to remain "frozen" in this initial step and doesn't show any further modification.
I suppose that the problem is based in the existence of some cache anywhere, I would like to know how to avoid this behaviour in order to see in real time the effect of the modifications I'm doing.
Thank you very much Camilo Freire Uruguay _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Camilo Freire -
Chris Cormack