Where is portal ext.properties liferay
The pre-service events process before Struts processes the request. Set the default landing page path for logged in users relative to the server path. This is the page users are automatically redirected to after logging in.
To activate this feature, set auth. To customize the behavior, see com. DefaultLandingPageAction in the login. Set the default logout page path for users relative to the server path. This is the page users are automatically redirected to after logging out. DefaultLogoutPageAction in the logout. The Guest group must have at least one public page. The settings for the initial public page are specified in the following properties.
If you need to add more than one page, set the property default. For even more complex behavior, override the addDefaultGuestPublicLayouts method in com. Specify a LAR file that can be used to create the guest public layouts.
If this property is set, the previous layout properties will be ignored. If the properties layout. The settings below are used for the creation of for the initial private pages.
For even more complex behavior, override the addDefaultUserPrivateLayouts method in com. Specify a LAR file that can be used to create the user private layouts. The settings below are used for the creation of for the initial public pages. For even more complex behavior, override the addDefaultUserPublicLayouts method in com. Specify a LAR file that can be used to create the user public layouts. Set the list of layout types. You can create new layout types and specify custom settings for each layout type.
End users input dynamic values as designed in the edit page. End users see the layout as designed in the view page. The generated URL can reference properties set in the edit page. Parentable layouts can contain child layouts. You can also specify a comma delimited list of configuration actions that will be called for your layout when it is updated or deleted.
Set whether or not private layouts are enabled. Set whether or not private layouts are modifiable. Set whether or not private layouts should be auto created if a user has no private layouts.
If private layouts are not enabled, the other two properties are assumed to be false. Set whether or not public layouts are enabled. Set whether or not public layouts are modifiable. Set whether or not public layouts should be auto created if a user has no public layouts. If public layouts are not enabled, the other two properties are assumed to be false. Specify static portlets that cannot be moved and will always appear on every layout.
Static portlets will take precedence over portlets that may have been dynamically configured for the layout. For example, if you want the Hello World portlet to always appear at the start of the iteration of the first column for user layouts, set the property layout.
If you want the Hello World portlet to always appear at the end of the second column for user layouts, set the property layout. You can input a list of comma delimited portlet ids to specify more than one portlet. The static portlets are fetched based on the properties controlled by custom filters using EasyConf. By default, the available filters are user, community, and organization.
Set the private group, private user, and public servlet mapping for com. This value must match the servlet mapping set in web. Private group pages map to a community's private pages and are only available to authenticated users with the proper permissions.
Public pages are available to unauthenticated users. Redirect to this resource if the user requested a friendly URL that does not exist. Leave it blank to display nothing. For backward compatibility, this overrides the property layout.
Set the following to true if layouts should remember across requests that a window state was set to maximized. Set the following to true if users are shown that they do not have access to a portlet.
The portlet init parameter show-portlet-access-denied will override this setting. Set the following to true if users are shown that a portlet is inactive. The portlet init parameter show-portlet-inactive will override this setting.
Set the following to true if the portal should show HTTP status codes like if the requested page is not found. Set the following to false to disable parallel rendering. You can also disable it on a per request basis by setting the attribute key com.
Set the name of a class that implements com. This class is used to remember maximized and minimized states on shared pages. The default implementation persists the state in the browser session. Set the following to true to cache the content of layout templates. This is recommended because it improves performance for production servers. Setting it to false is useful during development if you need to make a lot of changes. If set to true, then render parameters are cleared when different pages are hit.
This is not the behavior promoted by the portlet specification, but is the one that most end users seem to prefer. Set the following to true if calling setParameter on a portlet URL appends the parameter value versus replacing it. There is some disagreement in the interpretation of the JSR spec among portlet developers over this specific behavior.
Liferay Portal successfully passes the portlet TCK tests whether this value is set to true or false. Set this to false to provide for better backwards compatibility. If this is set to true, but a specific portlet application requires that its portlet URLs not be escaped by default, then modify portlet. Input the custom Struts request processor that will be used by Struts based portlets. The custom class must extend com.
PortletRequestProcessor and have the same constructor. Set the location of the default spacer image that is used for missing images. This image must be found in the class path. Set the location of the default company logo image that is used for missing company logo images. Set the locations of the default user portrait images that are used for missing user portrait images.
Set the following fields to false so users cannot see them. Some company policies require gender and birthday information to always be hidden. Input a list of comma delimited mime types that are not available by default from javax. Enter a list of valid Amazon license keys. Configure additional keys by incrementing the last number. The keys are used following a Round-Robin algorithm. This is made available only for personal use. Set the following to true if you want to avoid any writes to the index.
This is useful in some clustering environments where there is a shared index and only one node of the cluster updates it. Set the following to true if you want the indexing on startup to be executed on a separate thread to speed up execution. Lucene's storage of indexes via JDBC has a bug where temp files are not removed.
This can eat up disk space over time. Set the following property to true to automatically clean up the temporary files once a day.
This is only referenced if Lucene stores indexes in the database. For example, the property lucene. Set the directory where Lucene indexes are stored. This is only referenced if Lucene stores indexes in the file system. This class is called by Lucene to extract text from complex files so that they can be properly indexed.
The file extractor can sometimes return text that is not valid for Lucene. This property expects a regular expression. Any character that does not match the regular expression will be replaced with a blank space. Set an empty regular expression to disable this feature. Set Lucene's merge factor. Higher numbers mean indexing goes faster but uses more memory.
The default value from Lucene is This should never be set to a number lower than 2. Set how often to run Lucene's optimize method. Optimization speeds up searching but slows down writing. Set this property to 0 to always optimize. Set this property to an integer greater than 0 to optimize every X writes. You can add a listener for a specific class by setting the property value. These classes are pooled and reused and must be thread safe.
Enter a list of comma delimited paths that will only be executed when newer than the last modified date. These paths must extend com. You can override the xss.
Set the JGroups properties used by the portal to communicate with other instances of the portal. This is only needed if the portal is running in a clustered environment. The JGroups settings provide a mechanism for the portal to broadcast messages to the other instances of the portal.
The specified multi-cast address should be unique for internal portal messaging only. You will still need to set the Hibernate and Ehcache settings for database clustering. Set the hostname that will be used to serve static content via a CDN. Set the number of increments between database updates to the Counter table. Set this value to a higher number for better performance.
Enabling OpenOffice integration allows the Document Library portlet to provide document conversion functionality. To start OpenOffice as a service, run the command:. Set this to true to enable polling of email notifications from a POP server. The value is set in one minute increments. Set this to false to disable all scheduler classes defined in liferay-portlet. These classes allow jobs to be scheduled on startup. These classes are not associated to any one portlet.
The Blogs portlet allows for the posting of entries to various popular social bookmarking sites. The example ones are the defaults; to configure more, just add the site in the format below. These classes will run in sequence to allow you to find the applicable ResourceLoader to load a Velocity template. Set the Velocity resource managers. We extend the Velocity's default resource managers for better scalability. Note that the modification check interval is not respected because the resource loader implementation does not know the last modified date of a resource.
This means you will need to turn off caching if you want to be able to modify VM templates in themes and see the changes right away. Input a list of comma delimited macros that will be loaded. These files must exist in the class path. This will speed up page rendering for users that are on dial up. This double click filter will prevent double clicks at the server side. Prevention of double clicks is already in place on the client side. However, some sites require a more robust solution.
This is turned off by default since most sites will not need it. The strip filter will remove blank lines from the outputted content. The layout cache filter will cache pages to speed up page rendering for guest users.
See ehcache. The session id filter ensure that only one session is created between http and https sessions. This is useful if you want users to login via https but have them view the rest of the site via http.
This is disabled by default. Do not enable this unless you thoroughly understand how cookies, http, and https work.
The virtual host filter maps hosts to public and private pages. For example, if the public virtual host is www. Set the threshold size to prevent out of memory exceptions caused by caching excessively large uploaded data. Set the values to -1 if the portal is not running behind another web server like Apache. Set the hostname that will be used when the portlet generates URLs. Leaving this blank will mean the host is derived from the servlet container. Set this to true to display the server name at the bottom of every page.
This is useful when testing clustering configurations so that you can know which node you are accessing. Set the following to true to enable programmatic configuration to let the Web- DAV be configured for litmus testing.
This should never be set to true unless you are running the litmus tests. Servlets can be protected by com. Input a list of comma delimited IPs that can access this servlet. Input a blank list to allow any IP to access this servlet.
You can set some administrative defaults by using these properties. The first time you bring up your portal, these values will then already be set in the Admin portlet. Set the list of announcement types. Set the interval on which the TrackbackVerifierJob will run. Set the list of event types. Using a portal-ext. Portal properties are applied to Liferay Docker containers with environment variables Env variables and properties files.
Please see Configuring Containers to configure Docker containers with portal properties. Using System Settings and Configuration Files. As of DXP 7. DXP no longer applies per-instance properties from files of the format portal-[companyId]. Database connection properties are most commonly set in a portal-ext. If you want to change the database connection, for example, create a portal-ext.
For more database configuration details, see Database Configurations and Database Templates. Some application servers e. The liferay. To change how users authenticate, add one of the following company. The portal.
Extension properties files e. This property is available so that automated test environments index on startup. Do not set this to true on production systems or else your index will be indexed on every startup. A delay may be necessary if a lot of plugins need to be loaded and reindexed.
This property is only valid if "index. This can eat up disk space over time. Set this to true to automatically clean up the temporary files once a day. This is only referenced if Lucene stores indexes in the database. For example, the property "lucene. DB2Dialect lucene. DerbyDialect lucene. HSQLDialect lucene. SQLServerDialect lucene. MySQLDialect lucene. OracleDialect lucene.
This is only referenced if Lucene stores indexes in the file system. This class is called by Lucene to extract text from complex files so that they can be properly indexed. LuceneFileExtractor The file extractor can sometimes return text that is not valid for Lucene. This property expects a regular expression. Any character that does not matche the regular expression will be replaced with a blank space. Set an empty regular expression to disable this feature.
BrazilianAnalyzer lucene. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Liferay: Get URL in portal. Asked 8 years, 2 months ago. Active 1 year, 5 months ago. Viewed 2k times. Improve this question. Add a comment. Active Oldest Votes.
0コメント