seen button

vaneess
2013-03-28
2013-08-12
  • vaneess

    vaneess - 2013-03-28

    hi guys

    can someone please help me with this? i'm into php but i've never really used javascript. so that's what i want:
    a button next to the category drop-down which only shows unseen movies
    i know, that i can sort by seen but i want to filter the result.

    what do i have to do?
    - create a checkbox in which file?
    - add a varable to tpl/default/php4dvd.js
    - edit the div class= sort in tpl/default/movies/collection.html
    - edit the database search in includes/movie.search.in.php
    - …?

    thank you

     
  • Mirko Negri

    Mirko Negri - 2013-08-12

    I did the same thing you're talking about.

    In detail, I have modified these files:
    /lib/db/Movies.class.php
    /lang/en_US.inc.php
    /tpl/default/movies/collection.html
    /tpl/default/javascripts/php4dvd.js
    /includes/movie.search.inc.php

    It's works perfectly.
    I hope this information will be useful, but if you want more details contact me.

    bye bye

     
  • Mirko Negri

    Mirko Negri - 2013-08-12

    PS
    I used "select box" item instead of a "checkbox" but I think it's the same :)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks