ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

how to get ride of style nested category archieve

June 15, 2010 6:33pm

Subscribe [4]
  • #1 / Jun 15, 2010 6:33pm

    FCCi

    4 posts

    I’m trying to either get rid of the nested ul that forms around the entry title else be able to style it. I tried to use style=linear but that just gets rid of the ul code I end up hard coding in.

    {exp:weblog:category_archive weblog="{my_weblog}" class="documents" show="61|62|63|64|65|66|67"}
           
    {categories}{category_name}{/categories}
    
    {entry_titles}
    {title}
    {/entry_titles}
    
    {/exp:weblog:category_archive}
  • #2 / Jun 15, 2010 7:17pm

    Brandon Jones

    5500 posts

    HI FCCi,

    The only two style options are indeed “linear” or “nested”. You should be able to style a nested list as necessary, though that’s more of a post for the HTML, CSS, and Design Help forum - what exactly are you trying to achieve?

  • #3 / Jun 17, 2010 2:26pm

    FCCi

    4 posts

    I’m trying to list specific categories and then list the entries under each category kind of like a blog.

  • #4 / Jun 17, 2010 4:06pm

    Ingmar

    29245 posts

    What version and build of EE are you using? Do you’ve got a link to one such site? If everything else fails you could, of course, use a custom SQL query.

  • #5 / Aug 02, 2010 3:36am

    rgbink

    63 posts

    style=“linear” would do it. So for your code it would be:

    {exp:weblog:category_archive weblog="{my_weblog}" class="documents" show="61|62|63|64|65|66|67" style="linear"}
           
    {categories}{category_name}{/categories}
    
    {entry_titles}
    {title}
    {/entry_titles}
    
    {/exp:weblog:category_archive}
  • #6 / Aug 02, 2010 3:44am

    John Henry Donovan

    12339 posts

    dashard,

    thanks for your example

    A popular Wiki article may also help. Each method require some nesting though so be aware as this may affect performance.

    EE Wiki : Category Archives with Custom Fields

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases