Author Topic: HTML Block use absolute addressing  (Read 2862 times)

Offline helperbee

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +2/-0
    • View Profile
HTML Block use absolute addressing
« on: July 26, 2015, 02:25:54 AM »
My host first needs the site to be live to enable HTTPS, but site is not ready and I don't want to take  down current site until this new one can replace it within hours.

Related to this, I have a couple related questions:
1) Where do I learn about the development workflow to understand the sequence of standing up an e-com site to see if I'm overlooking something?

2) Some of my HTML Blocks use absolute addressing to build menu links, this means I have http:// , and anticipate that these links will break once the site switches to HTTPS. What can I do to minimize the "URL fixing" I have to do after HTTPS is enabled. I don't see a way to make links relative when building Blocks.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 3167
  • Karma: +229/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: HTML Block use absolute addressing
« Reply #1 on: July 26, 2015, 11:56:38 AM »
1) Where do I learn about the development workflow to understand the sequence of standing up an e-com site to see if I'm overlooking something?
If you need AbanteCart technical docs, you can check in here:
http://www.abantecart.com/document_wiki/index.php/Main_Page

2) Some of my HTML Blocks use absolute addressing to build menu links, this means I have http:// , and anticipate that these links will break once the site switches to HTTPS. What can I do to minimize the "URL fixing" I have to do after HTTPS is enabled. I don't see a way to make links relative when building Blocks.
In AbanteCart all links are built dynamically in PHP code. In PHP code you need to use $this->html->getSecureURL() vs $this->html->getURL

If you build static HTML block and put HTML with absolute URLs, you can use just // instead of http or https.
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

 

Cheap Prom dresses 2018