Author |
Message |
Deseroka
Client
![](modules/Forums/images/avatars/Animaniacs/Animaniacs_-_Stinkbomb.gif)
Joined: Apr 15, 2003
Posts: 466
Location: FL
|
Posted:
Mon Jun 28, 2010 12:59 pm |
|
Hopefully I have placed this in the correct forum. It's probably been touched on before, but I haven't found my answer...those of you who know me, know my patience for searching thru threads titled "Help Me Plz", "I Have a Problem" etc is next to none. My talent for getting the forum correct is sometimes lacking....so, I dunno--be patient.
I'm wanting to place a flash logo in the Sand Journey theme.(RavenNuke_v2.40.01.7) It's been awhile since I done something like this, so am wondering can I just place my logo where it should be & my swf file in my public_html file, or would I be better off putting the darn thing in the header & letting it run in the 2 themes I will be using on that site?
OK, PITA, signing out!
(Here's your chance for one of my weird questions & challenges, SixOne) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sixonetonoffun
Spouse Contemplates Divorce
![](modules/Forums/images/avatars/d1ecfa674c890aee2698b.jpg)
Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Mon Jun 28, 2010 8:37 pm |
|
Ouch me an flash not friends but...
You can put it anywhere you like common location for 2 themes maybe /images/ or something new like /images/logos/
Code wise it would be something like http://www.w3schools.com/flash/flash_inhtml.asp
Code:
echo "<center><object width=\"550\" height=\"400\"><param name=\"movie\" value=\"./images/somefilename.swf\"><embed src=\"./images/somefilename.swf\" width=\"550\" height=\"400\"></embed></object></center>"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"$bgcolor1\"><tr><td colspan=\"3\" align=\"center\">"
|
Good Luck! Maybe someone else will stepup with the perfect answer! |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Deseroka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jun 28, 2010 9:10 pm |
|
I don't care if it runs in both themes or not, but why not? Thanks sixone!
But wait! I'm not sure we just said the same thing. (you know I have trouble spitting out what I'm trying to say).
Can I embed the code into theme.php for just one of the themes & into say header.php for both themes?
Oh heck, I've forgotten what I know........ |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sixonetonoffun
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jun 29, 2010 9:19 am |
|
I think for future updates (Raven did mention chance of upcoming release) it would be best to mod the theme.php not site header.php while it would be possible future updates might be less friendly. A little more work today less headache tomorrow. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Deseroka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jun 29, 2010 11:41 am |
|
Well, stand by for Indigenous Melt-Down. Cause you know my crazy self is gonna stick it in the wrong place, come over here, scream & yell a little, then hopefully figure it out before someone tells me to calm down & do so & so.
What can I say? Most people find me atypical, but once ya get to know me, I'm really quite amiable. ![Rolling Eyes](modules/Forums/images/smiles/icon_rolleyes.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Deseroka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jun 30, 2010 2:45 pm |
|
OK, melt down in action. Will someone please tell the woman having a blond moment where in the heck to put the darn code within theme.php???
Please? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sixonetonoffun
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jun 30, 2010 7:37 pm |
|
Sand Journey theme
theme.php
Around line #88 depends on how exactly you wish to place it but thats where the logo starts I think. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Deseroka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jun 30, 2010 8:56 pm |
|
I'll take it all apart & try to embed it there. I thought I was gonna be smart & just put it in the advertising banners. I works fine, even with the mod inactive. However, it makes the advertising mod kinda useless. I see that this module now has positions, & this is posted in the mod concerning positions.
Quote: | To use the position you must include the code: ads(position); in your theme file, where 'position' is the number of the position you want to use in that ad space.
You can have a look at the file /blocks/block-Advertising.php and file /header.php to have a clear example on how to implement this in your site. |
I now have the banner in the "top" position, but am wondering if I got all this stuff about ad positions straightened out, could I change the position to header so that other banners would ride above it, or just create a place for them to ride above?
Sometimes I hate it when I think. It's just scary.
*******Edit******
I don't think what I've done will work. It doesn't look too good with the other theme I'm gonna keep in there. It's late, I'll try again tomorrow. I found an old article over at php.org (ugh) that Chris Karakas wrote, so I thought "Allright!!!" But I had no joy with it either.
Quote: | You can put the above code in the themes/YourTheme/theme.php file, in the themeheader() function, after the call to the banners code:
if ($banners == 1) {
include("banners.php");
}
...put Flash code ("echo") here...
|
Tomorrow I'll take the one out of the banner section & try again at line 88.
Someone just shoot me. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sixonetonoffun
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jul 02, 2010 7:38 pm |
|
Here's to tomorrow! Good Luck! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|