フォーラム

ホーム » Liferay Portal » English » 2. Using Liferay » General

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
L C
Link to Page instead of URL
2013/01/16 12:44
答え

L C

ランク: New Member

投稿: 19

参加年月日: 2012/03/15

最近の投稿

Hey all,

using 6.1.1 ce with tomcat

I'd like to create links to the page rather than view the URL in the content editor?

ex.
currently - http://<server>/level1/level2/page2 or /level1/level2/page2

instead - page2

is there a way to do that?
Parikshit Sharma
RE: Link to Page instead of URL
2013/01/17 2:03
答え

Parikshit Sharma

ランク: New Member

投稿: 21

参加年月日: 2013/01/16

最近の投稿

L C:
Hey all,

using 6.1.1 ce with tomcat

I'd like to create links to the page rather than view the URL in the content editor?

ex.
currently - http://<server>/level1/level2/page2 or /level1/level2/page2

instead - page2

is there a way to do that?


Hi,
didn't understand it completely ,but I think you can use structure template and create a fields pageLink in structure and in velocity template using friendlyURL we can create a proper page link
L C
RE: Link to Page instead of URL
2013/01/17 10:42
答え

L C

ランク: New Member

投稿: 19

参加年月日: 2012/03/15

最近の投稿

Is there a way to do it through the interface instead of coding functionality?
Milen Dyankov
RE: Link to Page instead of URL
2013/01/17 12:37
答え

Milen Dyankov

LIFERAY STAFF

ランク: Expert

投稿: 261

参加年月日: 2012/10/30

最近の投稿

By saying "in the content editor" do you mean in the default WYSIWYG editor? Or do you want to provide an additional/custom fields where you can provide page names and links will be generated once you display the content?
Rahul Sharma
RE: Link to Page instead of URL
2013/01/25 7:08
答え

Rahul Sharma

ランク: Junior Member

投稿: 60

参加年月日: 2012/01/10

最近の投稿

You have to change the friendly URL of the page and that can be done by going to Manage Page and do the desired settings.

Hope this helps!