Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
Like Tree1Likes

BTS Template Tutorial, Examples, converting osC template to BTS

This is a discussion on BTS Template Tutorial, Examples, converting osC template to BTS within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; same here trying to figure out what all this means I believe its time to take some php classes to ...

      
  1. #11
    Lurker
    Join Date
    May 2009
    Posts
    3
    Rep Power
    0


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    same here trying to figure out what all this means I believe its time to take some php classes to understand all this

    I read it 3 times already i cannot see how i import my own design layout to work with oscmax i must read it till i understand it fully.

  2. #12
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    If you can wait about a week, all this becomes overkill for all but the hardcore developer. I have been adapting a html template mod for bts which is much easier. It is a simple tag system that works with BTS. You take your design and just drop in tags where you want the osCMax stuff to show up.

    Here is an example template (not finished - some formatting problems still need to be worked out). It took me about 10 minutes to take a free CSS template I found through google and convert to display all oscmax elements. All I did was edit the html template in dreamweaver and drop in the {tags} where I wanted the osCMax elements to show up. Super easy! This is what everyone has been wanting I think.

    test oscmax :

    The design of the above test site is not really important, as the new system will allow you to quickly adapt any html page to be osCMax compatible by adding in simple tags and putting the file in a template directory.

    I will post an update here when I have it packaged up.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #13
    Lurker
    Join Date
    May 2009
    Posts
    3
    Rep Power
    0


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    Thank you very much, I will be fiddling with the files meanwhile each time learning more about how Oscmax works. Thanks alot

  4. #14
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    Quote Originally Posted by heezay View Post
    Wow I must be a noob aswel. Reading through this got me soooooo confused of course I thinks it because I dont understand it fully yet. Header title states change html to oscmax. Now I cant really create a html webpage with php files in them, they dont show up. How do you guys create a html webpage with these files and location and design in mind? Also you are referring to alot of codes which I am unsure of, is there a demo file that you have used that we use for this tutorial?? Sorry but tried with my own but got lost with all the different codes just a few lines down???? Can you guys give me the file that has been used here with all the corresponding codes? I'll try it again. All of its going right over my head right now. Aint got a clue. But I wana keep trying. Am not to bad with customizing the standard osc format codes. But these phew!! I need help.
    You need to understand the differnce of an HTML files and PHP files - there are not the same! HTML file with php code - a browser has no idea what PHP code is. However a PHP FILE is interpreted first by the server and is process entirely by the server, however when (within it's logic) sees HTML code - it will pass that as HTML code - "stripping" out the PHP code and logic.

    What the BTS or basic Templating System does - is takes MOST of the embedded HTML code from ALL the major PHP files and put them in one place (with minimal php code in it) for easier editing (like with a WYSIWYG editor). With PHP logic it can be confusing with HTML editors - as they are not a programmer tool that works with PHP (or java or Flash or javascript or .NET etc...) code.

    To create a HTML file to work with PHP files - you have to hard code links in the HTML (like normal) to the relevant files (http://www.your site.com/catalog/contact_us.php or http://www.your site.com/catalog/Some_Products-c-48.html , http://www.your site.com/catalog/index.php?cat=4 etc...) but removing any session data ie: /index.php?cat=4%20osCsid=zome2c058nvuqof02b6plpzqo 65 .


    For the MOST part the osc and osCMax format 'codes' are the same - just alot is moved to the template directories and the header/index/footer is now one page.

    Demo site is below - but feel free to install a WAMP or LAMP and try it out for your self.
    Last edited by jpf; 06-01-2009 at 08:45 AM. Reason: Added [noparse]
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #15
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    I just posted the HTML template package. Get it here:
    osCMax HTML template system for BTS
    Last edited by michael_s; 06-08-2009 at 08:40 AM. Reason: fixed link
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #16
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    Quote Originally Posted by michael_s View Post
    I just posted the HTML template package. Get it here:
    http://www.oscmax.com/forums/oscmax-...system-bts.htm
    Did you mean to put: osCMax HTML template system for BTS ?
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  7. #17
    Active Member
    Join Date
    Nov 2002
    Location
    Sydney
    Posts
    239
    Rep Power
    10


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    Hi Michael,

    It is tremendous you have done all that to explain the conversion. Oh to have your knowledge..

    I have read and reread that and whatever else I can find on the web yet still am confused.

    You know the story ' a picture tells..etc' and I was wonderinmg whether anyone who visits oscmax and of course has the time, could put all that into a video tutorial so one can actually 'see' the differences and changes etc. There are quite a few on STS oscom and other progs even on YouTube however it would be great if we could get one for oscmax as it is the better package anyway.

    I guess at the very least some images to accompany the text.

    No Micheal not you,, you have given so much already, however maybe there is someone who could and would do it. I am sure it would be a very used tutoriial if available.

    I suppose if at least I could get the images, I could try and put it together but it is definately the vison part that is important for plebs like me and so many others.

    Thanks ..

    oc

  8. #18
    Member
    Join Date
    Nov 2004
    Location
    California
    Posts
    83
    Rep Power
    13


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    Anyway to make per page columns? I want to enable only a certain number of columns not all of them

  9. #19
    Lurker
    Join Date
    May 2011
    Posts
    1
    Rep Power
    0


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    Hello,

    I'm new to this forum and to oscMax. I am doing a project for a client and have finished the design and got it approved. I have read that this is much better than the standard online merchant version of osCommerce and so I am giving it a try. So now, I want to see if I can recreate the design that I already have. Hopefully I will not come across any issue. But doing sites for awhile, I doubt that's going to happen (as we are not living in an instant or perfect world.... just instant coffee and a perfect creamer to go with it).

    Instructions sound simple enough for me to understand.

    The admin section looks better and has more tools than osc. Looks like zencart.

    Crossing my fingers than I will be able to migrate the design to oscMax.

    Thanks for the great instruction!

  10. #20
    Lurker
    Join Date
    May 2011
    Posts
    1
    Rep Power
    0


    Default Re: BTS Template Tutorial, Examples, converting osC template to BTS

    I have a standard-type template and am looking for a detailed tutorial for converting it to the BTS format. The one I'm currently using is the type which you would overwrite your standard OSc files with.

    Thanks in advance.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Flame Template for BTS
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-01-2007, 10:50 AM
  2. HTML template (and system) for the BTS
    By paulM in forum osCmax v2 Customization/Mods
    Replies: 17
    Last Post: 11-24-2005, 12:24 PM
  3. BTS 1.2a Basic Template System - questions
    By stevensdesign in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 04-13-2005, 01:18 PM
  4. BTS problem with my template, help apprecaited
    By EddyXP in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 07-04-2004, 11:16 AM
  5. BTS 1.0b to 1.2a Template System Upgrade causes DB error
    By RaEMeY in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-07-2004, 02:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •