HOWTO display summary in news admin list news

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

HOWTO display summary in news admin list news

Post 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
;)
cyberman

Re: HOWTO display summary in news admin list news

Post by cyberman »

Thanx for that ...
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: HOWTO display summary in news admin list news

Post 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
cyberman

Re: HOWTO display summary in news admin list news

Post 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.
Post Reply

Return to “Tips and Tricks”