Closed GoldMnaPro2014 closed 6 years ago
You will need to modify multiple files: includes/movie.search.inc.php
lib/db/Movies.class.php
includes/export.inc.php
includes/movie.autoupdate.inc.php
tpl/default/movies/collection/sidebar.html
tpl/default/javascripts/src/php4dvd.collection.js tpl/default/javascripts/src/php4dvd.js
PS. You can just search for 2017 and it will find all movies from that year. Or that got 2017 in the description.
I did all this before you sent it to me, but that's the problem, it displays the list and when I select the year, it does not look for it and even the URL does not seem to me.
I'm afraid you did something wrong then. Without code, I cannot help you.
Here are all the files that I edited: https://yadi.sk/d/Ghu2LbPyWhJ9XA
I don't really know where to start. You literally tared the code apart. I can't even test it...
includes/movie.search.inc.php
lib/db/Movies.class.php
includes/export.inc.php
includes/movie.autoupdate.inc.php
tpl/default/movies/collection/sidebar.html
tpl/default/javascripts/src/php4dvd.collection.js tpl/default/javascripts/src/php4dvd.js
Can you show it how everything should be?
You can have a look on how I added "media types"/format. It will be similar.
https://github.com/jreklund/php4dvd/commit/876f398fe7c8c172bd4cbfc4dff100fab1882247 https://github.com/jreklund/php4dvd/commit/0c70247b4bbf326434b1e18de940a3be6ce04674
How to add a menu similar to the category, but only with the year?