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 8947175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:41:29+00:00 2026-06-15T12:41:29+00:00

Liferay CMS comes with Alloy UI to do several javascript functions (draggable, sortable etc.)

  • 0

Liferay CMS comes with Alloy UI to do several javascript functions (draggable, sortable etc.) The thing is we also use several jQuery plugins that use jQuery UI. Alloy UI also loads slow and has big overhead causing the webpage to lag massively, so we’d like to remove it and do thing with jQuery UI.

Liferay loads Alloy UI files by default in the DOM, is there anything we need to remove (declarations etc.) in the server/portlet files?

  • 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-06-15T12:41:32+00:00Added an answer on June 15, 2026 at 12:41 pm

    The short answer is I wouldn’t bother trying! This is because Alloy UI is so integral to the Liferay UI, without it you’d have a lot of work to do to replace with jQuery replacements.

    Alloy UI does a lot more than just draggable portlets, and sorting. It also controls popups, AJAX calls, and loads of other stuff that I haven’t come across yet.

    HOWEVER if you really want to put yourself through it then I’d suggest you first of all create a Custom Theme and remove any references to Alloy UI from the theme, and load jQuery instead.

    Then you’ll also need to create a hook or hooks (and possibly use EXT plugins) to replace all of the JSP files that reference Alloy UI, with copies that use jQuery to do the same functionality.

    OR another way would be to for the Liferay source code on GitHub and create your own version from the source removing Alloy UI.

    BUT I still strongly suggest you don’t bother wasting your time. Love it or hate it, Alloy UI is bake dried into Liferay. If you follow either of my suggestions you’re effectively stopping yourself from upgrading Liferay in the future.

    A better suggestion would be to suggest ways of improving Alloy UI to Liferay, or contribute to the Alloy UI repository on GitHub and help the community.

    ~~ EDIT ~~

    To disable Alloy UI for just non-authenticated users, then perhaps a HOOK that modifed the files in portal-web\docroot\html\common\themes\ would do the trick. In particular look at top_js.jspf. If you put checks in there to say only load Alloy UI if you’re signed in then it might be the answer your after.

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

Sidebar

Related Questions

I have .jsp in liferay, and use javascript with applet, but after the form
Hi i am developing Liferay faces portlet in Liferay 6.0.6 portal + 6.1 Plugins
We have several sites hosted on a Liferay 5.2 instance, consisting of multiple communities,
Please could someone tell me what jar Liferay Mail Engine makes use of. I
I'm benchmarking some CMS's for future use. I would like to know if with
When developing a Liferay portlet, sometimes you want to use file artifacts. For example,
Im new with liferay have a problem with portlet deployment using the plugins sdk,
Hi i am new to liferay cms.. when I create a content it says
I'd like to know your thoughts about using these two CMS on Liferay. I
I use Liferay Portal 6.0 CE and SDK6.0.6 for portlet development. To create a

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.