Skip to content

Commit

Permalink
Fix parent_ids in menu, fix param show_page_heading
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed Aug 28, 2020
1 parent fc3ab06 commit b7186a0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions plugins/sampledata/blog/blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public function onAjaxSampledataApplyStep2()
'component_id' => '',
'params' => array(
'menu_text' => 1,
'show_show' => 1,
'show_page_heading' => 1,
'secure' => 0,
),
),
Expand Down Expand Up @@ -504,7 +504,7 @@ public function onAjaxSampledataApplyStep2()
'secure' => 0,
),
),
// Blog withm colums
// Blog with 3 columns
array(
'menutype' => $menuTypes[0],
'title' => Text::_('PLG_SAMPLEDATA_BLOG_SAMPLEDATA_MENUS_ITEM_11_TITLE'),
Expand Down Expand Up @@ -647,7 +647,7 @@ public function onAjaxSampledataApplyStep2()
'menutype' => $menuTypes[1],
'title' => Text::_('PLG_SAMPLEDATA_BLOG_SAMPLEDATA_MENUS_ITEM_9_TITLE'),
'link' => 'index.php?option=com_config&view=config',
'parent_id' => $menuIdsLevel1[0],
'parent_id' => $menuIdsLevel1[4],
'component_id' => ExtensionHelper::getExtensionRecord('com_config', 'component')->extension_id,
'access' => 6,
'params' => array(
Expand All @@ -660,7 +660,7 @@ public function onAjaxSampledataApplyStep2()
'menutype' => $menuTypes[1],
'title' => Text::_('PLG_SAMPLEDATA_BLOG_SAMPLEDATA_MENUS_ITEM_10_TITLE'),
'link' => 'index.php?option=com_config&view=templates',
'parent_id' => $menuIdsLevel1[0],
'parent_id' => $menuIdsLevel1[4],
'component_id' => ExtensionHelper::getExtensionRecord('com_config', 'component')->extension_id,
'params' => array(
'menu_text' => 1,
Expand Down Expand Up @@ -691,7 +691,7 @@ public function onAjaxSampledataApplyStep2()
'component_id' => ExtensionHelper::getExtensionRecord('com_content', 'component')->extension_id,
'params' => array(
'menu_text' => 1,
'show_show' => 1,
'show_page_heading' => 1,
'secure' => 0,
),
),
Expand All @@ -704,7 +704,7 @@ public function onAjaxSampledataApplyStep2()
'component_id' => ExtensionHelper::getExtensionRecord('com_content', 'component')->extension_id,
'params' => array(
'menu_text' => 1,
'show_show' => 1,
'show_page_heading' => 1,
'secure' => 0,
),
),
Expand All @@ -718,7 +718,7 @@ public function onAjaxSampledataApplyStep2()
'component_id' => '',
'params' => array(
'menu_text' => 1,
'show_show' => 1,
'show_page_heading' => 1,
'secure' => 0,
),
),
Expand Down Expand Up @@ -997,25 +997,25 @@ public function onAjaxSampledataApplyStep3()
'module_tag' => 'search',
),
),
/** */
array(
// Unbublished module - ToDo decorative and meningful example for a module
// Headder image
'title' => Text::_('PLG_SAMPLEDATA_BLOG_SAMPLEDATA_MODULES_MODULE_8_TITLE'),
'content' => '<p></p>',
'content' => '<p>' . Text::_('PLG_SAMPLEDATA_BLOG_SAMPLEDATA_MODULES_MODULE_8_TITLE') . '</p>',
'ordering' => 1,
'position' => 'main-top',
'position' => 'none',
'module' => 'mod_custom',
'showtitle' => 0,
'params' => array(
'prepare_content' => 1,
'layout' => '_:default',
'backgroundimage' => 'images\/banners\/banner.jpg',
'layout' => 'cassiopeia:banner',
'cache' => 1,
'cache_time' => 900,
'cachemode' => 'static',
'module_tag' => 'div',
'bootstrap_size' => 0,
'header_tag' => 'h3',
'style' => 0,
'style' => 'none',
),
),
array(
Expand Down

0 comments on commit b7186a0

Please sign in to comment.