|
View unanswered posts | View active topics
It is currently Thu Jun 20, 2013 1:17 am
Due to enormous amounts of spam, the forum has been set to read-only mode.
|
Page 1 of 1
|
[ 5 posts ] |
|
Add new values to a field in CATVids
| Author |
Message |
|
jcgalland
Joined: Tue Nov 21, 2006 9:03 pm Posts: 17
|
 Add new values to a field in CATVids
Hello In CATVids, how can I - add other pre-defined values to the "Video Standard" field (ex: "MPG", "MP4"... in addition to the existing "NTSC", "PAL", "SECAM" values). - make the "Video Standard" field appear in the "Video preview" pane, under the "Format" field. Many Thanks!
|
| Mon Apr 30, 2012 7:10 am |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: Add new values to a field in CATVids
From the menu View> Lookup View. Then click on the pulldown arrow and choose Video Standard. Here you can add additional video standards. Add this code to VideoBrowse.xsl immediately after the code for the Format field (which is immediately before the code for Type field that begins with the line "<!-- Type -->").
You do not have the required permissions to view the files attached to this post.
_________________ Cheers, Dave
|
| Mon Apr 30, 2012 7:57 am |
|
 |
|
jcgalland
Joined: Tue Nov 21, 2006 9:03 pm Posts: 17
|
 Re: Add new values to a field in CATVids
Fantastic thanks! One last question: I have associated some entries with video files on my hard drive. Now, I can see a TV icon on the first field of the preview pane which will start the video when clicked on. Is there any way I can also have a folder icon which will open the directory where the video file is located (or a link, if the icon is hard to create)? Thanks again
|
| Mon Apr 30, 2012 11:01 am |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: Add new values to a field in CATVids
Open Common.xsl and replace the format-videosample template code with this: Also in Common.xsl add this code immediately above the last line in the file, which is </xsl:stylesheet>.
_________________ Cheers, Dave
|
| Mon Apr 30, 2012 2:42 pm |
|
 |
|
jcgalland
Joined: Tue Nov 21, 2006 9:03 pm Posts: 17
|
 Re: Add new values to a field in CATVids
Absolutely brilliant! Many thanks for your help!
|
| Mon Apr 30, 2012 5:31 pm |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|