PDA

View Full Version : live recordings



thijs077
07-11-2005, 04:12 PM
Hello,

I tried to make a webpage and I used the CMI Style template. You can put things on your website by clicking them. So I checked the box with display Studio/Live. But when I open a cd in the finished browser. It is not there.
Is there something I do wrong?

pheisholt
07-12-2005, 03:11 AM
You're so right. If you take a look at the CMI Style.dax file (open it with DAXEXIT.EXE), you will see that the parameter SHOW_LIVE is defined, but not used anywhere in the script.

You can edit the template in order to get the result you want.

This is what you can do:

1. Search for SHOW_LIVE in the CMI Style.dax file. You'll find the following entry on line 37 (?):

SHOW_LIVE

Guest
07-12-2005, 04:48 AM
I did exactly what you wrote. I put the lines before this:
SHOW_GENRE ["Display genre"] : bool = true;

And then I save it. I go back to the catalog and trying to export the html file. And it's not in the list anymore.

pheisholt
07-12-2005, 06:26 AM
You inserted it in the wrong place. It has to be placed in the lower section of the script, for example before the line that starts with:

<!--[if($SHOW_GENRE)]-->

thijs077
07-20-2005, 08:48 AM
I'm sorry but I can't find it.

Below is what I see, can you tell me where to put it in?

/*
CMI Style.dax
Copyright (c) Firetongue Software, 1997-2003
*/

FIELDS["Fields"] {
SHOW_BROWSEFLD1["Display browse field 1"] : bool = false {
BROWSEFLD1["Browse field 1"] : field = category;
}
SHOW_BROWSEFLD2["Display browse field 2"] : bool = false {
BROWSEFLD2["Browse field 2"] : field = artist;
}
SHOW_BROWSEFLD3["Display browse field 3"] : bool = false {
BROWSEFLD3["Browse field 3"] : field = label;
}
ADJUST["Browse field width (%)"] : int = 50;
SORTBY1["Sort field 1"] : field = artistsort;
SORTBY2["Sort field 2"] : field = year;
SORTBY3["Sort field 3"] : field = title;
}

SETTINGS["Album page settings"] {
ALBUMPAGES ["Generate individual album pages"] : bool = true {
COVERSIZE ["Album cover size (pixels)"] : int = 300;
BORDERSIZE ["Image border size (pixels)"] : int = 1;
SHOWCREDITS["Display credits section"] : bool = true;
SHOWLINKS["Display links section"] : bool = true;
SHOW_CDDBEXT["Display CDDB notes"] : bool = true;
SHOW_SHELFID["Display reference number"] : bool = true;
SHOW_LABEL ["Display label and number"] : bool = true;
SHOW_FORMAT ["Display format"] : bool = true;
SHOW_RELEASEDATE["Display release date"] : bool = true;
SHOW_CATEGORY["Display category"] : bool = true;
SHOW_ALBUMTIME["Display AlbumTime"] : bool = true;
SHOW_GENRE ["Display genre"] : bool = true;
SHOW_MONO ["Display mono/stereo/multichannel"] : bool = true;
SHOW_LIVE ["Display live/studio"] : bool = true;
SHOWCUSTOM1["Display custom field 1"] : bool = true;
SHOWCUSTOM2["Display custom field 2"] : bool = true;
SHOWCUSTOM3["Display custom field 3"] : bool = true;
SHOWCUSTOM4["Display custom field 4"] : bool = true;
SHOW_BITRATE["Display bitrate"] : bool = true;
TRACKPAGES ["Generate individual lyrics pages"] : bool = true;
}}

NAVIGATION["Structure and navigation"] {
THUMBSIZE ["Thumbnail size (pixels)"] : int = 60;
NEWALBUMS ["New items in collection"] : bool = true {
NEWSSIZE ["Number of new items to display"] : int = 2;
NEWTHUMBSIZE ["Thumbnail size (pixels)"] : int = 80;
}}

CMISTYLE ["CMI style"]{
SHOW_CMISTYLE1 ["Display cat.no (new)"] : bool = true;
SHOW_CMISTYLE2 ["Display cat.no (group)"] : bool = true;
}

COLORS["Colors"] {
BGCOLOR["Page background"] : color = #303040;
TEXTCOLOR["Normal text"] : color = #707070;
HEADERCOLOR["Header text"] : color = #787058;
SHADECOLOR1["Shade 1"] : color = #787058;
SHADECOLOR2["Shade 2"] : color = #1e1c2c;
SHADECOLOR3["Shade 3"] : color = #a8a080;
IMGCOLOR["Image border color"] : color = #787058;
LINKCOLOR["Link color"] : color = #989068;
VLINKCOLOR["Visited link color"] : color = #787058;
HLINKCOLOR["Highlight link color"] : color = #a8a080;
ALINKCOLOR["Active link color"] : color = #bfbfbf;
}

FONTS["Fonts"] {
TEXTFONT1["Normal font 1"] : font = "xx-small Verdana";
TEXTFONT2["Normal font 2"] : font = "x-small Verdana";
TEXTFONT3["Normal font 3"] : font = "x-small Times New Roman";
HEADERFONT1["Header font 1"] : font = "large Times New Roman";
HEADERFONT2["Header font 2"] : font = "medium Times New Roman";
HEADERFONT3["Header font 3"] : font = "small Times New Roman";
}

pheisholt
07-20-2005, 10:57 AM
I'm sorry, I should have pointed out that the section you're looking for is located under the Album Page tab when you use DaxEdit.

(What you copied in the previous posting is from the Declarations tab)

thijs077
08-06-2005, 08:11 AM
It works now, but I want also to show the date of the Live recording. Is this also possible?

pheisholt
08-06-2005, 09:27 PM
This is how you add the recording date:

1. Open the CMI template using DaxEdit
2. Select the Declarations tab
3. Search for the following command line:

SHOW_RELEASEDATE["Display release date"] : bool = true;

4. Add the following command on a separate line AFTER SHOW_RELEASEDATE........

SHOW_RECORDINGDATE["Display recording date"]: bool = true;

When done, your code should look like this:
......
SHOW_RELEASEDATE["Display release date"] : bool = true;
SHOW_RECORDINGDATE["Display recording date"]: bool = true;
SHOW_CATEGORY["Display category"]: bool = true;
......

5. Now select the Album Page tab and search for the following
command:

<!--[if($SHOW_CATEGORY)]-->

6. Paste the following text BEFORE the above mentioned command:

<!--[if($SHOW_RECORDINGDATE)]-->
<!--[if(recordingdate)]-->
<tr>
<td width="30%" align="right" nowrap><b>Recording date: </b></td>
<td width="70%" bgcolor="$SHADECOLOR2" class="valshade">