Hello all.
We're doing some work for a client and we recently made their website responsive.
We had to upgrade CMSMS in order to do this - it's using version 1.12.1.
After we upgraded and implemented the updated templates, we noticed some odd things happening. One one of the pages, every time we edit the page, a "../" is added to the start of the URL.
In the CMS editor, it looks like this: <a href="../{cms_selflink href='pagetitle' }">Page Title</a>
When changes are saved (I should also mention that when the Submit button is pressed, the page just goes white and does not refresh), the link changes to http://www.domainname.com/http://www.domainname.com//index.php?page=pagetitle, causing the URL to break.
Does anyone have any clue as to what's going on? As you can see from the link above, it's also adding an extra forward slash after the domain name - while this has no effect, it's still very odd. It's not on our own servers which makes it more tricky - is this likely to be a hosting related issue?
CMS Linker adding "../" to start of each URL
Re: CMS Linker adding "../" to start of each URL
Check your editor's settings - TinyMCE has a setting for that and perhaps during the CMSMS upgrade, that module was upgraded?
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: CMS Linker adding "../" to start of each URL
Hi Johnny - I can't see anything that looks out of the ordinary in the module settings - something to do with relative URLs being generated?JohnnyB wrote:Check your editor's settings - TinyMCE has a setting for that and perhaps during the CMSMS upgrade, that module was upgraded?
Re: CMS Linker adding "../" to start of each URL
Look for the settings related to this in the Advanced tab of TinyMCE: Load the CMS-linker - Maybe that is a new setting since your upgrades and it will influence the links. Also be sure to clear any static config files if they were in use previously.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: CMS Linker adding "../" to start of each URL
I would also check the config.php, there used to be settings/parameters to set the site root_url which may need to change, newer version don't require this setting and I've had site mess up when using it...
$config['root_url'] = 'http://somesite.com';
$config['root_url'] = 'http://somesite.com';