Git Product home page Git Product logo

Comments (1)

davidlesieur avatar davidlesieur commented on June 8, 2024

At the moment, unfortunately, there is no way of replacing the landing page without dealing with Python code.

From your Git repository, I can see that the team has created a modified version of Kerko. The landing page is handled by the home() function in your repository's kerko/views.py module, and then by the custom landing.html.jinja2 template. That should be fairly easy to migrate to a newer Kerko, but that still amounts to manipulating Python code.

However, I would not recommend modifying Kerko as your team has done. It might not have been obvious at the time because the documentation was a bit lacking, but ideally all customizations of this kind would go into a fork of KerkoApp. KerkoApp is small and easy to deal with, and keeping Kerko untouched should make future maintenance much easier.

If you look at KerkoApp's code, you'll find that it has its own home() function, in wsgi.py. That could be replaced with something very similar to your current home() function. And your custom templates would then go into KerkoApp's templates directory too, with some changes to update them to Kerko 1.0 (the How to upgrade docs should help).

If you cannot get help from a developer, you might be able to find your way if you are motivated and have some programming knowledge, even if it's not specifically with Python. I would suggest that you start with a plain unmodified KerkoApp setup for your Zotero library (if that's not already done), and that you gradually try integrating some customizations. Some understanding of the Jinja template engine would help.

It's hard to tell the extent of the customizations that were done by your team. This is one of the drawbacks of implementing those directly into Kerko, as there could be little bits of code changes all over.

I hope this helps!

from kerkoapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.