Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Judith Sambs
webcontent in navigation
19 dicembre 2012 2.53
Risposta

Judith Sambs

Punteggio: New Member

Messaggi: 13

Data di Iscrizione: 3 dicembre 2012

Messaggi recenti

Hi!

I want to implement a navigation that does not only display the name of the content (e.g. HOME). Instead it should include a picture and a teaser text that is specified in the web content of the referenced page (in this case HOME). Is that possible? If yes, how? If no, is there an alternative solution? Where can I put the teaser information of the referenced page in order to be able to reference that information through the nav_item reference?

Thank you in advance!
Judi
Anil Sunkari
RE: webcontent in navigation
19 dicembre 2012 4.14
Risposta

Anil Sunkari

Punteggio: Expert

Messaggi: 378

Data di Iscrizione: 11 agosto 2009

Messaggi recenti

Hi Judith,

Yes you can achive it through Custom Velocity Variables concept.

Only thing is you have to set whatever you required in custom variables.Set it in the VelocityVariable and access it in navigation.vm

Refer the below URL's for More INfo:
http://www.liferay.com/community/wiki/-/wiki/Main/Custom+Velocity+Variables
http://www.opensourceforlife.com/2012/06/custom-velocity-variable-in-liferay-61.html

Correct me if i'm wrong with your understanding!

Regards,
Anil Sunkari
Jignesh Vachhani
RE: webcontent in navigation
19 dicembre 2012 4.19
Risposta

Jignesh Vachhani

Punteggio: Liferay Master

Messaggi: 780

Data di Iscrizione: 10 marzo 2008

Messaggi recenti

Hi Judith,

I achieved the same functionality in one of my implementation.
You can refer http://www.liferaysolution.com/2011/12/embed-or-integrate-web-content-in-theme.html for detail implementation.
And one more this i would like to highlight here is to create web content using structure and template and show that content as a navigation in theme.
Hope this will be useful !!!!
Judith Sambs
RE: webcontent in navigation
20 dicembre 2012 4.35
Risposta

Judith Sambs

Punteggio: New Member

Messaggi: 13

Data di Iscrizione: 3 dicembre 2012

Messaggi recenti

Hi!

Thank you very much for your reply.

Unfortunately I am an absolute Liferay beginner and don't quite understand how to retrieve specific elements of the webcontent of my navigation items using the technique stated in your post. Can you possibly give me further information?

Best regards, Judith
Judith Sambs
RE: webcontent in navigation
21 dicembre 2012 1.14
Risposta

Judith Sambs

Punteggio: New Member

Messaggi: 13

Data di Iscrizione: 3 dicembre 2012

Messaggi recenti

How about something like that?
http://www.liferay.com/it/web/bradley.wood/blog/-/blogs/15503400

Judith