News:

Wondering if this will always be free?  See why free is better.

Main Menu

I will like these changes

Started by 1Chope, November 13, 2009, 04:20:55 AM

Previous topic - Next topic

1Chope

Hi all,thanks for your cares I am using Babylon theme and will like to

1.Delete the default smf Logo.

2. In the Top of the forum,before the login form and  key stats bar, I will like my forum to be displaying Board if it is in the Message index and topic name if in Display. My forum is currently displaying The Soccer Chat - Online Soccer Community In both Index, Message Index and Display

kat

To remove the logo, look at the theme's index.template.


Find:


<td align="right" class="catbg">
               <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
            </td>



and delete that section. (Keep a copy of the original as a backup).


OR, you can replace the smflogo.gif file, in the theme's images directory, with a blank, transparent gif.


I'm afraid I don't understand your second request. Sorry.

1Chope

I can't see the edit in Babylon theme,maybe it is in default theme.i am using Babylon theme.

sshahnawaz

It must be... what's the file you are trying to edit?
How to Make Money Online - Urdu Description https://www.youtube.com/watch?v=0Deggh2ZxNE

Kermit

For removing the SMF logo

in ./Themes/babylon/index.template.php

Code (find and delete) Select
// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<img src="', $settings['images_url'], '/smflogo.gif" style="width: 250px; float: ', !$context['right_to_left'] ? 'right' : 'left', ';" alt="" />';


and for 2nd request can you elaborate,what exactly you want to achieve ?
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

1Chope

Thank you Duncan85 I have removed it.

My second requests is this
If you visit Babylon theme in ever smf Website,You will see the name of the forum Displayed boldly on top before the login form/key Stat.Aligned to the left as the logo is aligned to the right.
You can see the forum name my forum http://thesoccerchat.com it is
The Soccer Chat - Online Soccer Community

No if you visit any page in the forum,it will remain there.
I think the code is this
  <span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';
Here is what I will like to do
The forum_name code will give way to the name of the pages I visits.Eg If I Visit European league which is one of the board of the forums,
European league will be seen instead of the default forum_name which is The Soccer Chat - Online Soccer Community

Hope Am understood??

Kermit

in index.template.php


Code (find) Select

echo '
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';



Code (replace) Select

echo '
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['page_title'], '</span>';



See if it is,what you want
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

1Chope


Arantor

If you have no further issues here please consider marking the topic solved.
Holder of controversial views, all of which my own.


Advertisement: