cms_selflink with broken internal links (11.1.4)
Posted: Mon Feb 18, 2013 9:02 am
CMS Made Simple™ 1.11.4 “Fernandina”
Problem reproduces as follows:
1) Edit some page and make it contain internal link
2) Highlight text and make internal link to some page
3) Save
4) When the page is rendered, it contains broken link
a) to main page
b) to some other page
Don't know if this is related to this, but I have renamed the admin-section, and forced it over SSL..
I think that this might be issue with MicroTiny, as the source code in the WYSIWYG contains the links as:
So, any suggestions would be highly appreciated as this renders the whole internal linking as useless.. 
Problem reproduces as follows:
1) Edit some page and make it contain internal link
2) Highlight text and make internal link to some page
3) Save
4) When the page is rendered, it contains broken link
a) to main page
Code: Select all
http://www.domain.com/http://www.domain.com/
Code: Select all
http://www.domain.com/http://www.domain.com/index.php?page=other-page
Don't know if this is related to this, but I have renamed the admin-section, and forced it over SSL..
Code: Select all
$config['admin_dir'] ='newlocation';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') {
$config['root_url'] = 'https://domain.com/';
}
I think that this might be issue with MicroTiny, as the source code in the WYSIWYG contains the links as:
Code: Select all
<a href="../{cms_selflink href='home'}">main page</a>
<a href="../{cms_selflink href='other-page'}">other page</a>