Page 1 of 1

Anchor and link to it...

Posted: Tue Jul 22, 2014 1:42 pm
by rnhstn
I can’t figure out how to reference an anchor with a link in CMS and I can’t figure it out.

This is the physical page…
http://asburyvillas.com/index.php?page=owners-home-page
… and the anchor is … Monthly Board Agenda & Minutes

Yes, I have looked through all of the documentation. I must be brain dead <grin> but that aside, I could use an example of how you link to an anchor, or where to find an example within CMS.
Thanks much for any helpful info you can provide.
Ron Heston

Re: Anchor and link to it...

Posted: Tue Jul 22, 2014 11:15 pm
by paulbaker
There is an example in the docs:
http://docs.cmsmadesimple.org/tags/core/anchor

If you are still stuck let us know what you have tried and what happens (or doesn't happen).

The page you linked just asks for a login and looks too short to need an anchor tag. Perhaps it is longer when you login.

Re: Anchor and link to it...

Posted: Wed Jul 23, 2014 8:37 am
by Geoclaps

Code: Select all

{anchor anchor='http://asburyvillas.com/index.php?page=owners-home-page' text='Monthly Board Agenda & Minutes'}
or:

Code: Select all

<a href="http://asburyvillas.com/index.php?page=owners-home-page">Monthly Board Agenda & Minutes</a>

Re: Anchor and link to it...

Posted: Wed Jul 23, 2014 12:07 pm
by rnhstn
Thanks... that got it! I appreciate your help VERY much!

Re: Anchor and link to it...

Posted: Mon Sep 29, 2014 7:48 pm
by sharzah
OK, I'm still confused about this... and yes, I've looked at the referenced doc.

I know how to do what I want in the HTML. I use <a href= ... and then elsewhere on the page I have an <a name= ...

I understand how to use {anchor} to get the <a href= ....

My confusion is, how do I get the <a name= part? How do I assign the name to the target? Do I have to do it in HTML? (I'd think, since I generate the link-ing part with CMS, there would be a way to generate the link-ed part as well.)

Thanks.

Re: Anchor and link to it...

Posted: Tue Sep 30, 2014 12:48 pm
by faglork
sharzah wrote: My confusion is, how do I get the <a name= part? How do I assign the name to the target? Do I have to do it in HTML? (I'd think, since I generate the link-ing part with CMS, there would be a way to generate the link-ed part as well.)
in TinyMCE, just click the anchor symbol ...

hth,
Alex

Re: Anchor and link to it...

Posted: Wed Oct 01, 2014 12:02 am
by sharzah
Thanks, but doesn't seem to be there in Microtiny. The chain to do links has no name option.

Re: Anchor and link to it...

Posted: Wed Oct 01, 2014 1:28 pm
by faglork
sharzah wrote:Thanks, but doesn't seem to be there in Microtiny.
Thats why it's called MICROtiny ;-)

AFAIK, MicroTiny does not have that option.
Why dont you simply use TinyMCE and delete all Toolbar options which you do not need?

Cheers,
Alex