|
View unanswered posts | View active topics
It is currently Thu Jun 20, 2013 7:16 am
Due to enormous amounts of spam, the forum has been set to read-only mode.
How to: Use CATweb on the Internet
| Author |
Message |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: How to: Use CATweb on the Internet
All the slashes in the paths must be forward slashes. However, don't change the backslash in the <Files> definition. Alias "/m:/musikcder" "m:/musikcder" <Directory "m:/musikcder"> This is happening in AlbumList.xsl, AlbumList_Acquired.xsl, AlbumList_Cover.xsl, and AlbumList_Thumbnail.xsl because in these templates the cover image is used as a PlayAll link. Since PlayAll is not linked to an individual multimedia file it can't play in the browser. To avoid confusion when the use_directdownload feature is enabled CATweb hides the PlayAll icons. In this case CATweb does not know the difference between an icon and a cover image, so the cover image is removed. It's fixable but I'm pressed for time so it may be a few days. A temporary workaround is to edit the templates to remove the link around the image.
_________________ Cheers, Dave
|
| Sat Dec 03, 2011 8:13 pm |
|
 |
|
hamsen
Joined: Sat Nov 22, 2003 7:47 pm Posts: 2547 Location: Denmark
|
 Re: How to: Use CATweb on the Internet
Hi Dave
The forward slashes solved the forbidden problem. Perfect.
Don't rush things, I can wait.
_________________ Kind regards Thomas Hamstrup HAP Software (http://www.hamstrup.dk)
Using Windows 8 PRO 64-bit and CATraxx 9.44
|
| Sat Dec 03, 2011 8:31 pm |
|
 |
|
Aloko
Joined: Sat Jul 02, 2011 1:27 am Posts: 31 Location: abidjan
|
 Re: How to: Use CATweb on the Internet
 |
 |
 |
 |
LotsOCds wrote:
You can do this by using a custom field to indicate Public/Private. Let's say you use Custom12 and if checked it means Private. One way to hide the play icon for Private files, but only in CATweb, is by editing each template that calls format-audiosample (and format-videosample if necessary) to add an xsl:if conditional. The following is how it would look in Album_Tracks.xsl : Hi Dave, I already have a custom field that did just that, when checked it's a private Recording. The initial field is : Enhanced CD I've given a new name : Private. So let's say in album_tracks.xls I should add only 2 lines as you mentionned ?
|
 |
 |
 |
 |
|
| Sat Dec 03, 2011 8:38 pm |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: How to: Use CATweb on the Internet
What I suggested above works on a per track basis. You are doing this at the album level so the code is just a bit different. It should work in the various templates, though I have not tested it in every one. Note that in this code we use the original name and there is no space in 'enhancedcd'.
_________________ Cheers, Dave
|
| Sat Dec 03, 2011 10:36 pm |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: How to: Use CATweb on the Internet
Good to hear! I think the other problem is solved now. The download link is updated in the original post. Let me know if you have any problems.
_________________ Cheers, Dave
|
| Sat Dec 03, 2011 11:22 pm |
|
 |
|
hamsen
Joined: Sat Nov 22, 2003 7:47 pm Posts: 2547 Location: Denmark
|
 Re: How to: Use CATweb on the Internet
Not quite. Still no images. This is the code from the Album.xsl HTML source: This is the xsl-code: As you can see, all info has been removed. Another problem has come to life. It seems that running CATweb interferes with other programs connecting to the Dataserver at the same time. Both CATweb and HAPaudioplayer connect to the running instance of CATraxx. The problem is, that commands like SRC="*I:Album,1,1,2" SRC="*PR:Album,PersonalRating,14" are not transformed to actual images. I was looking for a way to have CATweb connect to a new instance, but can't find how (if possible). Maybe that would change things.
_________________ Kind regards Thomas Hamstrup HAP Software (http://www.hamstrup.dk)
Using Windows 8 PRO 64-bit and CATraxx 9.44
|
| Sun Dec 04, 2011 12:49 pm |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: How to: Use CATweb on the Internet
Yes, the previous update corrected the PLAYALL links with cover images as described above. Version 2.8.2 works properly with CMD:VIEWIMAGE links now. The download link is updated in the original post. The same could be said for HAPaudioplayer interfering with CATweb  . CATweb sets three properties: TempFolder, ImageFileAutoDelete, andExtractImages. Just for you the new version restores those properties to the values before CATweb started. An old but undocumented feature in CATweb allows connecting to a new instance of CATraxx -- add &ni=1 to the URL. You will also need to tell CATweb which database to use. This is done in the URL too and the method is explained here. Beware that there is a problem with using new instances when working with list templates since the GUID does not persist across instances of CATraxx and CATweb makes a new data server connection, and therefore a new instance of CATraxx, for each page. I think the change I made to restore properties is a better solution for your situation.
_________________ Cheers, Dave
|
| Sun Dec 04, 2011 6:43 pm |
|
 |
|
hamsen
Joined: Sat Nov 22, 2003 7:47 pm Posts: 2547 Location: Denmark
|
 Re: How to: Use CATweb on the Internet
What can I say? Brilliant? Everything seems to work now (connecting to running instance). Thanks for your assistance. CATweb is really a great add-on for CATraxx.
_________________ Kind regards Thomas Hamstrup HAP Software (http://www.hamstrup.dk)
Using Windows 8 PRO 64-bit and CATraxx 9.44
|
| Sun Dec 04, 2011 7:20 pm |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: How to: Use CATweb on the Internet
Cool! Glad it is working for you now. Let me know if you run into any other problems.
_________________ Cheers, Dave
|
| Sun Dec 04, 2011 7:39 pm |
|
 |
|
hamsen
Joined: Sat Nov 22, 2003 7:47 pm Posts: 2547 Location: Denmark
|
 Re: How to: Use CATweb on the Internet
Just wondered, if it would be a good idea for each user to configure the the CATserver properties. I don't know if the changes you made will affect other users.
Where are your temp files located? Tempfolder=?
_________________ Kind regards Thomas Hamstrup HAP Software (http://www.hamstrup.dk)
Using Windows 8 PRO 64-bit and CATraxx 9.44
|
| Sun Dec 04, 2011 8:59 pm |
|
|
|
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
|
|