logo

Member
Member
Offline Offline
Posts: 144
This is what I hate/want to see in the theme system

Hokay, so let me explain what I dont like:

Basically, its hard to design a layout because:
there is too many separate files.

Basically this would be my ideal layout

Here be the images!
http://files.bradstutorials.com/client/brad/eocmstemplate.png

Code:

/*

Teh B3ST th3m3 5y5t3m 3v3r m4d3!!

*/

function tpl_head(){
   echo '
      <html>
      <head>
         <title></title>
      </head>
   ';
}

function tpl_upper(){
   echo '
      <body>
         <div id="container">
            <div id="header">
            
            </div>
            
            <div id="menu">
            
            </div>
      
   ';
}

// Basically between these two parts is where the main content area goes (blue)

function tpl_lower() {
   echo '
            <div id="footer">
               
            </div>
         </div>
         
         <!-- OR! -->
         <div id="footer">
               
         </div>
      </body>
   ';
}



Basically the idea is the main page elements are in the main.tpl.php file, and the sub pages, the content, are in their own template files.

Obviously you would have a sub-template for something like the panels, but what im trying to get at is that the main elements (the ones highlighted in the sexy image should all be in 1 template file to make it easier to code
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: This is what I hate/want to see in the theme system

Moved to Dev talk brad

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 144
Re: This is what I hate/want to see in the theme system

Hokay!

So, what do peeps (jake etc) think?
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: This is what I hate/want to see in the theme system

Do I come into the 'etc' part? Tongue

I think that kind of simplicity might be good but bear in mind it would have to be quite flexible to match up to (or to supercede) what's already there to allow for a more diverse range of themes. A combination of that and the system we already have as a template would be good.

Seen a bug? Report it!
Member
Member
Offline Offline
Posts: 144
Re: This is what I hate/want to see in the theme system

Well, the idea of this was to make it so you can edit 1 file, and change the whole cms, instead of changing 100's of different files.

There would then be optional sub-templates (These would be for the panels and pages Smile )
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: This is what I hate/want to see in the theme system

Well in that case yes. Having it in
lots of seperate files does make it easier to edit the template in WYSIWYG though I presume...?

Seen a bug? Report it!
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 291
haz_pwnd_u@yahoo.com
Re: This is what I hate/want to see in the theme system

I'm with you on the simplicity part Brad that is for sure, but will it still be a good theme system because it's that simple? Will it still be so versatile that you can still do like paulwratts example with the crazy text?
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: This is what I hate/want to see in the theme system

lol Nice signature Jake.

I had a few ideas for a good template, one of which centered around having the eoGlobe in the middle, with the navbar links either side.

Seen a bug? Report it!
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 291
haz_pwnd_u@yahoo.com
Re: This is what I hate/want to see in the theme system

lol Nice signature Jake.

I had a few ideas for a good template, one of which centered around having the eoGlobe in the middle, with the navbar links either side.

Thanks

Is it really the eoGlobe now?  Can it just be the globe now please?  I don't think everything we make or do requires an eo prefix. Sarcastic Smile
Last Edit: 18th September, 2009, 02:47:24 PM by Jake
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: This is what I hate/want to see in the theme system

eoOf eoCourse eoIt eoHas eoTo eoHave eoAn eo'eo' eoPrefix eoOn eoIt.

But I was thinking about something like this:
http://img199.imageshack.us/img199/4032/eoglobeidea.jpg

I apologise for it looking like that just landed there but it... did. I was making that other theme as a concept and that seemed like as good an idea to plonk it in there as any.

And leave my back alone. XD
Last Edit: 18th September, 2009, 02:53:45 PM by TGPEG

Seen a bug? Report it!

Jump to:


0.06 seconds Queries: 13