This is gonna be a very small post, but trust me these two lines are amazing.
In some cases you may need to have a portlet show up on every single page every time. Instead of adding it manually everytime you create a new page, you can embed portlets in your custom layout.
Create a layouttpl project.And then add the following code in your custom.tpl under source.
In some cases you may need to have a portlet show up on every single page every time. Instead of adding it manually everytime you create a new page, you can embed portlets in your custom layout.
Create a layouttpl project.And then add the following code in your custom.tpl under source.
- <div class="custom" id="main-content" role="main">
- <div class="portlet-layout">
- <div class="portlet-column portlet-column-only" id="column-1">
- $processor.processPortlet("47")
- $processor.processColumn("left")
- </div></div></div>
here "47" is portlet ID;
hope this might help full for you in feature .
thank u
vinod