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