Jump to content

Recommended Posts

Posted

It's a funny topic title I know - nothing implied by it ;-)

But I was reading about Joss's foundation site profile AND soma's Delegate approuch for templates.

Since I liked both, I ended up mixing it. And it's been fun so far.

The foundation profile is simple and understandable, but I did remove the orbit - just don't like slide shows...

The way from Soma is basically 1 template file: main.php - where I placed the code (from soma).

In the back-end I just created the templates (without file) I need for different views.

On the server I then created the view folder with .php files.

And upon creating a page I select the back-end template (without file).

And use alternate name in back-end template e.g. main (without .php)

The code then looks up the .php file in the view folder.

Once I did it like this, I can see much more possibilities, navigation becomes more easy (in depth), and relationships between pages and fields is more easy this way.

So thank you both!

Posted

I have a younger bro? I knew I should have paid more attention to my family. (Particularly the Swiss bit)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...