snubbr.com

How do you turn on the Verisign SSL security feature.?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
First question I got is How do you turn on the Verisign SSL security feature.? Hoping for any response. Second question.. Hi folks,.

I'm trying to figure out a way to have two completely different color schemes in the same install. Probably the easiest way I am thinking is to have two main categories, and everything else a sub-category / sub-product of the two main ones. Then have one color scheme for each category tree..

What I'm trying to accomplish is have two distinct feels to the store...one for the higher end custom work, and another for the more commonly available, always in stock stuff. I'd like to use the same checkout and existing infrastructure though..

Would this be a difficult hack? Been searching the forum and I'm coming up with nothing..

TYIA for your help!.

This post has been edited by.

Apriorius.

: 16 December 2008, 04:05..

Comments (68)

Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some poking around and get back to you if I bump into an decent answer. You should email the people at Verisign as they probably could give you an answer..

Comment #1

Wow, that's definitely thinking out of the box...I like it. Did it turn out to be functional on the Verisign site you're building? I don't have great code skills, so that code is a bit above my head, but a good buddy knows more about php and should be able to help me out with it. I tend to break stuff if I try ninja stuff like that..

Comment #2

Yep, turned out pretty good so far. The only thing left for me is to figure out how to do the same for the product pages. I guess I need some extra sql queries in there to find out where the product came from (food or wines category) or else just use a default look for all products either way is good...

Comment #3

Oh...hmm, that would be a problem for me since I need the product pages to have color schemes which conform to the master catagory...

Comment #4

Ya but it's not rocket science, it shouldn't take long to fix that..

Comment #5

OK, a buddy of mine helped figure this out. Put this in the index and product_info:.

<?php.

If(isset($cPath) && (strncmp($cPath_array[0], "133", 3) == 0)) { ?>.

<link rel="stylesheet" type="text/css" href="stylesheet_dev2.css">.

<?php } else {.

?> <link rel="stylesheet" type="text/css" href="stylesheet.css">.

<?php }>.

Just replace the "133" with whatever the cpath is for the category. Then replace the '<link_rel="stylesheet" line with that chunk of code. Finally, copy your current stylesheet and make it "stylesheet_dev2.css" in the root cat dir. All sub cats and products will ref the new css..

This post has been edited by.

Apriorius.

: 28 December 2008, 17:00..

Comment #6

Hi folks,.

I'm trying to figure out a way to have two completely different color schemes in the same install. Probably the easiest way I am thinking is to have two main categories, and everything else a sub-category / sub-product of the two main ones. Then have one color scheme for each category tree..

What I'm trying to accomplish is have two distinct feels to the store...one for the higher end custom work, and another for the more commonly available, always in stock stuff. I'd like to use the same checkout and existing infrastructure though..

Would this be a difficult hack? Been searching the forum and I'm coming up with nothing..

TYIA for your help!.

This post has been edited by.

Apriorius.

: 16 December 2008, 04:05..

Comment #7

I've done something similar for another project I'm working on..

I have 2 categories at the moment: food and wine.

The food cat has a blue theme to it and the wines is red..

I decided that the easiest way would be to check the url for the names food or wine (i'm using seo url's).

So the first step was to put this in the includes/application_top.php file:.

$myurl = ltrim($_SERVER['REQUEST_URI'], '/');.

So I could then use some regex in my files like this for example in index.php in the <head> section to change the css based on the category we're in..

$regexp = "/food/";.

$regexp2 = "/wines/";.

If (preg_match($regexp, $myurl)) {.

<style type="text/css">.

Style 1 info here....

</style>.

}else if (preg_match($regexp2, $myurl)){.

<style type="text/css">.

Style 2 info here....

</style>.

}else{.

<style type="text/css">.

Style 3 info here....

</style>.

}.

If anyone has a better way to do this let me know...

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.