[SOLVED] .currentpage on active links

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
qwalk
Forum Members
Forum Members
Posts: 55
Joined: Mon Sep 13, 2010 9:27 am

[SOLVED] .currentpage on active links

Post by qwalk »

Hi.

I did not know where to post this thread, this seemed liked the right place, sorry if I'm wrong.

I have been using CMSMS for some time now, and I have some questions about the auto-generation of links.

When you are on an active page the link changes into .currentpage h3 in the menu. Is there any way to keep it an link instead of an ? And maybe also to remove the .currentpage class?

It seems a bit frustrating not to be able to click on the link of the current page you are visiting, because of the tag.

Any help or ideas are appreciated!

Kind regards,
Qwalk
Last edited by qwalk on Tue Sep 14, 2010 7:36 am, edited 1 time in total.
qwalk
Forum Members
Forum Members
Posts: 55
Joined: Mon Sep 13, 2010 9:27 am

Re: .currentpage on active links

Post by qwalk »

I just discovered how menu templates works! Problem solved.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: .currentpage on active links

Post by tyman00 »

Care to share for others that may find this in search?

Please add [solved] to the title of your first post as well. Thanks!
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
qwalk
Forum Members
Forum Members
Posts: 55
Joined: Mon Sep 13, 2010 9:27 am

Re: .currentpage on active links

Post by qwalk »

tyman00 wrote: Care to share for others that may find this in search?

Please add [solved] to the title of your first post as well. Thanks!
I just choosed the menu template called: simple_navigation.tpl from the Menu manager. I discovered that it didn't make a h3 on an active link.

You can also edit the templates and from there, remove the and replace it with an tag. (also delete the currentpage class).
Post Reply

Return to “CMSMS Core”