mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-07-07 20:43:37 +00:00
# [#32315] *regression: Notices or fatal errors for categories menu item display
This commit is contained in:
parent
8661506810
commit
746bd62719
|
@ -25,4 +25,10 @@ class ContactViewCategories extends JViewCategories
|
|||
* @since 3.2
|
||||
*/
|
||||
protected $pageHeading = 'COM_CONTACT_DEFAULT_PAGE_TITLE';
|
||||
|
||||
/**
|
||||
* @var string The name of the extension for the category
|
||||
* @since 3.2
|
||||
*/
|
||||
protected $extension = 'com_contact';
|
||||
}
|
||||
|
|
|
@ -25,4 +25,10 @@ class ContentViewCategories extends JViewCategories
|
|||
* @since 3.2
|
||||
*/
|
||||
protected $pageHeading = 'JGLOBAL_ARTICLES';
|
||||
|
||||
/**
|
||||
* @var string The name of the extension for the category
|
||||
* @since 3.2
|
||||
*/
|
||||
protected $extension = 'com_content';
|
||||
}
|
||||
|
|
|
@ -25,4 +25,10 @@ class NewsfeedsViewCategories extends JViewCategories
|
|||
* @since 3.2
|
||||
*/
|
||||
protected $pageHeading = 'COM_NEWSFEEDS_DEFAULT_PAGE_TITLE';
|
||||
|
||||
/**
|
||||
* @var string The name of the extension for the category
|
||||
* @since 3.2
|
||||
*/
|
||||
protected $extension = 'com_newsfeeds';
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ defined('_JEXEC') or die;
|
|||
* @subpackage com_weblinks
|
||||
* @since 1.5
|
||||
*/
|
||||
class WeblinksViewCategories extends JViewCategory
|
||||
class WeblinksViewCategories extends JViewCategories
|
||||
{
|
||||
protected $item = null;
|
||||
|
||||
|
@ -82,17 +82,4 @@ class WeblinksViewCategories extends JViewCategory
|
|||
|
||||
return parent::display($tpl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to prepares the document
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 3.2
|
||||
*/
|
||||
protected function prepareDocument()
|
||||
{
|
||||
parent::prepareDocument();
|
||||
parent::addFeed();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ $ -> Language fix or change
|
|||
# [#32353] Fatal Error: Class 'PlgUserJoomla' not found. Thanks George Wilson
|
||||
# [#32352] Add class aliases for legacy application classes. Thanks Michael Babker
|
||||
# [#32326] Control Panel Icon Needs to Change. Thanks Nick Savov
|
||||
# [#32315] *regression: Notices or fatal errors for categories menu item display. Thanks Achal Aggarwal
|
||||
|
||||
18-Oct-2013 Jean-Marie Simonet
|
||||
# [#32344] *Overrides bug: Warning: constant() [function.constant]: Couldn't find constant JPATH_0
|
||||
|
|
|
@ -21,7 +21,7 @@ defined('_JEXEC') or die;
|
|||
<?php //If there is a description in the menu parameters use that; ?>
|
||||
<?php if($displayData->params->get('categories_description')) : ?>
|
||||
<div class="category-desc base-desc">
|
||||
<?php echo JHtml::_('content.prepare', $displayData->params->get('categories_description'), '', $displayData->extension . '.categories'); ?>
|
||||
<?php echo JHtml::_('content.prepare', $displayData->params->get('categories_description'), '', $displayData->get('extension') . '.categories'); ?>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<?php //Otherwise get one from the database if it exists. ?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user