Report your bugs here - if someone else has already mentioned the same bug, just add on to their post with as much info as possible to make the hunting easier.
Hello,
I customized a template and I would like to incorporate the credits. But I realize that the function <! - IFcredits - ENDcredits -> does not work. Bug or problem from me?
There must be some other issue. I copied the text your provided and added the mandatory BeginRepeat/EndRepeat section and saved it as "Test.thml" in ~/Library/Application Support/DVDpedia/Templates/ then in DVDpedia I choose export and selected "Test" under the HTML tab and got the following:
Please download the template above and try that out as well to find out if you still don't get the same output as I do here.
In fact it is the template folder "infoTemplates" for display in the software. And this is where it does not work. Sorry for the lack of information in my first message.
Thank you for the clarification, but I still can't repeat it. (I should have know when you referred to the Window style, on which I can still see the credits on as well). Drop the file "Test.html" into a folder called "InfoTemplates" (big I) and the credit should display. For debugging you can option click on the main help menu and select the last menu command "Show Info View HTML" and it will actually write out the source that is rendered. You might be able to spot the issue by investigating the final rendered HTML. Otherwise, send me the current template you have and I can try it out.
Unfortunately it still does not work. I send you my template so that you can study. I tried "test.html" but it did not work either ... as "Window"
And rendering html: none of these tags are displayed ...
I also notice that [key:features] does not work: if I put the <!--IFlfeatures<b>Bonus :</b><br>[key:features]<br>ENDfeatures--> despite presence of text in this field, the text is not displayed in the presentation (I just update the document on Dropbox to integrate this addition).
Thank you for the original template. Unfortunately the credits and features display when testing. The template had a number of errors that might have been the culprit. I have fixed the important ones, such as setting the correct encoding to UTF-8 and making sure all the TD tags were closed. Please download the updated version and give it a try.
If you still have an issue it could be tied to the information that is being exported, please send me two cards for the entries by dragging them from the DVDpedia table view to the Finder to create these cards that contain all the information about the entry and I can then import that on my machine.
Thank you. Sadly no change. Not sure what is different on your system that you don't get the credits. Here is a screenshot after adding your info, you might notice a difference to your output (although this is with the version I ran through Tidy). For the "Show Info View HTML" command you might need to be running the beta version.
Thank you for the extra information. Still works perfectly on my machine, even in French. After comparing the outputted files I can only conclude that you must have turned off the those fields in the preferences as the credits are missing perfectly without issue in your HTML. Visit DVDpedia->Preferences->Fields and change the pop up to "Details View", then scroll down and make sure that credits and the other fields are checked.
If that fails please delete the preference file without DVDpedia running and relaunch DVDpedia afterwards. The preference file is located in ~/Library/Preferences/com.bruji.dvdpedia.plist.
I should have thought of the preference sooner. I was too focused on the template to remember that there was a preference.
There is no way to add a combination of name and role at the moment. You can add names with comma separation and it will add them if missing to the credits as new entries; e.i. "Brad Pitt, Joseph Gordon Levitt, George Clonney". But you would then have to fill out the roles.