Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6183365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:21:09+00:00 2026-05-24T01:21:09+00:00

I’m currently experimenting with using Portlets in layout templates for Liferay 6.0.5, and I’m

  • 0

I’m currently experimenting with using Portlets in layout templates for Liferay 6.0.5, and I’m having a bit of trouble. I’ve tried following a number of tutorials, including the examples available on the Liferay Wiki: http://www.liferay.com/community/wiki/-/wiki/Main/Add+runtime+portlets+to+a+layout#section-Add+runtime+portlets+to+a+layout-Related+Articles. The problem is, none of these examples work correctly for me. The calls to $processor.processPortlet do nothing; An empty cell is produced by my layout template.

My code in my template is as follows:

<div class="columns-1-2" id="main-content" role="main">
    #if ($browserSniffer.isIe($request) && $browserSniffer.getMajorVersion($request) < 8)
        <table class="portlet-layout">
        <tr>
            <td class="portlet-column portlet-column-only" id="column-1">
                $processor.processPortlet("currentPatient_WAR_opportalweb_INSTANCE_r2Be")
                $processor.processColumn("column-1", "portlet-column-content portlet-column-content-only")
            </td>
        </tr>
        </table>

                ......

    #end
</div>

I should also stress that although the call to this portlet is to an instance-able custom portlet, I’ve tried numerous other types of calls to non-instance-able portlets, and even Liferay’s stock portlets:

$processor.processPortlet("tabs_WAR_tabsportlet")

$processor.processPortlet("58")

None of these calls work for me.

I’ve reviewed the liferay logs, and there are no errors in the logs relating to this template, the loading of pages using this template, my syntax, etc. I’m wondering if either the syntax for this particular call has changed in Liferay 6, or if there is some setting I need to adjust in my environment to enable this functionality? If no calls to the processPortlet function work, is there a specific thing in my Liferay configuration that I should look at to make it work?

Thank you in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T01:21:10+00:00Added an answer on May 24, 2026 at 1:21 am

    I don’t see any problem in your code, this should work. But you might have missed that you’re within a conditional expression:

    #if ($browserSniffer.isIe($request) && $browserSniffer.getMajorVersion($request) < 8)
    ...
    #end
    

    If you’re testing this with anything other than IE6 or IE7, you won’t see the content of the conditional block

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.