0
Welcome Guest! Login
0 items Join Now

Help Please!!!

  • Help Please!!!

    Posted 12 years 11 months ago
    • Hey guys,

      i have been asked to build a site and will be using the nebulae template. i have used this before with a site and the customer wants the same design which is fine.

      basically its a franchise situation where he will have the main site but wants to host other franchises websites off the same host. for example
      www.mydomain.com will be his main website
      www.mydomain.com/franchise1 will be another site
      www.mydomain.com/franchise2 will be another and so on.

      i ask this in terms of changing the top navigation bar? is this possible?
      do i have to install different databases? multisites??

      whats the easiest way to achieve this kind of thing? is it advised?

      if it is going to be a lot of work, i will try and suggest the each franchise goes for there own domain and hosting.

      looking forward to hearing from you. any help or guidance would be fantastic. and if i have confused anybody or you have questions i will answer them for sure.

      appreciate your time.

      cheers

      nick
    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Re: Help Please!!!

    Posted 12 years 11 months ago
  • Re: Help Please!!!

    Posted 12 years 11 months ago
    • Hey Ad,

      Thanks for that, seems a pretty good solution. in dummies terms the presets can basically other sites. this could work great.

      one other thing i need to consider is the top navigation, can this change between presets?

      All the franchise's will have the same navigation but the main page will be different.

      Is this possible and if so whats the easiest way to achieve a result?

      cheers

      Nick
    • Adamck's Avatar
    • Adamck
    • Elite Rocketeer
    • Posts: 546
    • Thanks: 2
    • Web Developer, IT Assistant, Graphics design, App Developer

    Re: Help Please!!!

    Posted 12 years 11 months ago
    • Hmm... the only thing i can think of doing for that is writing a php script that reads the 'presets' url parameter and sets a cookie, then reads the cookie to show a menu.

      i use 'Flexi custom code' to let me create php modules within the site and it works well.

      Example of how you would go about this...
      <?php
      $preset= $_GET["presets"];
      $presetcookie = $_COOKIE["preset"];
       
      // if preset and cookie dont exist
      if (!$preset && !$presetcookie) {
      ?>
       
      SHOW SOME MENU HERE
       
      <?php 
      } else if ($preset == 'preset2' || $presetcookie == 'preset2') {
      setcookie('preset', 'preset2');
      ?>
       
      SHOW PRESET2's MENU HERE
       
      <?php
      }
      ?>
    • Kiss my RSS

Time to create page: 0.070 seconds