Changeset 9972 for trunk/modules/boonex/news/install/sql/install.sql
- Timestamp:
- 04/06/09 04:21:27 (3 years ago)
- File:
-
- 1 edited
-
trunk/modules/boonex/news/install/sql/install.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/boonex/news/install/sql/install.sql
r9968 r9972 117 117 118 118 119 SET @iCategoryId = (SELECT MAX(`kateg`) FROM ` GlParams`) + 1;119 SET @iCategoryId = (SELECT MAX(`kateg`) FROM `sys_options`) + 1; 120 120 SET @iCategoryOrder = (SELECT MAX(`menu_order`) FROM `sys_options_cats`) + 1; 121 121 INSERT INTO `sys_options_cats` (`ID`, `name` , `menu_order` ) VALUES (@iCategoryId, 'News', @iCategoryOrder); 122 122 123 INSERT INTO ` GlParams` (`Name`, `VALUE`, `kateg`, `desc`, `Type`, `check`, `err_text`, `order_in_kateg`) VALUES123 INSERT INTO `sys_options` (`Name`, `VALUE`, `kateg`, `desc`, `Type`, `check`, `err_text`, `order_in_kateg`) VALUES 124 124 ('permalinks_module_news', 'on', 26, 'Enable friendly news permalink', 'checkbox', '', '', 0), 125 125 ('news_comments', 'on', @iCategoryId, 'Allow comments for news', 'checkbox', '', '', 0),
Note: See TracChangeset
for help on using the changeset viewer.