Foren

WCM Portlet hyper link to another Web Content in Liferay

Sarav Veda, geändert vor 12 Jahren.

WCM Portlet hyper link to another Web Content in Liferay

New Member Beiträge: 10 Beitrittsdatum: 29.03.11 Neueste Beiträge
Hi,

I am trying to create a web content which will have hyperlink to the another web content, I have no idea on velocity template variable which will link me to the another web content, Please let me know whether velocity template has API to call another web content in liferay?

I have provided the Article URL in the parent webcontent hyper link, but it loads the child web content in the window instead of loading it in the same portlet window.

Thanks.
thumbnail
Shagul Khajamohideen, geändert vor 12 Jahren.

RE: WCM Portlet hyper link to another Web Content in Liferay

Liferay Master Beiträge: 758 Beitrittsdatum: 27.09.07 Neueste Beiträge
You may want to look at some of Ray Auge's WCM application blogs. The latest being this one http://www.liferay.com/web/raymond.auge/blog/-/blogs/advanced-web-content-example-with-ajax
thumbnail
Thiago Leão Moreira, geändert vor 12 Jahren.

RE: WCM Portlet hyper link to another Web Content in Liferay

Liferay Legend Beiträge: 1449 Beitrittsdatum: 10.10.07 Neueste Beiträge
Hey Sarav,

The upcoming version of Liferay 6.1 will have a new feature that will enable link all kind of assets. Take a look Liferay 6.1 new features
thumbnail
Emilio José Lamas Fraga, geändert vor 12 Jahren.

RE: WCM Portlet hyper link to another Web Content in Liferay

Junior Member Beiträge: 57 Beitrittsdatum: 29.11.11 Neueste Beiträge
Hi Thiago,

Would you mind be more specific about how exactly link content from another content in Liferay 6.1? I cannot find the feature you said...

Thanks in advance!
thumbnail
Juan Gonzalez P, geändert vor 12 Jahren.

RE: WCM Portlet hyper link to another Web Content in Liferay

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Emilio José Lamas Fraga:
Hi Thiago,

Would you mind be more specific about how exactly link content from another content in Liferay 6.1? I cannot find the feature you said...

Thanks in advance!



Probably they are talking about Related assets feature. You can also link in web content to another page.
thumbnail
Hussain A, geändert vor 10 Jahren.

RE: WCM Portlet hyper link to another Web Content in Liferay

Junior Member Beiträge: 47 Beitrittsdatum: 03.04.12 Neueste Beiträge
Related Asset it not the perfect solution for this.
I have found a solution from a guy online Linking a webcontent with other .

And this can work, but for this all those fields which are needed to be linked with an other web content, have to be Text Box(Html). So if your structure contains 15 fields out of which you need 5-6 to be linked with Web Content, the system may get slow. (See in broader perspective, if you have thousands of such contents).