I would like to know the answer too. Anyone here know what is the right answer. I'll do some poking around and get back to you if I discover an useful answer. You should email the people at iPage as they probably could give you an answer..
Fully agree with richard..
The BTS is a template.
: Brenden separated most output code from other code for you to separate files. It's still all about PHP..
The STS is a template.
: Brian buffered the osC output (code unchanged as much as possible I suppose) so you can easyly create an html template to alter the main looks of your shop. Since it's an html template you can't use PHP code in it..
(correct me if I'm wrong, never installed or used it myself, only took a quick look at the code once).
Since there are a lot of threads already you can try a google iPage site search for STS and BTS (or try the board search if you like it better.
Ok thank you guys and also Mike Spires who has helped a lot as well through a PM chat..
I think with what you mentioned and also trying it out myself.
I have a much better understanding of BTS..
I like the functionality of being able to switch look and feels on the fly I think that is groovy, and then being able to turn that off in the admin. One down side though, I think there should be 2 levels to the turning off.eg, first level turns off the grey-header switching but leaves the URL switchng by hard-coded URL (ie...http://www.myurl.com/index.php/OneTable-fluid would still switch) - this way the designer can be playing around while the visitors don't realise there are other templates (ie, the grey box)...and lastly turning off both options together....
This may be possible so I apologise in advanced if it is, just in my quick "muck around" I couldn't see anyway of doing the above..
My summary from what I have learnt (or think I have learnt which may turn out to be wrong.
) from all your posts and Mike's PMs and playibng around is that you can use BTS to fairly easily modify the look and feel of info-boxes through the individual boxes files ( stored in /templates/template_name/boxes ). Also you can easily modify the look and feel of the content section of different pages (this content section I refer to for the typical OSC can be found below the header and between the two columns - it is the section that general changes between page to page...yes?). This content section can be modified on a page by page basis using the files found in /templates/template_name/content. There is also a /templates/template_name/images directory...I haven't really looked at that to work out what happens there. Anyone care to share?.
So basically to differentiate BTS to STS, STS is more about the layout of the page, a box here, a box there, where STS is about customising the look and feel of the content of the page (in the broader sense than just the content area as mentioned above)..
What I am yet to understand howover is whether BTS can also do what STS does (as mentioned in paragraph above). If so, I haven't yet found out how. I am fairly sure it would be possible as BTS seems fairly powerful (I like). However I must admit I like the way STS does it with a simple HTML page that has $tags as place holders for different fields/boxes and you can visually see the layout change (not not look and feel change) as you make it with the page template (ndex.php.html etc)..
What would be great is being able to combine the powers of both.
Anyway please let me know if I am on track, and if I am off-track with some parts as I would love to get a better understanding, and other readers may find it interesting too..at least I hope..
Hoe my ramblings made sense, and forgive me if I am totally wrong - 1am here and I can't be bothered re-reading to fix typos and other mistakes up!.
This post has been edited by.
: 29 April 2004, 14:35..
Most of what you say sounds correct to me..
De grey header was added later that's why it does not have a separate admin switch while maybe it should..
But anyway I don't see the problem:.
1) url switching off in admin: no menu, no not poss to add templatename to url.
2) url switching on: menu + poss. to add to url.
3) url switching on but removed menu: only switch through url (all templates available but "secret").
And there is a possibility to use the menu together with hidden templates by starting the templatedirname with an underscore: "_my_secret_template_dir".
The menu itself uses the url switching, so currently it's no use to have the menu but without url switching set to on in admin (if that is what you were looking for?)..
The images dir is there in case you want to switch (design/layout) images together with your template. This way the template becomes portable, and better organized t.m.h.o...
The BTS does not have a $tags and html template if that's what you ment. Other than that the limitations mainly are your PHP and osC knowledge (and your fantasy.
). Nevertheless the BTS could be improved to make some things easyer (only waiting for a programmer with a lot of spare time to do it.
Thanks Paul for the further clarification..
I have set all the template directories to hidden "prepend each individual template dir name with _" and left template switching to ON in the admin, however the grey bar still appears - even though there are no templates to switch being displayed on it. I then tried turning template switching OFF in the admin and sure enough the grey bar vanished, but even passing the template name (tried with the "_" and without the "_") doesn't work now..
Would I have to modifiy the common_top_bts.php file to make the grey bar not show when there are 0 NON-hidden templates and then I could leve URL switching to in the admin and then the grey bar wouldn't appear? or am I missing something totally?? It wouldn't surprise me!!.
Also (using BTS) I am not sure where is it defined on a page-by-page basis (or globally??) what info boxes are to be displayed, and where they are to be located on the page (top left, bottom right etc, etc)..
Also what is main_page.tpl.php used for?.
Thanks again for all your assistance!!..
And try to find and read this:.
There is one file which is the main (or global) template. And there are separate files for the "content area" for each page. And there is one (or more, whatever you like) boxes template..
Sorry but, for details you really should read all incuded docs or ask at the support thread (if you think it really isn't in the docs or thread already)..
About the placement of the boxes, as I said it's a structure not a system so there aren't any settings for that. Use PHP to include the columns and/or separate boxes and use HTML to determin where and how they appear...
Thanks Paul, I think I got MOST (by no means all) of it worked out now (at least for the moment.
) - nothing like a good headbang and play around to solve problems...
I have installed the STS and have been using it (playing around) to design layouts for different pages, and find it very useful for placing different info boxes in different locations. That is basically all STS does, isn't it?.
My main question is does BTS cover the same ground (do the same things as STS plus more or possible less) or is BTS a totally different and independent beast that can be used (if desired) side by side of STS...I have read the contribution details of it and couldn't work it out. I am not 100% sure of what functionality BTS offers..
You need to choose one or the other..
Simply put they do the same job but BTS is probably more powerful than STS.
BTS makes alot more changes to your files so that adding other contributions is more difficult..
STS seems to interfere a lot less with the installation of other contributions..
A simplification but it pretty much holds true...