留言板

Link to Page instead of URL

L C,修改在11 年前。

Link to Page instead of URL

New Member 帖子: 22 加入日期: 12-3-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,修改在11 年前。

RE: Link to Page instead of URL

New Member 帖子: 21 加入日期: 13-1-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,修改在11 年前。

RE: Link to Page instead of URL

New Member 帖子: 22 加入日期: 12-3-15 最近的帖子
Is there a way to do it through the interface instead of coding functionality?
thumbnail
Milen Dyankov,修改在11 年前。

RE: Link to Page instead of URL

Expert 帖子: 310 加入日期: 12-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,修改在11 年前。

RE: Link to Page instead of URL

Junior Member 帖子: 59 加入日期: 12-1-11 最近的帖子
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!