File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
java/com/mimacom/liferay/portal/setup Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ Run <code>com.mimacom.liferay.portal.setup.LiferaySetup#setup(java.io.File)</cod
2626 <configuration >
2727 <runasuser >test@liferay.com</runasuser >
2828 </configuration >
29+
30+ <!--
31+ This will add new custom field that can be used in theme to control if ads should display on
32+ particular page.
33+ -->
34+ <customFields >
35+ <field name =" showAds" type =" boolean" className =" com.liferay.portal.model.Layout" >
36+ <role-permission role-name =" Guest" permission =" view" />
37+ </field >
38+ </customFields >
2939</setup >
3040```
3141
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ private static Unmarshaller getUnmarshaller() throws JAXBException {
7979
8080 public static boolean validateAgainstXSD (final InputStream xml ) throws IOException {
8181 ClassLoader cl = MarshallUtil .class .getClassLoader ();
82- URL url = cl .getResource ("setup_definition.xsd" );
82+ URL url = cl .getResource ("setup_definition-1.0 .xsd" );
8383 if (url == null ) {
8484 throw new IOException ("XSD configuration not found" );
8585 }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments