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.

Setting Up The Blog

January 18, 2012 2:05am

Subscribe [2]
  • #1 / Jan 18, 2012 2:05am

    nyc

    66 posts

    I would like to set the blog up at site.com/blog so I would create the template group “blog” and then use the index file to display summaries, but if I create another template in the “blog” template group and i name the new template “entry” my url would be site.com/blog/entry/entry-title-here.. is there any way to have site.com/blog/entry-title-here instead?

  • #2 / Jan 18, 2012 12:07pm

    e-man

    1816 posts

    You can use the same template for a summary or a single entry article by using “entry-title-here” as a url segment variable then using a conditional to test for it being there (or not) and outputting accordingly.

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

ExpressionEngine News!

#eecms, #events, #releases