Uutiset:

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

Main Menu
Advertisement:

how to add flash banner ??

Aloittaja jaisi, lokakuu 05, 2011, 09:00:21 IP

« edellinen - seuraava »

jaisi

hi guys i need a help how to add flash banner logo.

i'am using light theme by SMFSimple forum version 2.0 Glod.


Thanks in advance

jaisi


jaisi

hello guys please help me how to add flash logo in header

Illori

jaisi please do not bump within 24 hours we are all volunteers and reply if and when we know the answer

mashby

It's gonna be a matter of editing the index.template.php file for whatever theme you are running.
Always be a little kinder than necessary.
- James M. Barrie

darren1981

index.template.php

<div id="top_section">
<h1 class="forumtitle">
<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>
</h1>';

echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '
</div>


That's around line 150-200 depending on what else you have going on in your header section... you will need to replace some code in there.. replace the H1 tags with you flash object script.
CSS3 Forum [nofollow] | HTML5 Forum [nofollow]

mashby

Lainaus käyttäjältä: darren1981 - lokakuu 07, 2011, 10:59:49 IP
index.template.php

<div id="top_section">
<h1 class="forumtitle">
<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>
</h1>';

echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '
</div>


That's around line 150-200 depending on what else you have going on in your header section... you will need to replace some code in there.. replace the H1 tags with you flash object script.
Not sure one would want to replace the h1 tags. Adding to the stuff you have might work, but it is all dependent on the theme the OP is running.
Always be a little kinder than necessary.
- James M. Barrie

jaisi

Thank you for replying but i don't have any script i have only Flash image .swf

Advertisement: