Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Vanka on
HI,
I am able insert flash file banner into content with the aid of FCKeditor (flash tab). Has anybody experiences with inserting flash banner into Header? It is possible through any flash module?
Thanks
Comments
hi use this code
hi use this code for display .swf file in your header in your page.tpl.php
Thanks Mr.Sumitshekhawat7331,
Thanks Mr.Sumitshekhawat7331, works perfectly!
Different flash baner on Front and different on another pages
Thanks Mr.Sumitshekhawat7331, your recommended code for inserting flash banner into header works perfectly!
Hi, ones more please,
how can I insert different flash banner on Frontage and different flash banner on another pages?
Thanks
hi just use this code for this
hi use this code it will solve your problem
Thanks & Regards
Piyush Sharma
Flash banner overlap submenu
Thanks Mr.Sumitshekhawat7331 for your goodwill and professionalism which exceeds the finance crises. The code works perfectly! I am sending you the ocean of banner’s roses!
For the third time I have the last question, but probably the most difficult. The flash banner inbuilded in header overlap the submenu – dropdown menu (I am using nice menu module, gently modified theme garland).
Firstly I tried to solve the problem with the aid of z-index (nice menu, header region) – no success. Secondly with the aid of animation gif file, but the resolutions by gif animation is too poor (web216 palette colour) and size too large (800kb).
If you have the knowledge of this problem and are you able to leak it, I will not be bad till the end of my life.
Thanks
hi vanka
try this code it will solve your problem
code change in line 4 name="wmode" value="opaque"
and tell me whether your problem will solve or not
thanks & regards
Hi, I was trying to add a
Hi,
I was trying to add a flash header to my page.tpl.php file using your method. But I still get a nasty error report, saying " Parse error: syntax error, unexpected '<' in C:\wamp\www\client1\sites\all\themes\custom\arts\page.tpl.php on line 39 "
here is my code
Please, how can I sort this out.
Thanks for highlighting the
Thanks for highlighting the "drupal_is_front_page()" function Piyush.
swf code within page.tpl.php
Hi sumitshekhawat7331,
I tried to apply the same principle though applying the code you provided to a top banner rather then a header. A box was inserted in the right area though it remains white instead of displaying the actual swf banner. Do you have any idea how i could amend this? Here is the code I inserted:
hi use this code
hi just use this code
you have to correct this line
thanks & regards
Thanks sumitshekhawat7331. It
Thanks sumitshekhawat7331. It now works perfectly, you're a star!!!
hi tacha
hi tacha..thanks for the complement but i am not a star...i am just a drupal learner if you need any help further then you can mail me at piyushsharma7331 at yahoo dot com
thanks & regards
flash file with as2 and xml
hi dude, Your instructions are great. but it somehow did not solve my problem. I mean, code is working in ie - maxthon but not in chrome or firefox. I think that my code is actionscript 2.0 and xml. and it populate data from xml and gets images from a folder according to xml. I have different flashes in my web site all works only this hell does not work. If you have any idea please tell me. Thanks
hello
hi dear
could you send me your email id so that we can talk through email.
whatever you said , i want to tell you that, in my site
http://xbox360preview.co.uk
flash banner displaying images using XML.
In this site i have done this thing
php file generate an XML file which will called by flash banner and display output
do you want do the same thing ?.
Hi sumitshekhawat7331, I have
Hi sumitshekhawat7331, I have been reading your advice and try to do the code as well. I seem to get a black box of where it is supposed to be. My flash functions with an xml file as well. The flash movie uses an xml to find the images of what needs to be added to the flash and then flash plays through those images. I am able to go directly to the flash movie i have uploaded to the site but i cannot integrate it into the banner that I would like. If you could please help me on this, I would greatly appreicate it. Thank you
hi torn35 do this, it will solve your problem
visit this site
http://www.xbox360preview.co.uk/
i have used these codes....
flash file ...
now code for myphpfilename.php which is called by flash file
which will generate an XML file output
and create a folder named slides and upload all your images it it, otherwise send me your site url and your flash(.fla) file i will configure it.
Thanks & Regards
piyush
one major problem ,please help
I am greatly expecting from piyush sharma and other good peoples of drupal
as you have commented , i have inserted one .swf picture , in my header , it is perfectly working ,
but when other system access my site,, if they are not installed macromedia flash , it is not working , or they have to install flash plug in,
This problem i want to solve ,
So what is the solution
I changed to animated GIF , the resolution is very poor, Please help
arun , thanks with love , Tomorrow i want to lauch my web sit e,, please help as early as possible
_
This has nothing to do with drupal-- if you want users to see flash they need to install the plugin. There's nothing to fix that's the way it works. You might look into html5 animation capabilities, but then you'll run into the problem of users without html5 compliant browsers.
thank you for your code. I
thank you for your code. I have used it and it works great in firefox but I am having issues with IE... any way you can help?
www.atmautos.com
This is what my code looks like in the page.tpl.php
cenetering
hi! thanks for the code. It works perfectly but I need to ask how do I make the swf stay at the center? I tried to align it in the middle but it's not working. Can you please give me a sample code for it? And if its not too much to ask, can you give me a sample code on putting a wallpaper on the background of the header? Thanks for everything!
work only on front page
I put this code on my site but it only work on frontpage.
On other pages I see only blank background.
have the same problem
Did you fix it?
Did you fix it?
Did you fix it?
only working on front page
I have the same problem. Does any one know how to fix it?
Full HTML
If you are putting the code above into a block, you must make sure the block is able to display "Full HTML." If it works on the front page and not the others, "view source" of each page and report back how they are different.
A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com
The code is the same, the
The code is the same, the homepage only has one more line:
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.myurl.pt/blogapi/rsd" />
But I don't think is something related to that.
thks for your time
swf code within page.tpl.php
I am using very similar code but my text editor suggests there is something missing and I am getting parse error also:
Still trying to put flash in header(Marinelli theme)
Hello people,
i have been trying to figure out(for almost a week,no success yet) how to stick my flash slideshow in the header of marinelli instead of the rotating images.I put my swf(banner.swf) with its banner.xml file and the folder containing the images at sites/all/themes/marinelli/img/banner.How do i get it to show?I understand that i need to put some code in somewhere between
I tried before and the swf did not show and it pushed the logo and sitename away.I read somewhere that z-index does not help reposition.If there is someone who has moment to assist, i am most grateful....
(I have no php skills ,still trying to learn.)
cannot manage!
i tried those above and cannot resolve.. :/
actually i may have done something wrong because i am not really used to php..
i.e where to put the code, with which tags etc.. would someone please tell me where to put those codes firstly? :))
when i put that code, firstly header image did not disappear, and everything above the links etc, slided with gaps.
maybe the same problem with "http://drupal.org/node/138281" (also tried that solution). it always shows up, above where normal header image stands. and slides the rest downside. (at least i get the flash banner.. hopefully)
is this like template spesific?
my page.tpl.php file is like
I did it like this, because
I did it like this, because it doesnt stand where it suposed to be and I make some positioning in div tag with which you can manipulate where to stand in header,just change the number of pixels,
in page.tpl.php you make div tag and insert code of flash. Also you must spceifi where to be layer in div tag, also i was searching and managed it myself. The code is
I am bigennier in drupal but it works
Just navigate to your flash
cheers
swf header
Hi, just registered to know if someone could help me.
I would like to know what is the correct way of placing a swf header on multiple pages in a way that it doesn't reload the swf, without using frames.
Placing the swf individually on each page header, i get a flickering upon loading another page on the menu.
I don't have any kind of java/actionscript skills.
Been using an image background defined on CSS header div, works great, but i can't use flash as background for css, is there a workaround for this?
_
afaik, your choice is either iframe or ajax.
Could you help me out on how
Could you help me out on how is AJAX used?
EDIT:
Works like a charm, don't know how it looks like for non flash installed browser, but i'm satisfied. Thanks for the help.
_
I dont know much ajax, or I would have included it.
What 'works like charm' -- what did you end up doing?
HTML text in SWF
If you are trying to replace HTML text with an SWF so that you can use any font you wish, then this tutorial shows you how:
http://www.graphics.com/modules.php?name=Sections&op=viewarticle&artid=537
It takes HTML e.g.
<h1>Your heading</h1>
and automatically turns it into an SWF.
This approach maintains web standards.
I'm So Stuck!
Hi, Everyone:
I've been trying to get this Anim-FX software that I purchased to work--and it's been well over a month now. I can't get the flash banner up and running, no matter how many attempts. My WEB.COM website is www.germanejermaine.com.
I have added the .swf, .html, and .txt files to my root directory, but it's not working. Yet, the .html file I created works when I click on it to view in internet explorer. Here is the code I'm using, saved in Notepad:
Any advice would be gratefully appreciated. I'm running ads with Myspace and Facebook, and this is quite embarrassing.
Thanks In Advance
Edited by WorldFallz - added <code> tags.
_
When I view the source of your page, I don't see 'forward.swf' mentioned anywhere. There's only "http://www.germanejermaine.com/files/38714613.swf" mentioned at all and it's looking in /files not the drupal root (and not the standard d6 files directory either).
STILL HAVING TROUBLE WITH EMBEDDING .SWF FILE...
Hi, WorldFallz:
Is there a remedy you can recommend? I can't tell you how relieved I am that you even reached out.
Your CT Author Friend...
_
There's really not enough info to say-- the code you posted looks like it should work, but that's not the code I see in the source of the page.
I only see a white box. Is there anyway you can help me with it
flash banner with javascript.
hello guys!!
I m facing a problem & hoping that u guys would solve this, i m working on conversion of a site in drupal. In page.tpl.php i have called javascript function, this function is written in a separate javascript file named includescrpt.js , The code in includescrpt.js looks like:
the problem is, it is running perfectly!! on front page , but showing blank on other pages, means no flash is displayed on other pages except the front page, why so?? is there anything else is needed or i m doing something wrong. i m still new to drupal , so Please help me guys!!
Thanks..
I have used this code but
I have used this code but slideshow is not visible at the header. M using marinelli(giordani) theme
Something to Try?!?
I am very new to this but I believe use set your dir to deep. Try removing c:/wamp/www/bhel/
Remove this
Remove this c:/wamp/www/bhel/themes/marinelli/img/banners/123-slideshow_com_142933.swf
and place code like this
http://localhost/bhel/themes/marinelli/img/banners/123-slideshow_com_142...
it will work.
how to add flash to the header ??
Hii
I have added the code[] to the page.tpl.php but show nothing change in it ..
So you please tell me what i will do now ????
Hello Pankaj Please show me
Hello Pankaj
Please show me your code ? or website url ?
Regards
Piyush Sharma
Hey ppl
I joined the "swf not showing club". I wrote it in page.tpl and it doesnt work, it shows me only the get adobe flash player button in mozzilla and it's a blank banner in chrome.
Here's the code:
Please help me out, thanks.
Solved
I just used this code: