Customizing display of single post on homepage

Last post 08-18-2008 6:54 AM by crazeegeekchick. 2 replies.
Page 1 of 1 (3 items)
  • Customizing display of single post on homepage

    08-15-2008 12:04 PM

    Dear Graffiti Superstars,
    I'm currently trying to customize the display of a single uncategorized post on the homepage.  I know the index.view controls the post list formatting used for the homepage list of posts as well as post lists generated by search and tags.  I also know that I can create a custom view to control the display of a single post when it's rendered.  The problem I'm having is figuring out how to customize the homepage content formatting without affecting the other post lists generated by search and tags.  I must be missing something in Graffiti that allows for this type of thing.

     Can someone point me in the right direction?

     Thanks,
    Jimmy Miller

  • Re: Customizing display of single post on homepage

    08-17-2008 9:02 PM
    #if($postid == "yourpostidnumber") class="specialpost" #end
    Never tried, but i guess it should be something like that.
  • Re: Customizing display of single post on homepage

    08-18-2008 6:54 AM

     I believe you're looking to make a Home.Layout.view.  There is more information here:  http://graffiticms.com/support/advanced-options/view-files/

     

    Enjoy!

     

     

    Crazeegeekchick.com


Page 1 of 1 (3 items)