Yawd website

Articles Tagged jquery

  1. Managing files with django - a yawd-elfinder tutorial

    File management with django and yawd-elfinderFile management with django and yawd-elfinder.

    I've always liked elFinder. It is a jQuery application that allows for managing files through a web page. elFinder is capable of uploading, moving, previewing and editing all kinds of files on the fly. In version 2 you can also resize, rotate and crop your images online, so it is a perfect solution for your django website's administration interface. To integrate elfinder with django we created a reusable django application, the yawd-elfinder. In this simple tutorial we will install yawd-elfinder and connect it to our models. For more control over your files, please advice the documentation.

    Posted on September 24th, 2012 by Pantelis Petridis
  2. Ajax Coin Slider: A jquery image slider with asynchronous image loading

    Ajax coin slider - screenshot from the yawd websiteFigure 1. Ajax coin slider - screenshot from the yawd website

    While working on my latest project, I was in need for a jquery slider capable of loading images asynchronously. When you run a big website with heavy pages and you need a slider with, say, 10 slide images, you are in trouble. Let's do the math: Suppose each image is sized 100KB, then you need to put an extra weight of 1MB to your homepage! Traditionally, image sliders load all images from the html code and as soon as the page loads, a javascript comes in to make the magic happen. This means that a user must wait a long time before the webpage loads. Moreover, it is always better to display content on demand rather than pre-load it. It saves you from the extra bandwith and lets the web server breathe!

    Posted on January 10th, 2012 by Pantelis Petridis
  3. Embed the elRTE WYSIWYG editor in your django applications

    Screenshot of the yawd website admin panel - the elRTE django widgetScreenshot of the yawd website admin panel -the elRTE django widget

    Elrte is an open-source "What You See Is What You Get" editor written in jQuery. In my latest projects i tend to prefer this over other solutions (such as TinyMCE, (F)CKEditor etc) for its elegant UI, ease of use and mainly for its accompanying File manager (the elFinder). In this article we'll se how to integrate elRTE with django models, so that your text fields can take advantage of this editor.

    Posted on September 16th, 2011 by Pantelis Petridis
  4. Keystone TKL framework for Digital Libraries now supports PHP5

    The past few years IndexData's Keystone Library framework has not been actively developed. When PHP5 was introduced back in 2004 it featured a completely redesigned Document Object Model (DOM) implementation that lacked backward-compatibility. At the same time, Keystone was heavily relying on XML manipulation, so it was not possible for these two to work together and Keystone users were forced to use PHP 4. IndexData at the time focused on other projects and officially stopped...
    Posted on June 24th, 2011 by Pantelis Petridis
  5. Admin widget for generic relations in django

    The contenttypes framework adds wonderful functionality for dynamic foreign keys in Django. However, it lacks of a widget to allow the user select the content object from the administrator website. This article explains how to implement such a widget and embed it to your django-powered project.

    Posted on May 26th, 2011 by Pantelis Petridis