Link on module title

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
nettemor
Joomla! Explorer
Joomla! Explorer
Posts: 304
Joined: Fri Dec 08, 2006 10:44 pm
Location: Norway

Link on module title

Post by nettemor » Tue Jun 28, 2016 1:23 pm

Hi,
I would like the module title to behave as a link, but cannot figure out how. Anyone who knows if this is possible, and how?

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: Link on module title

Post by ranwilli » Tue Jun 28, 2016 1:26 pm

As a link to what?

All Modules or just selected ones?

can you give us a link to the site?
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

nettemor
Joomla! Explorer
Joomla! Explorer
Posts: 304
Joined: Fri Dec 08, 2006 10:44 pm
Location: Norway

Re: Link on module title

Post by nettemor » Tue Jun 28, 2016 1:30 pm

I have a custom html module titled "Members" and i would like this title to be clickable. When clicked i want to open a page with various information regarding members.

site is www.s-k-p.no and notice the three green boxes at the frontpage. All these three titles i would like to have links on.

NickC4555
Joomla! Explorer
Joomla! Explorer
Posts: 457
Joined: Sun Jan 30, 2011 10:09 am
Location: Leicester, UK

Re: Link on module title

Post by NickC4555 » Tue Jun 28, 2016 1:43 pm

The simplest way is to set show title to no and add the title text as part of the module content as a link in an h3 tag. You can style it to look the same with css.

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: Link on module title

Post by ranwilli » Tue Jun 28, 2016 1:47 pm

NickC4555 wrote:The simplest way is to set show title to no and add the title text as part of the module content as a link in an h3 tag. You can style it to look the same with css.
Agreed...

But indicate somehow that it IS a link... if it looks like all the other Module headers, it will only confuse your visitors. Either they won't click on it, or they WILL click the others which are not links...

Both outcomes are bad.

I would suggest a bootstrap button.
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

nettemor
Joomla! Explorer
Joomla! Explorer
Posts: 304
Joined: Fri Dec 08, 2006 10:44 pm
Location: Norway

Re: Link on module title

Post by nettemor » Tue Jun 28, 2016 1:50 pm

Cool - i fixed it by using this:

Hided the title and put this in:
<h3 class="page-header"><span style="color: #ffffff;"><a href="index.php?option=com_content&view=article&id=6&Itemid=280" style="color: #ffffff;">Medlem</a></span></h3>


It will be fine like this, cause i am not using module headers anywhere else :)

Thank you so much for your help :)


Locked

Return to “General Questions/New to Joomla! 3.x”