Upgrade 5.5.1 to 5.6
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Upgrade 5.5.1 to 5.6
Under our 5.5.1 installation we have a folder: D:\Ebase\dbc-ebase-live\UfsServer\tomcat\webapps\ufs\shared which contains a few addon bits of Javascript like TinyMCE, where would these live under 5.6?
0 x
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
Re: Upgrade 5.5.1 to 5.6
I believe that the same folder in 5.6 would be located at <VerjIODataFolder>\apps\ufs\shared
0 x
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Re: Upgrade 5.5.1 to 5.6
Hi Segi,
Thanks for the swift reply, I have now placed the tinymce.min.js script under this location, but the form is still having difficulties locating it:
Script placed under:
"D:\Verjio\UserData\ServerLIVE\apps\ufs\shared\DBC_js\tinymce\js\tinymce\tinymce.min.js"
Error message:
172.16.15.174 - - [26/May/2020:08:26:27 +0100] "GET /ufs/shared/DBC_js/tinymce/js/tinymce/tinymce.min.js HTTP/1.1" 404 160
Call in form:
<script type="text/javascript" src="shared/DBC_js/tinymce/js/tinymce/tinymce.min.js"></script>
Can you see what I have wrong here?
Thanks
Neil
Thanks for the swift reply, I have now placed the tinymce.min.js script under this location, but the form is still having difficulties locating it:
Script placed under:
"D:\Verjio\UserData\ServerLIVE\apps\ufs\shared\DBC_js\tinymce\js\tinymce\tinymce.min.js"
Error message:
172.16.15.174 - - [26/May/2020:08:26:27 +0100] "GET /ufs/shared/DBC_js/tinymce/js/tinymce/tinymce.min.js HTTP/1.1" 404 160
Call in form:
<script type="text/javascript" src="shared/DBC_js/tinymce/js/tinymce/tinymce.min.js"></script>
Can you see what I have wrong here?
Thanks
Neil
Last edited by neilnewman on Wed May 27, 2020 7:52 am, edited 2 times in total.
0 x
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Re: Upgrade 5.5.1 to 5.6
Forgot to say the form uses the code thus (this code is in the "Web Resources" part of the form):
<!-- Place inside the <head> of your HTML -->
<script type="text/javascript" src="shared/DBC_js/tinymce/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
plugins : "link,paste,lists,searchreplace",
relative_urls : false,
remove_script_host : false,
convert_urls : true,
browser_spellcheck : true,
selector: "textarea"
});
</script>
<!-- Place inside the <head> of your HTML -->
<script type="text/javascript" src="shared/DBC_js/tinymce/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
plugins : "link,paste,lists,searchreplace",
relative_urls : false,
remove_script_host : false,
convert_urls : true,
browser_spellcheck : true,
selector: "textarea"
});
</script>
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Re: Upgrade 5.5.1 to 5.6
Within the userdata folder, it think it should be:
Server/apps/ufs/webapp/shared/DBC_js/tinymce/js/tinymce/tinymce.min.js
I'm not too sure whether you can change the root directory "Server" - I see "ServerLIVE" above, but this will already exist so should be easy to find. The important point is that this is a web resource so it should be placed in the webapp section of userdata.
Server/apps/ufs/webapp/shared/DBC_js/tinymce/js/tinymce/tinymce.min.js
I'm not too sure whether you can change the root directory "Server" - I see "ServerLIVE" above, but this will already exist so should be easy to find. The important point is that this is a web resource so it should be placed in the webapp section of userdata.
0 x
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
Re: Upgrade 5.5.1 to 5.6
Neil,
Jon is right about this. I just double checked because I am also using TinyMCE.
I have my tinyMCE folder in C:\VerjIOData\apps\ufs\webapp\javascript
Jon is right about this. I just double checked because I am also using TinyMCE.
I have my tinyMCE folder in C:\VerjIOData\apps\ufs\webapp\javascript
0 x
-
- Ebase User
- Posts: 201
- Joined: Fri Dec 20, 2013 1:29 pm
- Location: Dartford Borough Council
- Contact:
Re: Upgrade 5.5.1 to 5.6
Thanks Segi and Jon for your replies,
I found another way too (maybe):
I placed the scripts under: D:\Verjio\UserData\ServerLIVE\apps\ufs\workspace\Shared\Web_Resources\Client_Scripts
I then added the .js script calls to the forms "Client Javascript" list and removed the calls from HTML++ section.
Is this a valid thing to do, it appears to work?
We are planning to go live next Wednesday evening.
I found another way too (maybe):
I placed the scripts under: D:\Verjio\UserData\ServerLIVE\apps\ufs\workspace\Shared\Web_Resources\Client_Scripts
I then added the .js script calls to the forms "Client Javascript" list and removed the calls from HTML++ section.
Is this a valid thing to do, it appears to work?
We are planning to go live next Wednesday evening.
0 x
-
- Moderator
- Posts: 419
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Re: Upgrade 5.5.1 to 5.6
Hi Neil,
That looks like a good way of doing it.
If they are used on multiple forms, you might want to add them to the presentation template? But otherwise this looks fine.
Steve
That looks like a good way of doing it.
If they are used on multiple forms, you might want to add them to the presentation template? But otherwise this looks fine.
Steve
0 x
Who is online
Users browsing this forum: No registered users and 6 guests