Page MenuHomeIn-Portal Phabricator

custom
No OneTemporary

File Metadata

Created
Sat, May 3, 10:46 PM
Index: branches/1.0.x/custom/install/upgrades.sql
===================================================================
--- branches/1.0.x/custom/install/upgrades.sql (revision 12664)
+++ branches/1.0.x/custom/install/upgrades.sql (revision 12665)
@@ -1,4 +1,7 @@
# ===== v 1.0.0 =====
# ===== v 1.0.1 =====
-UPDATE Modules SET LoadOrder = 10 WHERE `Name` = 'Custom';
\ No newline at end of file
+UPDATE Modules SET LoadOrder = 10 WHERE `Name` = 'Custom';
+
+# ===== v 1.0.2 =====
+UPDATE Modules SET TemplatePath = 'custom/' WHERE Name = 'Custom';
Index: branches/1.0.x/custom/install/install_data.sql
===================================================================
--- branches/1.0.x/custom/install/install_data.sql (revision 12664)
+++ branches/1.0.x/custom/install/install_data.sql (revision 12665)
@@ -1,19 +1,19 @@
# place here only sql queries, that were executed on live AND dev sites !!!
INSERT INTO Permissions VALUES(DEFAULT, 'custom.view', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.delete', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.edit', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.add', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.view', 11, 1, 1, 0);
-INSERT INTO Modules VALUES ('Custom', 'custom/', 'custom-sections', DEFAULT, 1, 10, '', 0, NULL);
+INSERT INTO Modules VALUES ('Custom', 'custom/', 'custom-sections', DEFAULT, 1, 10, 'custom/', 0, NULL);
# ===== SQLs above this line already on LIVE ================================================================================================
# place here only sql queries, that were executed on dev site !!!
# ===== SQLs above this line already on DEV ========================================================================================================
# place here only sql queries, that were executed on prod server !!!

Event Timeline