Page 1 of 1

HOWTO display summary in news admin list news

Posted: Tue Jun 05, 2007 11:33 am
by mox
Hi there,
sometime I need a view, in the admin list of News, of the summary data, because is possible have many title equal and the only data make the difference is the summary.
Ok, let's go

from your ftp:
open /modules/News/templates/articlelist.tpl and add between the 9 and 10 line:
{$summarytext}
and add between 20 and 21 line:
{$entry->summary}
save and close; than
open /modules/News/action.defaultadmin.php and add between 91 and 92 line:
$onerow->summary = $row['summary'];
and add between 113 and 114 line:
$this->smarty->assign('summarytext', $this->Lang('summary'));
save and close

Now you have the summary column in your admin news list view

byx
MoX
;)

Re: HOWTO display summary in news admin list news

Posted: Tue Jun 05, 2007 12:06 pm
by cyberman
Thanx for that ...

Re: HOWTO display summary in news admin list news

Posted: Wed Jun 06, 2007 8:02 am
by mox
and..
in the dev I wish ask if is possible to implement an option for the column view, like nautilus or whichever file manager.
What do you think about that, cyberman?

byz
MoX

Re: HOWTO display summary in news admin list news

Posted: Wed Jun 06, 2007 8:18 am
by cyberman
mox wrote: is possible to implement an option for the column view, like nautilus or whichever file manager.
Not sure, what you meanĀ  ::) ...
What do you think about that
I'm "only" a supporter, not a dev - many things are possible. Maybe you should discuss your idea with devs in irc.