Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
L C
Link to Page instead of URL
16 de Janeiro de 2013 12:44
Resposta

L C

Ranking: New Member

Mensagens: 19

Data de entrada: 15 de Março de 2012

Mensagens recentes

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
17 de Janeiro de 2013 02:03
Resposta

Parikshit Sharma

Ranking: New Member

Mensagens: 21

Data de entrada: 16 de Janeiro de 2013

Mensagens recentes

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
17 de Janeiro de 2013 10:42
Resposta

L C

Ranking: New Member

Mensagens: 19

Data de entrada: 15 de Março de 2012

Mensagens recentes

Is there a way to do it through the interface instead of coding functionality?
Milen Dyankov
RE: Link to Page instead of URL
17 de Janeiro de 2013 12:37
Resposta

Milen Dyankov

LIFERAY STAFF

Ranking: Expert

Mensagens: 260

Data de entrada: 30 de Outubro de 2012

Mensagens recentes

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
25 de Janeiro de 2013 07:08
Resposta

Rahul Sharma

Ranking: Junior Member

Mensagens: 60

Data de entrada: 10 de Janeiro de 2012

Mensagens recentes

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!