Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
lou cat
subpage with anchor to a part of the text of the parent page
April 16, 2012 6:17 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Hi!

I'm trying to do something that seemed pretty simple but still with no luck.
I have a parent page with a left navigation menu and a web content display text on the right, scrollable.
I'd like to add subpage with internal anchors to this text (such as index.html#GOTHERE would go to the page index.html in the part named "GOTHERE").
I've tried several things, such as creating a page that it's a link to the parent page, but I don't really know how to add the #GOTHERE part and make sure that when the subpage is loaded, it just load the web content portlet in that part of the text.

Is it something easy to do? I am using liferay 5.2 and unfortunately I don't have access to the code.
David H Nebinger
RE: subpage with anchor to a part of the text of the parent page
April 16, 2012 6:49 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11789

Join Date: September 1, 2006

Recent Posts

Sure you do. You can download the code for 5.2, it's all still available.
lou cat
RE: subpage with anchor to a part of the text of the parent page
April 17, 2012 3:47 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Sorry I probably wrote too quickly and did not explain well emoticon

When I said that I don't have access to the code, I meant the code of my portal, that was written by someone else.
So basically I'm trying to create these pages but all I can do is modifying them through Liferay GUI (also for the css etc).

Is it possible to create these effect this way, and where can I find more information about it?

Thanks!