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.

weblogs by category

March 03, 2011 12:32pm

Subscribe [2]
  • #1 / Mar 03, 2011 12:32pm

    haweb

    2 posts

    Hi Guys,
    The below code works fine but how do I apply the category using {segment_1}? i.e. I tried category=”{segment_1}” and category_name=”{segment_1}” and category_id=”{segment_1}” but no joy. I want segment_1 in the url (same name as category name) to call the relevant menu. Category 12 in this case is called “priority-projects”
    and needs to appear on mysite.com/index.php/priority-projects/

    THANKS!!!

    {exp:weblog:entries weblog="projects"  category="12" dynamic="off"}
    
    
    <li><a href="http://{title_permalink=">{title}..</a></li>
    
    
    {/exp:weblog:entries}
  • #2 / Mar 04, 2011 3:49am

    John Henry Donovan

    12339 posts

    EEDude,

    Take a look at Low Seg2Cat which should help you out

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

ExpressionEngine News!

#eecms, #events, #releases