Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Harvester - maaliskuu 27, 2006, 07:02:07 IP

Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: Harvester - maaliskuu 27, 2006, 07:02:07 IP
i know this is a bit of a different topic... but how do I change where the "Home" button goes to?  and also, when setting up SMF I recall an area to enter a slogan for the board/site/company. How do I get back to there to enter that?  I didnt enter it at first because I had no clue as to what I wanted it to be at the time.
Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: B Patterson - maaliskuu 27, 2006, 07:26:43 IP
Admin -> Server Settings for the slogan...

As for the home button, the home button will always go to your forum home.  You can modify the templates as you like though.  Index.template.php is where the navigational menus are.
Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: chq - maaliskuu 27, 2006, 07:56:13 IP
Where is the "Email Your Members" link in the administration page?
Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: Harvester - maaliskuu 27, 2006, 08:01:55 IP
if I understand your question correctly...

it is in the lower lefter in the section called Member Controls. Its second from  the bottom there.
Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: B Patterson - maaliskuu 27, 2006, 08:03:41 IP
Admin => Main => News & Newsletters => Newsletters

There you can opt to send a mass email to everyone on your board.
Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: Harvester - maaliskuu 27, 2006, 08:06:03 IP
I dont see an area in "Edit Server Settings" for a slogan.

Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: Harvester - maaliskuu 28, 2006, 11:15:42 AP
I have found the code in index.template.php where the home button is... but i cant figure out what part of it specifies where to go when the home button is activated

<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '

Ive been reading php sites tryin to learn about it but I am having problems here. can someone please help me? give me a hint or a direction to look in?

Thanks, Harv
Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: B Patterson - maaliskuu 28, 2006, 11:44:06 AP
Do you know HTML?
<a href="', $scripturl, '">
That defines where it goes....
Otsikko: Re: Emailing Members? [New topic: Home button]
Kirjoitti: Harvester - maaliskuu 28, 2006, 11:57:56 AP
yes I know HTML but whats that $scripturl, there?

can I just change it from:
<a href="', $scripturl, '">
to
<a href="http://www.domainname.com">

or must I do something with that $scripturl?? thats where I am confused.
Otsikko: Re: Re: Emailing Members? [New topic: Home button]
Kirjoitti: B Patterson - maaliskuu 28, 2006, 12:24:47 IP
$scripturl is set a few lines up... and it's just the domain and such.

Replacing with what you have will work.