I moved this question to another board, see http://forum.cmsmadesimple.org/viewtopi ... =8&t=52969
===========================
This problem has been mentioned before, and it seems that it has been solved. But, maybe due to the migration of the forum, the solution is corrupted.
problem
On page page-alias I place an anchor, using the icon in TinyMCE.
Somewhere on that page I create a link to the anchor.
When clicking that link I am directed to the homepage (the link is something like: mydomain.com/#anchor in stead of mydomain.com/page-alias#anchor).
This problem has been described in e.g. topics http://forum.cmsmadesimple.org/viewtopic.php?t=47038 and http://forum.cmsmadesimple.org/viewtopic.php?t=10072
offered solutions
Dr. CSS (topic 47038) suggests to use the anchor tag, which is fine for myself, but for some of my clients use of such a tag is beyond their capabilities.
inyerface (topic 10072) suggests to hack a file of TinyMCE:
and Alby saysChange: modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js
Find around line 373:Change it to:Code: Select all
html += '' + name + '';
Code: Select all
html += '' + name + '';
Now this last solution sounds promising, but here it looks like migration of the forum corrupted the lines of code: they are all exactly the same!Maybe this is better:because respect pretty urlCode: Select all
html += '' + name + '';
I found the same solution, corrupted in the same way, in a Dutch topic.
Can anyone recreate these lines of code?
Frank