Recent Topics

[1.10.x] How to show all the authors postings on frontpage

Started by on Feb 05, 2008 – Contents updated: Feb 05, 2008

Feb 05, 2008 17:02    

My b2evolution Version: 1.10.x

Hi Sir

I am new to b2evolution. I hope to run a multi-author site using b2evolution. I hope to display all the author postings on the frontpage, together with the author names below the title. I saw some sites have done this using b2evolution, eg [url=][/url].

Can I know how to do it?

Feb 08, 2008 21:08

Hi angsikod,

You simply put this code in /skins/YOURSKIN/index.main.php (in some skins it's posts.main.php) where you want the author name to appear:


      'before'       => T_('By'),
      'after'        => ' ',
    ) );

So in the file you see something like this:


<h1 class="evo_post_title"><?php $Item->title(); ?></h1>
    <div class="evo_post_head">
                'text' => '#icon#',
            ) );
                'before'      => ' ',
                'after'       => ' ',
                'date_format' => '#',
            ) );
                'time_format' => 'H:i',
            ) );

and your $Item->author thing goes somewhere before or in between two other topics.

Form is loading...

Community software – This forum is powered by b2evolution CMS, a complete engine for your website.