Skip to content
This repository
Browse code

removed deprecated news page types

  • Loading branch information...
commit 7aa7b647b2e73d99de14c8883a132a4f6aee36a5 1 parent 1b71cf4
Nathan White authored May 23, 2012 natepixel committed May 25, 2012
155  reason_4.0/lib/core/minisite_templates/page_types.php
@@ -429,15 +429,6 @@
429 429
 			'sidebar' => 'siblings',
430 430
 			'sub_nav' => '',
431 431
 		),
432  
-		'blurbs_with_events_and_news_sidebar_by_page_categories' => array(
433  
-			'pre_sidebar'=> array(
434  
-				'module'=>'events_mini',
435  
-				'limit_to_page_categories'=>true,
436  
-			),
437  
-			'sidebar'=>'news_via_categories',
438  
-			'main_post'=>'blurb',
439  
-			'sub_nav'=>'',
440  
-		),
441 432
 		'blurbs_with_events_and_publication_sidebar_by_page_categories' => array(
442 433
 			'pre_sidebar'=> array(
443 434
 				'module'=>'events_mini',
@@ -527,18 +518,6 @@
527 518
 			'sub_nav' => 'assets',
528 519
 			'main_head' => '',
529 520
 		),
530  
-		'children_and_grandchildren_full_names_sidebar_blurbs_no_title_random_news_subnav' => array(
531  
-			'main_post' => array(
532  
-				'module' => 'children_and_grandchildren',
533  
-				'max_depth' => 2,
534  
-				'use_link_name' => false,
535  
-				'depth_to_tag_map' => array(1=>'h3',2=>'h4',),
536  
-			),
537  
-			'pre_sidebar' => 'image_sidebar',
538  
-			'sidebar' => 'blurb',
539  
-			'sub_nav' => 'news2_mini_random',
540  
-			'main_head' => '',
541  
-		),
542 521
 		'children_and_grandchildren_sidebar_blurbs' => array(
543 522
 			'main_post' => array(
544 523
 				'module' => 'children_and_grandchildren',
@@ -630,23 +609,6 @@
630 609
 			'main_post' => 'children',
631 610
 			'pre_sidebar' => 'image_sidebar',
632 611
 		),
633  
-		'events_and_news_sidebar_by_page_categories' => array(
634  
-			'pre_sidebar'=> array(
635  
-				'module'=>'events_mini',
636  
-				'limit_to_page_categories'=>true,
637  
-			),
638  
-			'sidebar'=>'news_via_categories',
639  
-		),
640  
-		'events_and_news_sidebar_show_children' => array(
641  
-			'pre_sidebar' => 'events_mini',
642  
-			'sidebar' => 'news_mini',
643  
-			'main_post' => 'children',
644  
-		),
645  
-		'news_and_events_sidebar_show_children' => array(
646  
-			'sidebar' => 'events_mini',
647  
-			'pre_sidebar' => 'news_mini',
648  
-			'main_post' => 'children',
649  
-		),
650 612
 		'publication_related_and_events_sidebar_show_children' => array(
651 613
 			'sidebar' => 'events_mini',
652 614
 			'pre_sidebar' => array(
@@ -662,12 +624,6 @@
662 624
 			),
663 625
 			'main_post' => 'children',
664 626
 		),
665  
-		'news_and_events_sidebar_show_children_no_title' => array(
666  
-			'sidebar' => 'events_mini',
667  
-			'pre_sidebar' => 'news_mini',
668  
-			'main_post' => 'children',
669  
-			'main_head' => '',
670  
-		),
671 627
 		'publication_related_and_events_sidebar_show_children_no_title' => array(
672 628
 			'sidebar' => 'events_mini',
673 629
 			'pre_sidebar' => array(
@@ -684,20 +640,6 @@
684 640
 			'main_post' => 'children',
685 641
 			'main_head' => '',
686 642
 		),
687  
-		'events_and_news_sidebar' => array(
688  
-			'pre_sidebar' => array(
689  
-				'module' => 'events_mini',
690  
-				'view' => 'monthly',
691  
-			),
692  
-			'sidebar' => 'news_mini',
693  
-		),
694  
-		'events_and_news_sidebar_weekly' => array(
695  
-			'pre_sidebar' => array(
696  
-				'module' => 'events_mini',
697  
-				'view' => 'weekly',
698  
-			),
699  
-			'sidebar' => 'news_mini',
700  
-		),
701 643
 		'events_archive' => array(
702 644
 			'main_post' => 'events_archive',
703 645
 			'sidebar' => '',
@@ -1281,35 +1223,6 @@
1281 1223
 			'main_post'=>'navigation',
1282 1224
 			'post_foot' => 'textonly_toggle',
1283 1225
 		),
1284  
-		'news' => array(
1285  
-			'main_post' => 'news',
1286  
-		),
1287  
-		'news_all' => array(
1288  
-			'main_post' => 'news_all',
1289  
-		),
1290  
-		'news_by_category' => array(
1291  
-			'main_post' => 'news_by_category',
1292  
-		),
1293  
-		'news_mini' => array(
1294  
-			'main_post' => 'news_mini',
1295  
-		),
1296  
-		'news_NoNav_sidebarBlurb' => array(
1297  
-			'main_post' => 'news',
1298  
-			'navigation' => '',
1299  
-			'sub_nav_2' => '',
1300  
-			'sub_nav' => '',
1301  
-			'sidebar' => 'blurb',
1302  
-			'post_foot' => 'textonly_toggle',
1303  
-		),
1304  
-		'news_one_at_a_time' => array(
1305  
-			'main_post'=>'news_one_at_a_time',
1306  
-		),
1307  
-		'news_proofing_multipage' => array(
1308  
-			'main_post'=>'news_proofing_multipage',
1309  
-		),
1310  
-		'news_sidebar' => array(
1311  
-			'sidebar' => 'news_mini',
1312  
-		),
1313 1226
 		'publication_sidebar' => array(
1314 1227
 			'sidebar' => array(
1315 1228
 				'module' => 'publication',
@@ -1365,43 +1278,6 @@
1365 1278
 			'sidebar' => 'blurb',
1366 1279
 			'sub_nav' => '',
1367 1280
 		),
1368  
-		'news_random' => array(
1369  
-			'main_post' => 'news_rand',
1370  
-		),
1371  
-		'news_proofing' => array(
1372  
-			'main_post' => 'news_proofing',
1373  
-		),
1374  
-		'news_via_categories' => array(
1375  
-			'sidebar' => 'news_via_categories',
1376  
-		),
1377  
-		'news_via_categories_with_children' => array(
1378  
-			'sidebar' => 'news_via_categories',
1379  
-			'main_post'=>'children',
1380  
-		),
1381  
-		'news_via_categories_with_siblings' => array(
1382  
-			'sidebar' => 'news_via_categories',
1383  
-			'main_post'=>'siblings',
1384  
-		),
1385  
-		'news_with_sidebar_blurbs' => array(
1386  
-			'main_post' => 'news',
1387  
-			'sidebar' => 'blurb',
1388  
-			'sub_nav' => '',
1389  
-		 ),
1390  
-		'newsNoNavigation' => array(
1391  
-			'main_post' => 'news',
1392  
-			'navigation' => '',
1393  
-			'sub_nav_2' => '',
1394  
-			'sub_nav' => '',
1395  
-			'post_foot' => 'textonly_toggle',
1396  
-		),
1397  
-		'newsNoNavigation_footer_blurb' => array(
1398  
-			'main_post' => 'news',
1399  
-			'navigation' => '',
1400  
-			'sub_nav_2' => '',
1401  
-			'sub_nav' => '',
1402  
-			'post_foot' => 'textonly_toggle',
1403  
-			'edit_link' => 'blurb',
1404  
-		),
1405 1281
 		'no_sub_nav' => array(
1406 1282
 			'sub_nav_2' => '',
1407 1283
 			'sub_nav' => '',
@@ -1423,15 +1299,6 @@
1423 1299
 			'sub_nav' => '',
1424 1300
 			'post_foot' => 'textonly_toggle',
1425 1301
 		),
1426  
-		'noNavNoSearch_news_sidebar' => array(
1427  
-			'banner_xtra' => '',
1428  
-			'navigation' => '',
1429  
-			'sub_nav_2' => '',
1430  
-			'sub_nav' => '',
1431  
-			'post_foot' => 'textonly_toggle',
1432  
-			'pre_sidebar' => 'news_mini',
1433  
-			'sidebar' => 'assets',
1434  
-		),
1435 1302
 		'policy' => array(
1436 1303
 			'main_post' => 'policy',
1437 1304
 		),
@@ -1451,9 +1318,6 @@
1451 1318
 			'sub_nav' => array('module' => 'blurb', 'num_to_display' => 1, 'rand_flag' => true),
1452 1319
 			'sidebar' => array('module' => 'image_sidebar', 'num_to_display' => 3, 'caption_flag' => false, 'rand_flag' => true)
1453 1320
 		),
1454  
-		'random_news_sub_nav' => array(
1455  
-			'sub_nav'=>'news2_mini_random',
1456  
-		),
1457 1321
 		'random_sidebar_images' => array(
1458 1322
 			'sidebar' => array('module' => 'image_sidebar', 'num_to_display' => 3, 'caption_flag' => false, 'rand_flag' => true)
1459 1323
 		),
@@ -1474,10 +1338,6 @@
1474 1338
 		'show_children' => array(
1475 1339
 			'main_post' => 'children',
1476 1340
 		),
1477  
-		'show_children_and_news_sidebar' => array(
1478  
-			'main_post' => 'children',
1479  
-			'sidebar' => 'news_mini',
1480  
-		),
1481 1341
 		'show_children_and_publication_sidebar' => array(
1482 1342
 			'main_post' => 'children',
1483 1343
 			'sidebar' => array(
@@ -1904,21 +1764,6 @@
1904 1764
 	);
1905 1765
 	
1906 1766
 	$GLOBALS['_reason_deprecated_modules'] = array(
1907  
-				'news_via_categories',
1908  
-				'news2_mini_random',
1909  
-				'news_mini',
1910  
-				'news',
1911  
-				'news_all',
1912  
-				'news_one_at_a_time',
1913  
-				'news_proofing_multipage',
1914  
-				'news_rand',
1915  
-				'news_proofing',
1916  
-				'news_by_category',
1917  
-				'news_image_sidebar',
1918  
-				'news_parent',
1919  
-				'news_top',
1920  
-				'news2_mini',
1921  
-				'news2',
1922 1767
 				'form_custom/form_custom',
1923 1768
 				'gallery_single_page',
1924 1769
 				'gallery_entire_site',

0 notes on commit 7aa7b64

Please sign in to comment.
Something went wrong with that request. Please try again.