GeneralQuestions related to Liferay User Groups and Conferences or the Liferay Community in Generalhttps://liferay.dev/c/message_boards/find_category?p_l_id=119785333&mbCategoryId=1201816082024-03-29T13:41:53Z2024-03-29T13:41:53ZRE: RE: Liferay 7.1 swapping "<" and ">" for "<" and ">"Senio Rotondihttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1224548532024-03-08T10:38:27Z2024-03-07T20:20:52Z<p>Turns out the specific 7.1 version installed on that VM where I'm
having this issue is slightly different from the one on my other VMs.
Turns out on that specific version the behaviour I've been
experiencing is a known issue/bug.</p>
<p>We are already in the process of migrating everything to 7.4 of
course, but it's gonna take more time and I wanted to start tracking
traffic through matomo on that website immediately.</p>
<p>The idea about putting the script inside the custom theme is really
good though, didn't think about it. Thanks! I'll see if I can fix it
that way, if not I guess we'll just wait until the 7.4 migration is
over (and yep, gonna take several more months lol)</p>Senio Rotondi2024-03-07T20:20:52ZRE: Liferay 7.1 swapping "<" and ">" for "<" and ">"Senio Rotondihttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1224548352024-03-08T10:38:34Z2024-03-07T20:20:19Z<p>Turns out the specific 7.1 version installed on that VM where I'm
having this issue is slightly different from the one on my other VMs.
Turns out on that specific version the behaviour I've been
experiencing is a known issue/bug.</p>
<p>We are already in the process of migrating everything to 7.4 of
course, but it's gonna take more time and I wanted to start tracking
traffic through matomo on that website immediately.</p>
<p>The idea about putting the script inside the custom theme is really
good though, didn't think about it. Thanks! I'll see if I can fix it
that way, if not I guess we'll just wait until the 7.4 migration is
over (and yep, gonna take several more months lol)</p>Senio Rotondi2024-03-07T20:20:19ZRE: Liferay 7.1 swapping "<" and ">" for "<" and ">"Olaf Kockhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1224519122024-03-07T17:19:03Z2024-03-06T17:16:14Z<p>If you're copy/pasting the script, make sure it's not already escaped
(but well hidden in the place where you copy it from.</p>
<p>Validate if the versions of all the servers are the same (e.g. you
might run a version with a bug) - speaking of which: If you run into
an issue on 7.1, it's always worth trying to reproduce on the latest
version (7.4, for almost 2.5 years now). There's likely no more bugfix
for 7.1</p>
<p>If all else goes wrong, as a quick workaround: If you've deployed
your own theme (and on 7.1 that's a good assumption), you could also
just add the script there without worrying for it to be mangled.</p>Olaf Kock2024-03-06T17:16:14ZLiferay 7.1 swapping "<" and ">" for "<" and ">"Senio Rotondihttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1224511462024-03-06T17:01:27Z2024-03-06T14:22:31Z<p>Hi, I'm trying to implement a matomo traffic tracking script on an
old Liferay 7.1 website.</p>
<p>I managed to make it work flawlessly on some website, but on this
specific one I'm getting an issue where all "<" and
">" characters get swapped into "&lt;" and
"&gt;", making all the code within the script being
interpreted as plain text by the browser.</p>
<p>I'm using the "Configuration > Website Settings > Advanced
> Piwik" field to copypaste the matomo script. As I mentioned
before it works just fine on multiple Liferay 7.1 websites but on this
specific one I'm mentioning I get the odd behaviour I described above.</p>
<p>This makes me think that this specific installation of Liferay might
have some different setting somewhere compared to the other ones.
Question is: which setting? Can anybody help me understanding what's
going on?</p>
<p> </p>
<p>Thanks a lot</p>Senio Rotondi2024-03-06T14:22:31ZRE: Is there a tutorial for upgrading like dxp-7.4.13.u24 to dxp-7.4.13.u92?Olaf Kockhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1224163662024-02-21T13:32:23Z2024-02-21T13:32:23Z<p>Just the standard upgrade procedure applies:</p>
<p>* Upgrade the database with the DB upgrade tool</p>
<p>* Recompile your plugins and validate that no API that you used has
changed. If it has: Adapt the code, compile and deploy the new plugins.</p>
<p>Personal suggestion: Do this on a restored database and environment -
this way you also test your backup procedures and make sure that you
are able to restore a fully running system (before upgrade) from what
you call a backup.</p>Olaf Kock2024-02-21T13:32:23ZIs there a tutorial for upgrading like dxp-7.4.13.u24 to dxp-7.4.13.u92?Aiden Hohttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1224155142024-02-21T13:29:54Z2024-02-21T10:01:56Z<p>As title, please kindly let me know if there is one.</p>
<p> </p>Aiden Ho2024-02-21T10:01:56ZRE: RE: Need Help Adding HTML CodeJames Phttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1223825342024-02-06T18:20:03Z2024-02-06T00:56:45Z<p>"Hi there, I can add HTML code for a specific blog post only.
However, I can't find the option to add HTML code to widgets, footer,
header, etc.</p>
<p>https://i.imgur.com/oDcpCCN.png</p>
<p> </p>James P2024-02-06T00:56:45ZRE: Need Help Adding HTML CodeOlaf Kockhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1223819282024-02-05T17:17:51Z2024-02-05T17:17:50Z<p>Can you go more into detail what HTML you'd like to add? The
screenshot doesn't give it away.</p>Olaf Kock2024-02-05T17:17:50ZNeed Help Adding HTML CodeJames Phttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1223798292024-02-05T17:06:41Z2024-02-05T06:34:57Z<p>Hi there, I'm trying to find a way to add HTML code for a specific
section and the entire website. However, it seems I can't find the
solution. I need help. The only place I found was JavaScript, but not HTML.</p>
<p>
<a href="https://i.imgur.com/aOY6XBv.png">https://i.imgur.com/aOY6XBv.png</a></p>James P2024-02-05T06:34:57ZRE: Issue with MySQL 8.0 Integration in Liferay 7.1.2Olaf Kockhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1223205162024-01-04T09:30:55Z2024-01-04T09:30:54Z<p>MySql 8 was released just before 7.1. There was no time to introduce
another full infrastructure testing before release - so MySql8 is not
on the compatibility list for Liferay Portal 7.1 (CE). If you want to
use MySql 8, I suggest to upgrade. This has the side-benefit of also
making bugfixes (potentially security related) and new features for you.</p>Olaf Kock2024-01-04T09:30:54ZIssue with MySQL 8.0 Integration in Liferay 7.1.2Susan Emeliahttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1223191662024-01-04T09:28:55Z2024-01-03T13:54:45Z<p>I've been working on integrating MySQL Server 8.0 with my Liferay
portal (7.1.2) running on Tomcat 9.x. Has anyonwe faced this issue?</p>Susan Emelia2024-01-03T13:54:45ZIntegrating React with Liferay: Seeking Advice and Best PracticesEmily Johnsonshttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1222659242023-12-06T16:00:14Z2023-12-01T06:49:38Z<p>Hi everyone, I work for an insurance firm as a front-end developer
right now. Because Liferay is designed specifically for insurance
firms, they want to use it to construct their frontend together with
React. Has anyone carried out this task before? Because Liferay is so
specialized, I fear that this might be a professional dead end. I
don't believe this information would be useful to me in the future.
Please share your opinions, if you have any.</p>Emily Johnsons2023-12-01T06:49:38ZRE: How to make "Show Actions checked by default in Document and Media portlet?Mohammed Yasinhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1222589952023-11-24T16:41:19Z2023-11-24T10:32:05Z<p>Hi ,</p>
<p>You can try using the below property for enabling default show action:</p>
<p> dl.actions.visible=true<br> </p>Mohammed Yasin2023-11-24T10:32:05ZHow to make "Show Actions checked by default in Document and Media portlet?Alla Sapozhnikovahttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1222540972023-11-21T01:30:56Z2023-11-21T01:30:55Z<p>Hi,</p>
<p>I'm looking to set the 'Show Actions' checkbox as checked by default
for any Document and Media portlet added to a page in Liferay. I found
a similar question <a
href="https://liferay.dev/ask/questions/portal/7-x-general-documents-configuration-check-show-actions-by-default-1">7.x
- General - Documents Configuration Check "Show Actions"
by Default (liferay.dev)</a> posted here five years ago, but
unfortunately, there were no answers provided.</p>
<p>Does anyone have any suggestions on how to achieve this?</p>
<p>Thank you.</p>
<p>Alla</p>
<p> </p>Alla Sapozhnikova2023-11-21T01:30:55ZRE: Error with Postgres driverGreylee Tiamanthttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1222106352023-10-31T12:28:53Z2023-10-31T11:00:55Z<p> </p>
<p>I have solved the problem by creating the following folders
/postgresql/main in modules/system/layer/base/org and inside this I
placed module.xml and the driver.</p>Greylee Tiamant2023-10-31T11:00:55ZIssue with Customizing Portlet Layout in Liferaynora fatehhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1221982482023-10-30T17:17:09Z2023-10-28T06:42:09Z<p>I'm currently working on a project and I'm facing a challenge with
customizing the layout of a specific portlet. I've tried using the
built-in tools provided by Liferay, but I'm not achieving the desired
result.Specifically, I need to reposition certain elements within the
portlet and adjust their styling. I've explored the documentation, but
I couldn't find a straightforward solution.</p>
<p>Has anyone encountered a similar situation or has suggestions on how
to effectively customize the layout of a portlet in Liferay?</p>nora fateh2023-10-28T06:42:09ZError with Postgres driverGreylee Tiamanthttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1221699282023-10-25T14:57:00Z2023-10-24T15:15:32Z<p>Hi all, I am upgrading to Liferay 7.4 versión with JBoss 7.4 using
this
manual https://help.liferay.com/hc/es/articles/360028810012-Installing-Liferay-DXP-on-JBoss-EAP
(Because i didn't find from 7.4, i don't know if work for this
version). I put my Postgres driver in my
\modules\com\liferay\portal\main folder and declare it in module.xml </p>
<pre>
<code><?xml version="1.0"?>
<module xmlns="urn:jboss:module:1.0" name="com.liferay.portal">
<resources>
<resource-root path="postgresql.jar" />
<resource-root path="annotations-api.jar" />
</resources>
<dependencies>
<module name="javax.api" />
<module name="javax.mail.api" />
<module name="javax.servlet.api" />
<module name="javax.servlet.jsp.api" />
<module name="javax.transaction.api" />
</dependencies>
</module></code></pre>
<p>i create \modules\org\postgres\main folder because when i was using
Liferay 7.1 i was on...</p>
<p>In \standalone\configuration\stadalone.xml i declare my database like this</p>
<pre>
<code><subsystem xmlns="urn:jboss:domain:datasources:6.0">
<datasources>
<datasource jndi-name="java:jboss/datasources/databaseName" pool-name="databaseName" enabled="true" use-java-context="true">
<connection-url>url database</connection-url>
<driver>postgresql</driver>
<security>
<user-name>user</user-name>
<password>password</password>
</security>
</datasource>
<drivers>
<driver name="postgresql" module="org.postgres">
<xa-datasource-class>org.postgresql.Driver</xa-datasource-class>
</driver>
</drivers>
</datasources>
</subsystem></code></pre>
<p>I have this errors</p>
<p> </p>
<pre>
<code class="language-java">ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 41) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("jdbc-driver" => "postgresql")
]) - bug description: "WFLYJCA0114: Failed to load data source class: org.postgresql.Driver"</code></pre>
<pre>
<code class="language-java">ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "databaseName")
]) - Fault description: {
"WFLYCTL0412: Required services not yet installed:" => ["jboss.jdbc-driver.postgresql"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.databaseName is missing [jboss.jdbc-driver.postgresql]",
"jboss.driver-demander.java:jboss/datasources/databaseName is missing [jboss.jdbc-driver.postgresql]"
]
}
14:47:22,622 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "databaseName")
]) - Fault description: {
"WFLYCTL0412: Required services that are not yet installed:" => [
"jboss.jdbc-driver.postgresql",
"jboss.jdbc-driver.postgresql"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.databaseName is missing [jboss.jdbc-driver.postgresql]",
"jboss.driver-demander.java:jboss/datasources/databaseName is missing [jboss.jdbc-driver.postgresql]",
"org.wildfly.data-source.databaseName is missing [jboss.jdbc-driver.postgresql]"
]
}</code></pre>
<pre id="tw-target-text">
I have tried some solutions that I have found but no work:( I feel like JBoss can't find \modules\com\liferay\portal\main folder, i don't know what more do... this configuration worked for me in Liferay 7.1 but no in Liferay 7.4</pre>
<p> </p>
<p>Thanks for reading^-^</p>Greylee Tiamant2023-10-24T15:15:32ZRE: RE: Federated Search Key is missing for Category FacetRussell Bohlhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1219997432023-08-29T12:02:06Z2023-08-29T12:02:05Z<p>That is an interesting use case--dynamic asset display using the
search widgets. Am I right in thinking that, to allow a user to select
the country, they'd be clicking on a category in the category facet
widget? In that case, you would want the single facet selection to
affect both search results widgets, right?</p>
<p>I suppose you've explored the more traditional asset display routes
Liferay has before trying this with search widgets?</p>
<p>I don't know if you're a DXP customer, but as of a recent update,
Search Blueprints are now automatically made into Collection
Providers: <a
href="https://learn.liferay.com/w/dxp/using-search/liferay-enterprise-search/search-experiences/search-blueprints/collections-with-search-blueprints">documentation</a>,
<a href="https://liferay.dev/blogs/-/blogs/collections-with-search-blueprints-beta-in-dxp-7-4-u88">blog</a></p>
<p> </p>Russell Bohl2023-08-29T12:02:05ZIssue with Liferay Cloud Deployment: Error Message During SetupRuby Gracehttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1219996412023-08-31T19:35:50Z2023-08-29T07:32:10Z<p>I'm currently facing an issue while trying to deploy my project on
Liferay Cloud. I've followed the deployment steps outlined in the
documentation, but I'm encountering an error message that's preventing
me from completing the setup.I've double-checked my configuration
settings and made sure all the required dependencies are in place, but
I'm still unable to proceed.</p>Ruby Grace2023-08-29T07:32:10ZRE: RE: Federated Search Key is missing for Category FacetJan Verweijhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1219949482023-08-25T14:54:49Z2023-08-25T14:01:42Z<p>In our case we are showing events on the homepage based on
searchresults. We have two searchresults widgets both with their own
federated search key, 'current' and 'upcoming'. Depending on your
location we show these events. So e.g. you live in the Netherlands you
get different results for both c