Page 1 of 1

Easy way to add anchor links with TinyMCE

Posted: Fri Sep 03, 2010 7:13 pm
by dmgd
Using the base URL tag in your header causes TinyMCE to send you to a 404 page.  The link tag gives you an

Code: Select all

http://www.example.com/#anchor
  This does not work for me.

TIP:  After you select the anchor to use add {$page_alias} to the link e.g. {$page_alias}#anchor
The produces the link

Code: Select all

http://wwwexample.com/page-alias#anchor

Re: Easy way to add anchor links with TinyMCE

Posted: Fri Sep 03, 2010 9:22 pm
by Dr.CSS
Have you tried using the anchor button in tiny?...

Re: Easy way to add anchor links with TinyMCE

Posted: Wed Sep 08, 2010 10:55 pm
by dmgd
I did not explain that very well.

I use the anchor button to create all my anchors
I use the Link button (the little chain) to create the links to the anchor.
In my case simply selecting an anchor form the dropdown box created a link like

Code: Select all

http://www.example.com/#anchor
This would create a 404 because there is no anchor on the default page.
Adding the {$page_alias} created a proper link.

Re: Easy way to add anchor links with TinyMCE

Posted: Thu Sep 09, 2010 11:45 am
by Dr.CSS
Have you looked in extensions > tags for the {anchor} tag?...

Once there click the word anchor and it will show you a help page on how to use it...