« Back to VisionOntv

Liferay upgrade notes

Some notes for Liferay upgrades

- Add data directory from previous instance

- Add WSRP portlet (required for video embeds/proxying) + change settings in liferay-portlet.xml to enable this to proxy to other places - whitelist needed!

- Update themes

Currently in use are:

  • brightpixel
  • clear
  • zoehealthcare
  • so
  • zoetech
  • zoeresort

Copy old jwplayer directory (ensure updated to latest version of mediaplayer from LongTail) into ROOT/html/ directory 

The advice in this link seems to work:

http://gapes.wordpress.com/2012/02/01/liferay-portal-ce-6-1-how-to-include-jquery/

Essentially, add the line <script src="/html/jwplayer/jwplayer.js"></script> (the same location the JWPlayer scripts were dropped) into the file:

ROOT/html/themes/classic/templates/portal_normal.vm

This seems to have worked.

(See also:

http://www.liferay.com/community/forums/-/message_boards/view_message/13723996

for further possibilities.)

Add file "crossdomain.xml" to the root of the ROOT app (i.e. at $tomcat/webapps/ROOT/crossdomain.xml) :: this should look something like: 

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <allow-access-from domain="*" />
</cross-domain-policy>

(see [[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions|http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions]] and maybe worth googling Liferay crossdomain.xml - there's plenty out there)

Next update the urlrewrite.xml file to reference these:

Add:

<rule>
  <from>/crossdomain.xml</from>
  <to>/crossdomain.xml</to>
</rule>
<rule>
  <from>/html/jwplayer</from>
  <to>/html/jwplayer</to>
</rule>

To the file $tomcat/webapps/ROOT/WEB-INF/urlrewrite.xml

0 Attachments
3296 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments
No comments yet. Be the first.