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

Different category templates?

This is a discussion on Different category templates? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi everyone! First of all - osCDox is great!! Very happy to have found it! Now to my question: How ...

      
  1. #1
    New Member
    Join Date
    Mar 2006
    Posts
    6
    Rep Power
    0


    Default Different category templates?

    Hi everyone!

    First of all - osCDox is great!! Very happy to have found it!

    Now to my question: How can I have different templates for different categories? What I would like to have is one for each..startpage, categories, info and article pages...Is this possible somehow? Or atleast have different startpage and the rest..

    I tried to also look in the oscommerce forum but I do not have a clue on where to search..Anyone know where this template system(I assume BTS with STS) is discussed?

    Thankful for any help or tips about this issue!

    / Gnolen

  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: Different category templates?

    1) BTS is one template system
    2) STS is another template system

    oscMAX uses BTS (the better one in my never so humble opinion)

    where I would look to make the change is in application_top.php and the change would be to set up 2 arrays, one with the pages/sections and another with the template directory for that page/section so that $pagearry[2] and $pagetemplate[2] were properly matched. Then some code would do a check to see what page is being offered and then based on the page would load the proper template directory.
    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
    New Member
    Join Date
    Mar 2006
    Posts
    6
    Rep Power
    0


    Default RE: Different category templates?

    Thanks met00,

    I know that the STS and BTS is different..But there is a BTS with some STS twists in it that I thought oscMAX used.

    Do you know if there is a extension for this out there somewhere? I am surprised that there is not a extension for this I have to say!

    Greeting / Gnolen

  4. #4
    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: Different category templates?

    i have no idea where it would be. as a designerer I try to create a common look and feel and flow to the store, so that it doesn't jar the users experience, but that's just me. We all design what we like and not everyone likes the same thing. That said, my proposed kluge is about 8-10 lines of php (since it's for one store, just hardcode it initially, then if you have time, write a admin piece and pull it from the tables).
    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

  5. #5
    osCMax Developer

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


    Default RE: Different category templates?

    Read this, it may be what you are looking for :
    http://oscdox.com/index.php?name=PNp...hlight=sts+bts
    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. Can we get some Templates?
    By driwashsolutions in forum osCmax v2 Customization/Mods
    Replies: 5
    Last Post: 12-17-2006, 05:54 PM
  2. Adding Category Descriptions in Category List for each Cat.
    By el1jones in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-15-2006, 12:37 AM
  3. templates
    By jcomputers in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 01-29-2006, 11:21 AM
  4. Category and subcategory access from templates
    By pfisher in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 12-20-2003, 11:06 AM
  5. New category does not create new category folder
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 02-23-2003, 11:52 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
  •