Search  
  

Please login to post into the forums. Remember - keep your posts friendly. 

Note: CBIT reserves the right to remove any material it considers inappropriate or offensive. Please report any undesirable posts or behaviour to support@lucidcentral.org.

If you have any direct support requests such as reactivation requests please use the help desk.

  
  

Login

  
  
HomeHomeLucid3 Discussi...Lucid3 Discussi...Building and us...Building and us...Location of Player applet Help filesLocation of Player applet Help files
Previous
 
Next
New Post
7/27/2010 11:10 AM
 

To fit in with the existing structure of my Web site, I'd like to put the Player applet files in a non-default location. In the HTML file generated by the Web deployment procedure, I changed all occurrences of 'lucid_player/' to '../lplayer'. The key works, but it can't find the Help file - it still looks in the folder specified by 'lucid_player/'. I suggest that the program should look for the Help file in a location relative to the location of the .jar files.

 
New Post
7/30/2010 5:05 PM
 

Mike,

At the moment we use the codebase to determine the location of the help folder.

if you were to move the lucid_player folder up one level, and set the codebase parameter on the applet tag appropriately (the url to the folder containing the lucid_player folder), you will be able to share one applet jar/help copy between multiple keys. Please note that if customising the applet codebase you will need to use a full url to your key file, or the location relative to your codebase, for the key parameter.

Let me know how you go or if you need more details.

Damian

 
New Post
8/10/2010 11:43 AM
 

At the moment we use the codebase to determine the location of the help folder.

I'm not sure what you mean by 'codebase', as that parameter doesn't appear in the HTML file used to start the key. I assume you mean the 'archive' parameter, which specifies the location of the applet.

I agree that this parameter should also determine the location of the help file. The problem is that it doesn't. The location of the help file is currently

lucid_player/help/default.htm

relative to the HTML file used to start the key. It should be

help\default.htm

relative to the folder containing the jar files.

... you will be able to share one applet jar/help copy between multiple keys

That's what I'm trying to do, but the default Lucid folder structure is inconsistent with the structure of my existing Web site. By setting the 'archive' and 'key' parameters, I can share the applet jar files and access the key. The only problem is the location of the help files.

 
New Post
9/7/2010 4:54 PM
 

Mike,

Sorry about the delay in getting back to you.

I've made a test key with the codebase parameter set as per my previous post. If you view the page source you will see an example usage of the codebase parameter usage.

http://keys.lucidcentral.org/keys/temp/help_test/default.html

In this example the codebase value is set to: http://keys.lucidcentral.org/keys/temp/

The result of this is the lucid_player applet, and it's help files are loaded relative to this path instead of relative to the key folder, e.g.

http://keys.lucidcentral.org/keys/temp/lucid_player/help

and not

http://keys.lucidcentral.org/keys/temp/help_test/lucid_player/help

Let me know if this helps, hopefully it's a bit clearer now.

Damian

 
New Post
9/7/2010 7:55 PM
 

Your test file contains a 'codebase' parameter, but the file generated by the current Builder (3.5.2 07282010) doesn't contain this parameter (as I mentioned above).

 
Previous
 
Next
HomeHomeLucid3 Discussi...Lucid3 Discussi...Building and us...Building and us...Location of Player applet Help filesLocation of Player applet Help files


  
Copyright (c) 2012 Lucidcentral.org
Terms Of Use  Privacy Statement