News:

AbanteCart v1.4.2 is released.

Main Menu
support

HTML Block use absolute addressing

Started by helperbee, July 26, 2015, 02:25:54 AM

Previous topic - Next topic

helperbee

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.

abantecart

Quote from: helperbee on July 26, 2015, 02:25:54 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

Quote from: helperbee on July 26, 2015, 02:25:54 AM
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.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Forum Rules Code of conduct
AbanteCart.com 2010 -