Hi,
I have the following problem: In the default FancyIndex export, the detailed view of a movie shows
"Title (DVD Release Year) Country"
in the header.
I want to change this to
"Title (Theatrical Release Year) Country".
So I changed the middle entry form [key:year] to [key:theatrical], but this results in the display line
"Title (Thearical Release Year-Month-Day) Country"
which is not what I want.
What puzzles me is that e.g. in the dfProHtml-v2 export, the same key results only in the year being displayed and I cannot see the difference to my use. Or is it because the FancyIndex uses JavaScript? Also, in the DVDpedia (5.3.1) preferences the theatrical release format is set to "yyyy" and in the program itself only the year is displayed.
How can I get rid of the month and day information?
HTML Export: Reduce theatrical to year only?
-
- Addicted to Bruji
- Posts: 30
- Joined: Mon Mar 26, 2007 11:15 am
- Location: Germany
Re: HTML Export: Reduce theatrical to year only?
The [key:year] tag will pick up the theatrical year first. It will only fall back on the release year if there is no theatrical.
If you want to avoid the fall back to know what movies have no theatrical date you can place the [key:year] display in an if statement.
You can also keep the theatrical tag you have and set the date format to only year for the dates in the template with the meta date-format settings tag. (This is actually what is happening, the fancy index is overriding your default settings from your preferences as the template has a setting of YYYY-MM-dd.) Look for the date-format meta tag at the top of the template and remove it or change it to be only year.
If you want to avoid the fall back to know what movies have no theatrical date you can place the [key:year] display in an if statement.
Code: Select all
<!--[key:theatrical]--> <!--IFTheatrical [key:year] ENDTheatrical-->
Code: Select all
<meta name="date-format" content="YYYY" />
-
- Addicted to Bruji
- Posts: 30
- Joined: Mon Mar 26, 2007 11:15 am
- Location: Germany
Re: HTML Export: Reduce theatrical to year only?
Ah, that's the way it works - thank you very much!