Fórum

One page theme or parallax theme using liferay pages

Neha Kakkar, modificado 9 Anos atrás.

One page theme or parallax theme using liferay pages

New Member Postagens: 6 Data de Entrada: 06/01/15 Postagens Recentes
Hi,
I want to create one page theme or parallax theme . I did a lot of R&D on it and came up with one solution but i am looking for a better way of doing it.
It would be great if anyone could help me with this.

Thanks,
Neha kakkar
thumbnail
Olaf Kock, modificado 9 Anos atrás.

RE: One page theme or parallax theme using liferay pages

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
Do I understand correctly? You did something, but would like to do it somewhat differently?

It might be easier if you point us to the something you did, together with some reasoning and description - e.g. on github - and ask for feedback.

And, no, I'm probably not your best reference on theme issues. But with the amount of information that you gave so far, I don't see that anybody feels tempted to answer.
Femi O, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

New Member Postagens: 4 Data de Entrada: 29/05/14 Postagens Recentes
Hi,

Did you find a fix to this problem? I'd like to know as i'm currently facing a similar challenge.

I created a one page style website (for homepage) in Liferay and have a smooth scrolling effect to section using the IDs of particular containers.

When users navigate away from the homepage to other pages for example Privacy (which is a separate page), users can not navigate back to the sections of the homepage using the top navigation links that jumps to that section.

I'd like to find a fix that will allow users navigate to any page on the site to any other page without having to first go back to the homepage.

I'll be glad to know how you achieved yours or what ways i can easily fix my navigation issue.
Neha Kakkar, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

New Member Postagens: 6 Data de Entrada: 06/01/15 Postagens Recentes
I was facing the similar issue so inspite of making separate pages , I created all the pages as div section in one page(hardcoded navigation) and set the position of navigation as fixed.
To the user it appears as separate pages but it is on a single page.
If you need more details, let me know.
bijan moloudi, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

New Member Postagens: 2 Data de Entrada: 09/11/15 Postagens Recentes
Hi
Can I See your code about one page theme(parallax),please?
atleast portal-normal.vm and navigation.vm
tnks
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
Hey, Bijan, what are you looking for? I put all of the relevant code from the theme in the blog entry. There's not a complete portal_normal.vm or navigation.vm (nav wasn't changed anyway), but all of the relevant details should be there...
bijan moloudi, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

New Member Postagens: 2 Data de Entrada: 09/11/15 Postagens Recentes
Hi David
It was very useful blog, but I'm not going to answer .
How can navigate between site pages without refreshes current page?
I mean that all the pages inside a one page with just scroll down and see them.
such as :http://demo.imransdesign.com/unika/
in this site after clicking on navigation options , scroll down to its section( or page).
Please help me …emoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticonemoticon
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
To do something like this you're basically going to gut navigation.vm.

Instead of creating links to pages, you're creating links to anchors within the page. The browser will handle the scrolling for you (that's a normal browser function), all you need to worry about is the css and js to ensure the nav links are highlighted as you scroll.

The page you referenced does not have all of their pages right in their home page, if that's what you're thinking. They have one page with anchor links in it, and there are child pages you can get to when you drill into the details.
thumbnail
Juan Gonzalez, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Hi Neha,

maybe you can try to see how Manzanita Theme in Marketplace implements that.
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: One page theme or parallax theme using liferay pages

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
I just did one of these in a blog entry, Neha. Check it out: https://www.liferay.com/web/26526/blog/-/blogs/creating-a-liferay-marketing-theme.

I'd be happy to answer any questions you might have on it...