Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74264

Language select box doesn't work using $taglibLiferay velocity macro

    Details

      Description

      Steps tro reproduce it:

      1. Add the following line in the {tomcat_folder}

        /webapps/ROOT/html/themes/classic/templates/portal_normal.vm file (see attachment as example)

        $taglibLiferay.language("fmLanguage", null, "languageId", 3)
      2. Use the theme for the current page

      Results:
      Unable to switch the language. Some errors are displayed in the browser console like:

      Uncaught TypeError: Cannot read property '_82_languageId' of undefined
          at home:1
      

      Expected results:
      Able to switch the language.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 12 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE