Foren

Configurable setting not responding to new input

Christopher Lindeman, geändert vor 7 Jahren.

Configurable setting not responding to new input

New Member Beitrag: 1 Beitrittsdatum: 18.09.15 Neueste Beiträge
I created a configurable text setting in liferay-look-and-feel.xml like so:
<setting configurable="true" key="support-email" type="text" value="support@company.com" />


In portal_normal.vm I created an anchor tag to receive this value like so:
<a href="mailto:$theme.getSetting('support-email')">Email</a>


This works properly. The anchor tag links to support@company.com. But when I go to Admin > Pages and change the value of this setting, the anchor tag does not change. It stays as support@company.com. I have other settings that are correctly working. Why not this one?


Edit: Actually, now all of my configurable settings have stopped working. They all just use the default value from liferay-look-and-feel.xml. I even tried commenting out all of them except for a simple one like:
<setting configurable="true" key="show-breadcrumbs" options="true,false" type="checkbox" value="false" />


And even that isn't working anymore. What would cause these settings to suddenly stop working properly?