News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Remove Header Link

Started by tk1, April 05, 2014, 12:06:09 PM

Previous topic - Next topic

tk1

Link to Mod

i noticed some small mods being approved so here is my first mod, this mod is simply it makes it so the header is no longer a link!

mod is under released under Creative Commons - Public Domain License - so do as you wish!
http://creativecommons.org/publicdomain/mark/1.0/

mod may not work in all themes so deal with it :P

I also got told their is no min amount of edits needed so I hope this gets approved!  i hope to make more mods as i grow!

SaltedWeb

Does this remove the link and the words or just the link?
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

kat

Looking at the parser, just the link. I would assume that removing this entire line...

<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>

...from index.template.php would remove both. (Keep a copy of the file, as a backup, in case I'm wrong.)

SaltedWeb

Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

SaltedWeb

Quote from: [email protected] on June 26, 2014, 06:34:16 AM
Looking at the parser, just the link. I would assume that removing this entire line...

<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>

...from index.template.php would remove both. (Keep a copy of the file, as a backup, in case I'm wrong.)
Not sure that will keep the very top would it ??
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

I B D

Diamond from what i see in this mod it removes the link from the forum name area ... so look up top of this site see where the SMF logo is ... it removes the link from their and not from the linktree as your picture shows.

Burke ♞ Knight

Yes, this mod only makes the site name at top, which gets replaced by logo if add one in the Current Theme settings, so it's not a link.

This has nothing to do with the text that is wanted to be removed.

SaltedWeb

Ok I posted support else where for it to be removed some how ?
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Advertisement: