Deep's avatar
shared this idea 2 years ago
idea

CSS layout options while deploying

You can add option of the CSS based layout, 3 column, 2 column etc.. and also include the common elements in header.php footer.php etc.. it will be really cool if you can do that.. it's there on http://csscreator.com/tools/layout

This is inappropriate

4 other people like this idea.

Login to reply


Oscar Godson

Those are both features I want to get into either 1.4 or 1.5. I think that really will help a lot of people and make Deploy* a lot more powerful. A couple notes/questions though from my end to you:


1. I'm not going to put a CSS layout generator in any version of 1.x (very possibly in 2.0 though), but I will put in a set of CSS templates with prewritten HTML+CSS. Any specific ones you had in mind?


2. For the includes you are talking about, do you think they should be blank, or include, for example, the header.php which would have the head of the document up to and including the tag and the footer which includes and then the index.php file would have php includes set for the header, footer and nav?


Hope to hear back from you!
excited I'm excited
Inappropriate?
Deep

Hi,



What I personally do for my work is, I create a folder called samples, which has all common JS files, custom built JS UI files (incl. CSS).



I have created folders like this:



No sidebars


2 Column - Left


2 Column - Right


3 Column



Each of them has following structure:



css - main.css, reset.css, jquery.ui.css


images - blank


includes - header.php, footer.php (header and footer's HTML code)


scripts - jquery.js, jquery.ui.js (custom built) and README.UI.txt (it has details of all the included plugins / effects etc..)



and in the root, there is index.php with header.php and footer.php included.



Regarding the layout generator, Yes, for now, I don't think it is required as I personally feel, first all the basic deployment files should be in proper place.



I hope it helps.



Regards,


Deep



P.S. - Do let me know if you want samples of these files from my side.
excited I'm excited
Inappropriate?

Yeah, I would love to see a sample of a empty web site project framework you have when you get time as I am going to be working on 1.4 this weekend. send it to info(at)projectdeploy(dot)org
Deep

I have just emailed you the files...
Inappropriate?
Oscar Godson

As of the private beta of 1.4 this feature has been implemented! If you want to test out this feature (which also works with the DPF [Deploy* Project Framwork]) and includes feature you can email me at info at projectdeploy dot org or wait until the official public beta!
excited I'm excited
Inappropriate?

Login to reply