osCmax v2.5 User Manual
Results 1 to 3 of 3

html template

This is a discussion on html template within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; hi is html template the preferred method for templating oscmax 2.5?, is it the best way to learn? thanks...

      
  1. #1
    Active Member
    Join Date
    Nov 2009
    Posts
    157
    Rep Power
    3


    Default html template

    hi

    is html template the preferred method for templating oscmax 2.5?, is it the best way to learn?

    thanks

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: html template

    OY!

    1) go to catalog/templates and make a copy of the fallback directory to a directory you want (say "mytemplate")
    2) Then go into that directory and start looking at the code.

    http://wiki.oscdox.com/v2.5/install_a_new_template

    Now BTS is a strange beast, but it is mostly HTML with if-then-else branches. Take the time to read and understand main_page.tpl.php, then you can see how it calls the pages from the content structure.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    osCMax Developer

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


    Default Re: html template

    I think he is referencing the HTML tag system I added (see fallback-html).

    It is a bit more modular in that you can use any css and markup as your framework, and you just drop in the pre-defined {tags} wherever you want the osCmax php elements to go.

    To answer the question, neither is preferred over the other, it all depends on what you are comfortable with. I love the tag system as it really cleans up the templates and you can more easily see what is going on big picture. If you crave more control, you can modify the tag code to change what the tags do, create new tags, etc.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

Similar Threads

  1. osCMax HTML template system for BTS
    By michael_s in forum osCMax v2 Features Discussion
    Replies: 13
    Last Post: 11-26-2010, 11:15 PM
  2. Bug Fix: Compromise HTML template for thumbnails
    By ridexbuilder in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 11-26-2009, 08:21 AM
  3. instructions on how to use the html template system for the BTS
    By silverping in forum osCmax v2 Customization/Mods
    Replies: 13
    Last Post: 11-01-2009, 02:33 PM
  4. bts template system with html template
    By silverping in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 10-08-2009, 09:12 AM
  5. HTML template (and system) for the BTS
    By paulM in forum osCmax v2 Customization/Mods
    Replies: 17
    Last Post: 11-24-2005, 11:24 AM

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
  •