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.

Segment variables for static pages

June 21, 2007 5:16pm

Subscribe [0]
  • #1 / Jun 21, 2007 5:16pm

    textdriven

    107 posts

    I usually like to use this code in the body tag for custom styling and nav highlighting on certain sections, but with a page made but the pages module nothing gets output in the segment.

    <body id="mysite-com" class="{segment_2}">
  • #2 / Jun 21, 2007 5:27pm

    textdriven

    107 posts

    Ignore me i’m being an idiot. It works when I put the right number segment in

    😝

  • #3 / Jan 10, 2008 3:09pm

    Daniel Walton

    553 posts

    lol, think I just ran into the same confusion… and it took this thread to jog my memory :D

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

ExpressionEngine News!

#eecms, #events, #releases