[solved] Anchors in menu Content type: Internal Link

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
User avatar
Phoenix
Forum Members
Forum Members
Posts: 19
Joined: Mon Jul 14, 2008 9:53 am

[solved] Anchors in menu Content type: Internal Link

Post by Phoenix »

How do I create an internal link with an anchor in order to have it show in my menu.
Once I set a destination page it only goes to the page and not the anchor.

If I type the anchor in manually via my browser it works.
I do not want to use {cms_selflink dir="main" anchor="spamPolicy"}

The system uses "Content type: Internal Link" to create links yet it does not gave a GUI for anchors. The table of contents UDT is fine for the actual page but this anchor need to be on the main menu.

Creating a new page for the content is easier but the menu should support anchors.
Last edited by Anonymous on Sat Mar 20, 2010 2:53 am, edited 1 time in total.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Anchors in menu Content type: Internal Link

Post by cnymike »

I've just run into the need to have some menu items link to an internal page with anchor.

this original post addresses that issue but  does not provide a solution.

How is it possible to have a sub-menu link to anchored text on a page?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Anchors in menu Content type: Internal Link

Post by Dr.CSS »

Content type: internal page link...

Additional Parameters: #anchor
    anchor being the name of the anchor on the page, you have to put the anchors on the page which is ez with the anchor button...
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Anchors in menu Content type: Internal Link

Post by cnymike »

Thank you for that.

Is that documented somewhere? I searched the docs but did not see that referenced although I may have overlooked it.

Michael
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Anchors in menu Content type: Internal Link

Post by Dr.CSS »

Just made it up as I was doing it...
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: [solved] Anchors in menu Content type: Internal Link

Post by cnymike »

Ahhh, that's what I love about CMSMS...
Post Reply

Return to “CMSMS Core”