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.

How to create one header file, custom modules etc.

July 02, 2010 2:24am

Subscribe [2]
  • #1 / Jul 02, 2010 2:24am

    Ki

    58 posts

    I am an experienced CI user but newbie to EE. I really liked CI for its flexibility.

    My main question about EE are:
    1) If all the pages of new website have the same header, can I create one file and include it in all pages? Is there doc on how to do that?

    2) What about custom modules that do certain operations? For example, I want to get data out of database, do certain operation with it in PHP, then based on the output display something (In CI it would be like if($var==1) $this->load->view(‘1’) else $this->load->view(‘2’) )

    Thanks to anybody who can share their experience with customizing EE

    Ki

  • #2 / Jul 02, 2010 5:10am

    Ingmar

    29245 posts

    1) If all the pages of new website have the same header, can I create one file and include it in all pages? Is there doc on how to do that?

    You can certainly embed sub-templates within your templates. That said, you seem to be hooked on the idea of a page-based CMS. EE is not, it’s article based.

    2) What about custom modules that do certain operations?

    The sky’s the limit 😊 Take a look at the docs.

    You can also use a bit of PHP / CI in your templates, or whip up a quick plugin.

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

ExpressionEngine News!

#eecms, #events, #releases