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.

Custom Category Fields Question: What Are They For?

September 27, 2007 1:12am

Subscribe [5]
  • #16 / Oct 12, 2007 8:12pm

    Afro Boy

    20 posts

    I use custom category fields a little differently. Many of my sites require some pretty heavy hierarchical menu lifting to be done. I built the hierarchy using the categories.

    Some categories or pages on the site then need to use different templates when displayed. I put a “template” field in the category and use this to point to the appropriate template.

    HOME
    - NEWS   (Uses the “news” weblog, and the “/news” template to display)
    - ABOUT US (Uses the “static-page” weblog, and the “/page” template to display)

    So here I would put the weblog and template names in CFFs. Then I have a custom plugin which generates my menu and creates all the appropriate URLs.

    You can do all sorts of crazy stuff with this!

    Cheers,
    Af.

  • #17 / Oct 12, 2007 8:31pm

    Sue Crocker

    26054 posts

    Afro Boy - sounds interesting. You might want to expand on what you’re doing in the HowTo section, or in the wiki. 😊

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

ExpressionEngine News!

#eecms, #events, #releases