Publishing a web page without Portlet container

3372313, modified 16 Years ago. New Member Posts: 3 Join Date: 6/22/09 Recent Posts
Hi,

I'm working on a Liferay POC project for a large telecoms firm. It's going really well and we're just at the final stages of ticking the boxes.

I've come up against one problem though. I'm sure it's something simple...

I was given a set of web pages by a web designer ( he'd produced them in dreamweaver ) which I managed to import into
Liferay CMS basically by cut/paste of the HTML into the Web Content editor, then uploading the images into the Image Gallery
and amending the image links to point to the URLs of the gallery. Finally, I've added the CSS to a basic theme.

So it's looking good - pretty much the same as the original. However, I can only display the page within a portlet, and the
requirement is to have the web page published "as is", ie. without any hint of it being Liferay underneath - no portlet border, no
liferay login, no "add page" button etc..etc...

I've tried looking through the forums and the closest I could see was the publish options under Control Panel->Communities.
But they just appeared to allow publishing of Portlets, rather than the content within the portlet. I tried changing the type
from "Portlet" to "Web Content" within publishing dialog, but it just seemed to publish a blank page.

Go easy on me - I'm a Liferay noob and first time poster!

My setup...

Liferay 5.2 standalone integrated with existing Apache 2.0 / Tomcat 6 / MySQL, running on Centos 5 VM ( reports as RedHat EL 5 ).

Cheers,

Chris
3335621, modified 16 Years ago. New Member Posts: 11 Join Date: 6/16/09 Recent Posts
Chris, looks like what you want to do is host a set of pages on a webserver independent of Liferay - which bundle did you download?
Chances are you're using the Tomcat bundle - go into the installation directory, and look for a directory called "webapps"
Inside there, you can create a subdirectory called whatever you want and put your pages there; the pages will then be accessible by http://___:__/*whatever sub dir you created*/
3372313, modified 16 Years ago. New Member Posts: 3 Join Date: 6/22/09 Recent Posts
Hi - thanks for your reply.

Yes, I've already used this "webapp" solution but unfortunately that's effectively circumventing the Liferay CMS completely as far as I can see emoticon

For this Proof Of Concept (POC) I must demonstrate that web pages can be produced/edited/maintained within Liferay and then published from there, outside of the portlet container ( in fact, without any signs of it being Liferay underneath at all, although I'm
happy for Liferay's apache/tomcat to still be the host webserver ).

From the "blurb" there are major customers who use Liferay CMS to produce their websites, and looking at
the screenshots they certainly don't seem to be within portlets - there must be a way!

Cheers,

Chris

ps. recap on setup - Liferay 5.2.3 standalone, Apache2 / Tomcat 6 / MySQL / Java6 on Redhat EL5
33881, modified 16 Years ago. Junior Member Posts: 92 Join Date: 3/2/07 Recent Posts
You can customize .vm templates (to remove unnecessary components), remove portlet borders, edit css and web page will look clean. At least for guest users.
3372313, modified 16 Years ago. New Member Posts: 3 Join Date: 6/22/09 Recent Posts
Thanks - you've confirmed a route I was about half way down!

I've created a new theme and started removing some lines from portal_normal.vm. I'll set the look-and-feel
to this theme. Looks good so far.

My project was about to switch to Silverstripe if I couldn't get this working!

Cheers,

Chris