Sackgesicht VIP
Total posts: 1,636
30 Jul 2013 04:56

How can i bring back a section, after setting the status to "trashed" or "archived, without using a tool like phpMyAdmin and setting the column "published" to "0" or "1"?

Is there any special feature for these 2 options?

Last Modified: 02 Mar 2014


Xtream VIP
Total posts: 129
30 Jul 2013 05:36

/administrator/components/com_cobalt/views/sections/view.html.php

line 59-63 should be

JSubMenuHelper::addFilter(JText::_('JOPTION_SELECT_PUBLISHED'), 'filter_published', JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array(

        'trash' => 1,

        'archived' => 1,

        'all' => 1

        )), 'value', 'text', $this->state->get('filter.state'), true));

and now in section you can filter by all status types.


Sergey
Total posts: 13,748
31 Jul 2013 01:08

I just deleted Trash and archive from form element. There are only 2 statuses published and unpublished.

Powered by Cobalt