This is a discussion on bts mutliple template help within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Does anyone know if we can assign domiain names to templates in oscmax 2.04? Is there anything buggy about the ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Does anyone know if we can assign domiain names to templates in oscmax 2.04? Is there anything buggy about the concept of doing that? Or is this something available with 2.1? All I want to do is have 2 domains going to their own respected template folders on the same oscmax site. How would that effect the config file? The Multistore contribution looks outdated and too bulky for such a small request in 2.04 Anyone have any suggestions on the topic? thanks! bh |
|
#2
| ||||
| ||||
| A conceptual idea (and sounds too simplistic as it stands): Name the two templates the same as your domains, then when the index is called use yourstore.com/index.php?tpldir=domain-name Most likely PHP_SELF would need to be passed for the domain-name. Just a thought.
__________________ UK-based hosting plans with installation, configuration, support and maintenance. (& some ad-hoc jobs). |
|
#3
| |||
| |||
| Thanks! on a default install, would the httaccess and DIR_WS_HTTP_CATALOG be the only places where I would need to modify the index? for example turn... define('DIR_WS_HTTP_CATALOG', '/catalog/'); to define('DIR_WS_HTTP_CATALOG', '/catalog/index.php?tpldir=domain-name'); also, and is it possible to have a parked domain on a url, for example assign... http:// www .store1.com to index.php?tpldir=store1.com and... http:// www .store2.com to index.php?tpldir=store2.com thanks! Last edited by blackhawk; 01-20-2010 at 02:56 AM. |
|
#4
| |||
| |||
| I'm probably making this harder than it is. If i park a 2nd domain name onto the same site, then maybe just use php to capture what that url is, and from there change the cosmetics of how the site looks a bit such as with the stylesheet and home page content. Everything else outside of these 2 things will remain the same. Just a new landing page and stylesheet for the entire site. so maybe all i really need to do is something like this in the config... PHP Code: Last edited by blackhawk; 01-20-2010 at 03:15 AM. |
|
#5
| |||
| |||
| I got the multi store back end to work just fine. The problem I am having now is being able to switch templates between the two stores. I think that a quick fix would be to just set up the different template with a same name, but that can get confusing later so I was wondering if anyone had a solution. |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| template help, please | ciscoeuk | osCMax v2 Customization/Mods | 7 | 01-17-2010 11:02 AM |
| bts template system with html template | silverping | osCMax v2 Customization/Mods | 1 | 10-08-2009 09:12 AM |
| BTS Template Tutorial, Examples, converting osC template to BTS | michael_s | osCMax v2 Features Discussion | 15 | 06-07-2009 03:12 PM |
| new web 2.0 template | michael_s | New osCommerce Contributions | 0 | 04-10-2009 09:00 AM |
| TEMPLATE INSTALL ISSUE --> Illegal Template Directory | ashelleydesign | osCMax v2 Installation issues | 4 | 02-02-2007 05:59 AM |