test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • azurdo Friend
    #194458

    Hi

    In Joomla ´s module manager when you search a word to find a module the field note is used in this search. It´s very usefull when you uses a module title (that it´s displayed in the public web view) and you need to tag the module internaly.

    This field it´s not considered in searchs in “Associaton manager”. Is there any way to add this field in searchs or display this value in a new column (before title)?

    Thanks

    Thanh Nguyen Viet Friend
    #521219

    Hello @azurdo,

    To add this field into result table in “Association Manager” page, please open the file
    administrator/components/com_jalang/helpers/content/adapters/modules.php

    Then find the following code snippet:
    [PHP]public function getDisplayFields()
    {
    return array(
    ‘a.id’ => JText::_(‘JGRID_HEADING_ID’),
    ‘a.title’ => JText::_(‘JGLOBAL_TITLE’),
    ‘a.module’ => JText::_(‘MODULE’)
    );
    }[/PHP]

    And replace it with this one:
    [PHP]public function getDisplayFields()
    {
    return array(
    ‘a.id’ => JText::_(‘JGRID_HEADING_ID’),
    ‘a.title’ => JText::_(‘JGLOBAL_TITLE’),
    ‘a.module’ => JText::_(‘MODULE’),
    ‘a.note’ => JText::_(‘Note’)
    );
    }[/PHP]

    azurdo Friend
    #521258

    Perfect thanks Dead Code !!

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  azurdo 10 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum