CMS questions

15 posts by 5 authors in: Forums > CMS Builder
Last Post: July 20, 2009   (RSS)

By ross - July 17, 2009

Hi there.

I just sent you an email update on this one but wanted to post something here for anyone else following along.

Basically, this one needed an update to the code with how it handles https and http connections. It will be added to the next version for everyone.

If anyone else runs into this, all you need to do is open /cmsAdmin/lib/common.php and look for this line:

$absoluteUrl = (@$_SERVER['HTTPS']) ? 'https://' : 'http://';

Replace that line with this:

$isHTTPS = @$_SERVER["https"] == 'on' || @$_SERVER['SERVER_PORT'] == 443;
$absoluteUrl = ($isHTTPS ) ? 'https://' : 'http://';


And you should be good. Like I say, this will be in the next version of CMS Builder by default :).

Let me know if you have any questions.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [Damon] CMS questions

By zip222 - July 17, 2009

I was just thinking about this the other day... it would be very helpful if a link to a custom style sheet was included in the templates. This way when a new version comes out, those who have customized the interface would just need to update that one file. All customization could be done in one place without needing to pick through the main css file. This link would need to appear after the links to the other styles sheets.

Re: [ross] CMS questions

By zip222 - July 17, 2009

No, I am talking about the CMS Builder application interface. A second style sheet that allows the interface to be customized.

Re: [jdancisin] CMS questions

By ross - July 20, 2009

Hi there.

I see what you mean. That's an interesting idea. I'll add it to our "to-do" list and we'll see what Dave comes up with in a future version. I don't exactly know how or when that will all get worked in but we'll let you know what's in each new version when it's released.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/