How do I embed a portlet into a theme?

How do I embed a portlet into a theme?

How do I embed a portlet into a theme?

Embedding a Portlet by Portlet Name

  1. Open the FreeMarker theme template that you want to embed the portlet in. ( portal_normal. ftl is a good choice.
  2. Add the liferay_portlet[“runtime”] macro to the template, as shown below. The portlet name must be the same as javax.portlet.name ‘s value.

How do I embed a portlet inside a theme in Liferay 7?

You’ll first learn how to embed portlets into a theme….You must create a module that can find the portlet that fits the theme’s request.

  1. Create an OSGi module.
  2. Create a unique package name in the module’s src directory, and create a new Java class in that package.

How do you get a portlet name in Liferay?

Liferay also constructs the ID with the help of the portlet name. For example: If your portlet name is MyWork defined in portlet. xml and the generated file in the webapps folder (if you are using tomcat) is MyWork-portlet then the resultant Id will be MyWork_WAR_MyWorkportlet .

How much does it cost to open a theme park?

1. Theme parks are a capital intensive business. It costs a lot of money to play in the theme park industry. A successful park spends at least $10 million a year, and often far more, adding new rides, shows, restaurants, shops, or hotels to the park. Top new attractions can cost more than $100 million.

What should be included in a theme park?

Here are 20 elements that any theme park can add to help elevate it to world-class status. We’re not counting the legal requirements here – such as safe facilities and access for people with disabilities.

What’s the best way to start an amusement park?

Once you’re ready to start your amusement park, follow these steps to ensure that your business is legally compliant and avoid wasting time and money as your business grows: Plan your business. Form a legal entity. Register for taxes. Open a business bank account. Set up business accounting. Obtain necessary permits and licenses.

How is technology changing the theme park industry?

Using virtual reality technology and providing more immersive experiences are examples of personalization in the theme park industry. Additionally, the usage of wearable technology will allow parks to provide individualized offers and services.