Added a new field called nja. It contains counters, delete records button and reset counter button.
Removed blueprint field definition because of the new field.
Removed option plugin.nja.definitions
New option plugin.nja.likes.key
New option plugin.nja.dislikes.key
New option plugin.nja.panel.uri
New option plugin.nja.records.page.slug
New option plugin.nja.records.page.title
Fixed javascript bug with like/dislike a subpage. It requires the script to be updated.
Fixes minor issues.
Multi language support
Be aware of the removed and new options. It also require a change in the inline javascript for it to work. In short, double check the changes and instructions.
@SandroIeva I found a javascript issue that probably caused the error. It should be solved now. Just make sure to update the javascript. If you donât want to read the docs, it looks like this now:
Iâm not sure how the javascript will handle it if one element is missing. Try it! If it does not work you can add display: none; in the css of the dislike item as a workaround.
Anyway, I think itâs a good feature, to be able to disable the dislike button.
I wonder the same thing. Why is that better? Do you want more space between the buttons? In that case css would probably be better.
I have translated the file kirby-nja-master\registry\nja\template.php to German:
I agree. When I wrote âMulti language supportâ I meant that it works well even on a multi language site. I should have support for multiple translations as well to make it easier for non english people. Your template.php is probably very helpful with the german translation. Thanks! Multiple translations · Issue #10 · kirby-deprecated-plugins/kirby-nja · GitHub
If I include the snippet <?php snippet('nja'); ?> (Version 0.4 - Beta) e.g. in the homepage of a local website and view the rendered source code in Firefox 51.0.1, I see some red lines:
If I add my spaces âin front of sant-1â like in my older post, the error is gone.
@anon77445132 I agree with @texnixe that you see a very odd snippet in your Firefox. Make sure you donât use any bad Firefox extensions that mess with the html. Also you probably should update to Kirby Nja 0.7. It will probably not solve this problem but you get some nice features and even some bug fixes.
Version 0.6 + 0.7 released
In general it includes these new features:
Jumpback - If ajax fails, it jumps back to the previous value after a number of seconds.
Cleanup - Itâs possible to set a data cleanup of ip numbers by interval (days)
Uninstall - Itâs possible to delete all data (ip numbers) from all pages