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

Create osCmax Template From Scratch

This is a discussion on Create osCmax Template From Scratch within the Introduce yourself! forums, part of the Community category; Hi, Im just about to install a fresh version of osc max, but im having trouble creating my own template ...

      
  1. #1
    Lurker
    Join Date
    Sep 2008
    Posts
    4
    Rep Power
    0


    Default Create osCmax Template From Scratch

    Hi,


    Im just about to install a fresh version of osc max, but im having trouble creating my own template from scratch.


    Is there a way i can design the template in photoshop and then convert it to a template.

    Or is there any other relevant way in which i cant create a template from scratch.



    Hope someone can help

    THANKS ! ! ! !

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,659
    Rep Power
    49


    Smile Re: Create osCmax Template From Scratch

    Firstly - welcome!

    Look here for the BTS instructions

    The best way to create a template is using a HTML editor such as dreamweaver ... basically the template is simply a table with a load of php includes in it which pull in the different bits of code. I found it easiest to start with the fallback template - copy to new folder and then edit to suit your requriements. Pretty much anything is possible on the design side ...

    Best of luck with your new store.

    pgmarshall

  3. #3
    Lurker
    Join Date
    Sep 2008
    Posts
    4
    Rep Power
    0


    Default Re: Create osCmax Template From Scratch

    Hi,

    Thank you and thanks for the reply.

    Just to clarify, am i editing all of the files,( the stylesheet and php files etc) or is there one file that i can open in dreamweaver and it controls the entire look of the template

    thanks

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,659
    Rep Power
    49


    Default Re: Create osCmax Template From Scratch

    main_page.tpl.php is in effect the master document - where you can build the framework for your site. If you open in Dreamweaver you should see a table with a load of php tags in it. Best to look at the source rather than simple copy and paste in design mode.

    Each of the individual pages then has a template which can be editted if you want to change things more than just the site layout. The originals are in catalog/templates/fallback/content but if you edit these you should copy them and move them to catalog/templates/<yourtemplate>/content.

    The stylesheet controls most aspects of the colours, fonts, sizes, alignment, backgrounds, etc.

    Hope this helps,
    pgmarshall
    _______________________________

  5. #5
    Lurker
    Join Date
    Sep 2008
    Posts
    4
    Rep Power
    0


    Default Re: Create osCmax Template From Scratch

    Yes this does help

    Will give this a try just now!

    Thanks again

  6. #6
    Lurker
    Join Date
    Sep 2008
    Posts
    4
    Rep Power
    0


    Default Re: Create osCmax Template From Scratch

    Hi,

    I think im getting it now thanks,

    Just to clarify - see if im wanting to set a fixed width etc. and edit the structurs of the site - add buttons on the links etc will this be done through main_page.tpl.php


    Thanks.

  7. #7
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,659
    Rep Power
    49


    Default Re: Create osCmax Template From Scratch

    Width is set in main_page.tpl.php ... look for the first table in the html bit - somewhere near

    Code:
    <!-- header //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    Buttons are all stored in the same place ...

    catalog/includes/languages/english/images/buttons - there is a good online button maker here - although if you are not using a white background you will need to edit to do the transparency.

    Good luck with your site,
    pgmarshall
    _______________________________

Similar Threads

  1. oscommerce installation from scratch
    By bokachoda in forum osCommerce 2.2 Installation Help
    Replies: 20
    Last Post: 03-13-2009, 12:08 PM
  2. How to remove scratch price from special products
    By padma in forum osCMax v1.7 General Mods Discussion
    Replies: 4
    Last Post: 02-10-2009, 07:40 AM
  3. Create image box in a pre-made template?
    By Foax_19 in forum osCommerce 2.2 Modification Help
    Replies: 5
    Last Post: 12-27-2006, 01:48 PM
  4. Create new pages based on template
    By treb in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 08-01-2005, 03:07 AM
  5. osCommerce MS2Max from scratch - Urgent help needed!
    By pram0310 in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 12-02-2004, 06:22 AM

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
  •