0
Welcome Guest! Login
0 items Join Now

New website - while customer has one and live help

  • New website - while customer has one and live help

    Posted 15 years 9 months ago
    • Ok so I'm at the point were a client has asked me to provide him with a new commerce site as his is a little dated

      No problem I'm thinking. But what I need to know is how I can build a site for a client when he has one already live.

      I mean to say, I have always built mine from scratch with domain name etc. I have no idea how to go about a build, and then to switch from old site to new in a seamless fashion.

      The site isnt Amazon or the likes, but I want it to run smoothly for us all :-)

      Any advice will be good

      Thanks
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • There's several ways you could go about this.

      Firstly, I NEVER EVER EVER EVER EVER EVER build a new website on a live domain. It goes live once the account is paid in full. So, the easy answer there is to set up a subdomain of perhaps your own domain, build it there, then move it all over once he actually owns it (I don't care if he is an existing client / old buddy / whatever).

      - or -

      If the old website is static HTML, make sure the .htaccess file points at the index.html and you can build the Joomla site in peace.

      - or -

      You can build the Joomla website in a subdirectory.

      Personally, I'd give serious consideration to option 1 if I were you.
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • Thanks Ragdata

      So I guess I need to learn how to set up a sub domain with my host - Im sure that won't be difficult. It will be the moving over part i'll need help with I think

      I really am a learner :-)
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • Julian Campbell wrote:
      Thanks Ragdata

      So I guess I need to learn how to set up a sub domain with my host - Im sure that won't be difficult. It will be the moving over part i'll need help with I think

      I really am a learner :-)

      Moving over the site with JoomlaPack is very easy to do, it's similar to a RocketLauncher installation.
    • Yves
    • Justin's Avatar
    • Justin
    • Elite Rocketeer
    • Posts: 500
    • Thanks: 3

    Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • I agree, JoomlaPack is your solution you could even build the site locally on a virtual server then use JoomlaPack to upload this will copy the SQL etc if just a few clicks.

      One thing to remember though, when adding images to your site use the relative path and not the absoloute else this method will not work with your images.
  • Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • Thanks guys

      The site will involve Virtuemart, will Joomlapack still be ok with this?

      I'm looking forward to my mission, I'll be here no doubt for more help :-)
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • I'm a rotten old mongrel who is stuck in his ways - so I never trust anything except FTP and CSV for exactly this reason (never know if the third-party application I'm moving things with will break something on me).

      But if these guys are giving JoomlaPack the thumbs-up, you can bet it's good stuff.

      Don't forget the relative paths Justin mentioned though - very important.
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • Oh dear, Relative paths ?? what are they
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • The easy answer is:

      'Full' path: www.yoursite.com/index.php?option=com_component
      Relative path: index.php?option=com_component

      But it does get more complicated - there are many instances where you need to consider what's going on here, but I'll only cover the 2 you are most likely to encounter in this endeavour - your template index.php and css files (this is simplified a bit).

      Your path needs to be relative to the 'master' file calling the 'slave' file when it's PHP. So, a relative path in your index.php template file is relative to the location of the MAIN Joomla index.php file. Thus, the following in your template index.php file is correct:
      href="templates/my_template/css/my_css.css"
      Which, in full, translates to
      http://www.yoursite.com/templates/my_template/css/my_css.css
      However, a relative path in your template CSS file is read as relative to the physical location itself (because the CSS file is loaded from its physical location by your template index.php file using the path above). So, the following relative path is correct there:
      ../images/style1/showcase-bg.png
      Which, in full, translates to
      http://www.yoursite.com/templates/my_template/images/style1/showcase-bg.png
      The ../ says 'go up one folder from where I am, then start reading the path'. ../../ = 'go up two'. ../../../ = 'go up three' and so on ...

      Clear as mud for ya?? :?
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: New website - while customer has one and live help

    Posted 15 years 9 months ago
    • Hummmm I need a cuppa :-)

      Thanks so far

Time to create page: 0.055 seconds