Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 5:36 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2
Author Message
Posted: Tue Oct 06, 2009 7:45 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Oct 06, 2009 7:42 pm
Posts: 2
Hi, I just came across this post. I am currently trying to make a flash banner ad.
So far I have made the animation.
Can you help me with the coding you're discussing here?
Thanks so much!!!!


Top
  E-mail  
 
Posted: Wed Oct 07, 2009 3:00 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jul 09, 2008 4:57 pm
Posts: 14
Thanks for this mod Petern. It's fantastic! One thing though...Have you tried if the submenus are still viewable -and not hidden behind the Flash banner- using FireFox in Linux? I believe that;s the only situation where your fix doesn't work....


Top
  E-mail  
 
Posted: Thu Oct 08, 2009 1:28 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Feb 21, 2006 6:09 am
Posts: 66
hellomonday wrote:
Hi, I just came across this post. I am currently trying to make a flash banner ad.
So far I have made the animation.
Can you help me with the coding you're discussing here?
Thanks so much!!!!


Happy to help - what exactly is it you need to do?

Basically the code I added, (plus the x.gif file) are modifications to the existing banner module in Joomla. You will need to be comfortable editing PHP files to add the modifications, but its not difficult for the basic PHP coder. If you have no programming experience, PM me..


Top
  E-mail  
 
Posted: Thu Oct 08, 2009 2:57 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Oct 06, 2009 7:42 pm
Posts: 2
HI - Thanks alot for your response.
I tried to PM you, but unfortunately the forum won't let me since I don't have 5 posts.
Can you PM me?


Top
  E-mail  
 
Posted: Tue Oct 27, 2009 9:18 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jul 10, 2009 3:08 pm
Posts: 5
I have no php experience ;)

Really

edit:

nvrmind - the snippet works fab. Again, thanks for the solution to this mind-boggling problem for us not-php-experienced ;)


Top
  E-mail  
 
Posted: Thu Oct 29, 2009 7:25 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Aug 23, 2008 3:38 pm
Posts: 1
I must just say THANK YOU for that modification. :D


Top
  E-mail  
 
Posted: Fri Oct 30, 2009 1:04 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Feb 21, 2006 6:09 am
Posts: 66
No Probs - glad its useful - tried to get it added to the Joomla 1.6 core, but they rejected it saying its a fix for Joomla 1.5.. (its actually an enhancement)

D'oh..


Top
  E-mail  
 
Posted: Tue Nov 03, 2009 4:56 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Oct 13, 2008 9:10 am
Posts: 27
Hello all,

Sorry for this naive question but..

how do you place a flash banner using joomla 1.5.14?

It works fine with pictures but with flash, nothing is displayed:

This is the file: http://xxxx.com/images/banners/gcbanner_728x90.swf

And this is the code : <a href="http://customer-abc.com/" target="_blank" title="GC"><img src="http://xxx.com/banners/gcbanner_728x90.swf" width="728" height="90" border="0" alt="GC" /></a>

Any help would be largely appreciated as I'm getting crazy with this!

Thanks!
;)


Top
  E-mail  
 
Posted: Sun Nov 08, 2009 4:52 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Sep 18, 2009 8:26 pm
Posts: 9
Great job petern and thanks a tonn for the code! Works great for us on Version 1.5.14

Also thank you djrojo for the additional comment and code for loop ... because of you I found this topic right away..!

I updated the code a little so the target selections work (open in a new / parent / pop-up window). I also replaced your gif with a blank.png file (attached) so it now works nicely with my IE png fixes. having said that I fully agree this code should be used as standard joomla patch so its easy for everyone to use swf files in the banner.


You do not have the required permissions to view the files attached to this post.


Last edited by Robert_ITMan on Sun Nov 08, 2009 5:28 am, edited 2 times in total.

Top
  E-mail  
 
Posted: Sun Nov 08, 2009 5:05 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Sep 18, 2009 8:26 pm
Posts: 9
tigger wrote:
Hello all,

how do you place a flash banner using joomla 1.5.14?

It works fine with pictures but with flash, nothing is displayed:



tigger -- I hope this helps: Upload your swf file to /images/banners then in your banner settings select the file with Banner Image Selector and dont use Custom Banner Code. If the swf is still not showing my first guess is that you dont have the banner published under modules, or your template isn't loading the banner, verify all your settings:
Check your banner
Check your category
Check modules "Banner"
Check your template file (/templates/ja_purity/index.php) for this code:
Code:
            <?php if($this->countModules('banner')) : ?>
         <div id="ja-banner">
            <jdoc:include type="modules" name="banner" />
         </div>
         <?php endif; ?>


Top
  E-mail  
 
Posted: Mon Nov 09, 2009 7:02 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Feb 21, 2006 6:09 am
Posts: 66
tigger wrote:
Hello all,

Sorry for this naive question but..

how do you place a flash banner using joomla 1.5.14?

Thanks!
;)


Hi Tigger, as RobertIT said, you should use the Joomla Banner system to add the banner and select it from the list, not use the Custom Code area. If the selected banner is flash, Joomla will automatically insert an OBJECT and EMBED command that will allow the swf to display on the page - the code you have shown us is not valid code to show flash, it is for images only...

Hope that helps!
Pete


Top
  E-mail  
 
Posted: Mon Nov 09, 2009 9:36 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Oct 13, 2008 9:10 am
Posts: 27
Hi,

Thanks,
Actually, it works with custom code, but only when the file is served by my client..

Thanks anyway! ;D


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2

Quick reply

 



Who is online

Users browsing this forum: brduran, bvana1, CPTflconX, fluffybunny, gws, ioanna, JBMoney, jlsiler, jmuehleisen, kakibus, kramelet, ranwilli, rhrueda, tek0011, thelumpster and 118 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group