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

Ian Walls <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Ian Walls <[email protected]> ---
Stow Munroe Falls Public Library has created a mobile OPAC and shared it on
gitorious:  http://gitorious.org/koha-mobile-web/kohaclone

Methodology:  creates a new directory, koha-tmpl/mobile (and another dir for
icons), as well as 11 new mobile-opac-*.pl files in the opac dir.  The bulk of
the mobile templates look to actually be in koha-tmpl/opac-tmpl/prog/en, with
the mobile-* prefix.  Many of the styles and features are hardcoded to work for
SMFPL at this time.

New mobile-opac-*.pl scripts, with differences from their opac-*.pl originals:

mobile-opac-detail.pl : calls the mobile template instead, and has hardcoded
changes to the definition of "lost"
mobile-opac-main.pl : calls mobile template instead
mobile-opac-modrequest.pl : redirects to the mobile URL instead
mobile-opac-renew.pl : mobile template and mobile URL redirect
mobile-opac-reserve.pl : mobile template and mobile URL redirect
mobile-opac-search.pl : mobile templates (many), mobile URL redirect, and
default numbers of results and pages to show
mobile-opac-shelves.pl : mobile template
mobile-opac-user.pl : mobile template

These files are new, and I'm not sure what their functions are

mobile-opac-detail-hold.pl
mobile-opac-main-hold.pl
mobile-opac-user-hold.pl

So, it looks like by adding a universal piece of logic to determine whether to
use the mobile template or not, we could avoid having duplicate copies of these
files.  The redirects wouldn't need to be different, because the URLs would
stay the same between mobile and desktop versions.

Additional bug reports could be filed to handle the other differences (like
default numbers of results, and "lost" definition.

Once the Perl scripts are reconciled, it just becomes a matter of moving the
templates into a new directory (koha-tmpl/opac-tmpl/mobile ?), and generalizing
for other institutions.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to