Anchor and link to it...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rnhstn
Forum Members
Forum Members
Posts: 28
Joined: Thu Jan 16, 2014 12:30 pm

Anchor and link to it...

Post 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
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Anchor and link to it...

Post 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.
Geoclaps
Forum Members
Forum Members
Posts: 25
Joined: Tue Oct 08, 2013 12:02 pm

Re: Anchor and link to it...

Post 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>
rnhstn
Forum Members
Forum Members
Posts: 28
Joined: Thu Jan 16, 2014 12:30 pm

Re: Anchor and link to it...

Post by rnhstn »

Thanks... that got it! I appreciate your help VERY much!
sharzah
New Member
New Member
Posts: 3
Joined: Mon Sep 16, 2013 3:02 am

Re: Anchor and link to it...

Post 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.
faglork

Re: Anchor and link to it...

Post 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
sharzah
New Member
New Member
Posts: 3
Joined: Mon Sep 16, 2013 3:02 am

Re: Anchor and link to it...

Post by sharzah »

Thanks, but doesn't seem to be there in Microtiny. The chain to do links has no name option.
faglork

Re: Anchor and link to it...

Post 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
Post Reply

Return to “CMSMS Core”