Message Boards

Back

Apply theme layouts

Toggle
Apply theme layouts
theme installation theme layout
Answer
6/10/21 5:50 AM
Hi!

Liferay has change a lot since we last used in version 6.1... How do we apply the ftl templates that are included in the themes buyed on Liferay 7.1?

For example how do we create a login page using the login_2.ftl included in the Unify Corporate theme?

Thanks by advance.
0 (0 Votes)

RE: Apply theme layouts
Answer
6/10/21 6:35 AM as a reply to Consultia IT SL.
Hello,

If you need to create a new web content from an existing structure and template : 

1- Step 1:

Go to the content & data/web content menu. And click on the plus button to create new web content.



2- Step 2:

Click on "More" to show all structures.



Choose the structure that you needed.

3- Step 3:

Add a title for your web content
complete the form with your data.

 

Add save your web content with the "Publish" button.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

About the login page, you can't create new web content with .ftl page because the web content doesn't contain the functionality for the login action. So if you want we can create for you a hook to customize the default login page with the Unify design and functionality.

Regards,
Sabri BEN SALEM
0 (0 Votes)

RE: Apply theme layouts
Answer
6/10/21 8:54 PM as a reply to sabri ben salem.
So many thanks!!

As far as i understand we can do it by our selves makin a hook of the user login and applyn the structure of the login_2.ftl to jsps right?

Another question that we have is that we want to generate a home page with a similar structure of the ones you have in these example: 
http://lr7.themeray.com/es/web/unify-corporate/profile_main

We dont find a ftl of these page, but i understand i can be maked creating a web content as you explained before and use diferent structures and templates in the theme right?

Which templates or structures will be inside the theme?

Thanks in advance.
0 (0 Votes)

RE: Apply theme layouts
Answer
6/10/21 11:07 PM as a reply to Consultia IT SL.
Hello,

"As far as i understand we can do it by our selves makin a hook of the user login and applyn the structure of the login_2.ftl to jsps right?"

Yes, you can create a hook with login_2.ftl structure


Another question that we have is that we want to generate a home page with a similar structure of the ones you have in these example: 
http://lr7.themeray.com/es/web/unify-corporate/profile_main

This page doesn't contain a structure, it's added static HTML in the web content. we can create for you the needed structures for each page you needed to implement in your portal.

Regards,
Sabri BEN SALEM
0 (0 Votes)