hi
is html template the preferred method for templating oscmax 2.5?, is it the best way to learn?
thanks
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...
hi
is html template the preferred method for templating oscmax 2.5?, is it the best way to learn?
thanks
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
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
Bookmarks