• February 06, 2012, 04:03:46 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Simple Machines Forum Theme  (Read 1251 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2151
    • Michael McNamara
Simple Machines Forum Theme
« on: September 07, 2009, 02:36:54 PM »
I've changed the theme from the default to Kani.

I like the simple plain look but let's just see how it plays out.

Mike
If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!


Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2151
    • Michael McNamara
Re: Simple Machines Forum Theme
« Reply #1 on: January 04, 2010, 11:00:19 AM »
I've 'tweaked' the theme files a little to fix up the META keywords and the HTML title attribute.

I modified the following code within index.template.php. I'll admit it's rather crude but it works;

Code: [Select]
echo '<title>';
if ($context['page_title'] == "Network Infrastructure Forums - Nortel, Cisco, Motorola, Juniper and others - Index") {
        echo $context['page_title'];
} else {
echo $context['page_title'],' | Network Infrastructure Forums - Nortel, Cisco, Motorola, Juniper and others';
        }
echo '</title>';

This will essentially add the name of the site to the end of the HTML title, so that in bookmarks and web searching folks will have some idea of what site is hosting this information.
If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!