Jump to content

How to implement a https link into a widget html block?

Featured Replies

Posted

Hi,

today I tried to implement a https register link to a custom html widget block. But after having saved it the system converts it back to a http link.

I also tried to use the standard register link "{url='app=core&module=system&controller=register' seoTemplate='register' protocol='\IPS\Settings::i()->logins_over_https'}"

After saving it's

%7Burl='app=core&module=system&controller=register'%20seoTemplate='register'%20protocol='%5CIPS%5CSettings::i()->logins_over_https'%7D

Any ideas how to get a https register link?

  • Author

I replaced the editor block with a manual html block. Now it works.

But it's an interesting issue why the editor doesn't allow https links.

Edited by Apfelstrudel

  • Community Expert
22 minutes ago, Apfelstrudel said:

But it's an interesting issue why the editor doesn't allow https links.

It does allow it. 

I think it just recognizes an internal link and forces the protocol to whatever the site’s default is. 

Edited by opentype

  • Author

On our site: Default for standard pages is http. But the default for register and login page is https.

I guess this seems to be a bug.

Edited by Apfelstrudel

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.