[solved] Problem with href="#"--CMSMS automatically makes it into a real 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.
Locked
streever

[solved] Problem with href="#"--CMSMS automatically makes it into a real link

Post by streever »

I just need to make an a href="#"--but this always loads my home page!

Is that a short-cut for home page link or something?

I've even tried enclosing it in {literal} tags--it seems nothing is done to it by CMSMS, but regardless, when someone clicks an a href="#" it goes to home page. The source code (rendered, to visitor) shows this:
href="#"
I tried using "javascript:Void" but this blocks the javascript behavior I need to occur.

Any advice?
Last edited by streever on Wed Dec 24, 2008 1:50 pm, edited 1 time in total.
User avatar
korpirkor
Forum Members
Forum Members
Posts: 100
Joined: Sun Oct 28, 2007 1:15 pm

Re: Problem with href="#"--CMSMS automatically makes it into a real link

Post by korpirkor »

leads you to home page, because You have set to your homepage.
If you don't use pretty url's - edit your template and replace {metadata} by {metadata showbase=false}
[url=http://www.polishwebdesign.pl/]Polish WebDesign Cezary Nowak
Projektowanie stron WWW[/ur]
streever

Re: Problem with href="#"--CMSMS automatically makes it into a real link

Post by streever »

YOU DID IT!

thank you. That should have been obvious I guess, but I forget all the things that tag does!
Locked

Return to “CMSMS Core”