Skip to content

dart-creations.com

Advertisement
Home arrow Forums
DART Creations Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Favoured: 1
TOPIC: flash not showing
#693
Re:flash not showing 5 Months, 3 Weeks ago  
Hi ya i have changed back to the original module so you can see if any think happens. www.brandlab.com.au/development/ all is fine in safari its just firefox...
 
Logged Logged  
  The administrator has disabled public write access.
#694
Re:flash not showing 5 Months, 3 Weeks ago  
Could I be so rude to ask you to post or email a zipped version so that I could test it on my template please.

james@brandlab.co.uk
 
Logged Logged  
  The administrator has disabled public write access.
#695
Re:flash not showing 5 Months, 3 Weeks ago  
or if you could paste up your code that you change in the php file...
 
Logged Logged  
 
Last Edit: 2009/05/29 02:48 By mckenzie.
  The administrator has disabled public write access.
#696
DART ()
User Offline Click here to see the profile of this user
Re:flash not showing 5 Months, 3 Weeks ago  
Yeah, could you post it here, so that I can put upload it for other people to use it too
 
Logged Logged  
 
Last Edit: 2009/05/29 03:01 By DART.
  The administrator has disabled public write access.
#698
Re:flash not showing 5 Months, 3 Weeks ago  
Changing the Random Image module into a Random Flash module is not very difficult.

- Open the file 'default.php' in the directory '/modules/mod_random_image/tmpl/'. This file contains the following line of code:

<?php echo JHTML::_('image', $image->folder.'/'.$image->name, $image->name, array('width' => $image->width, 'height' => $image->height)); ?>

- Change this into:


<embed src="/images/stories/banners/' . $image->name . ' " autostart="true" loop="true" width="420px" height="150px" hspace="0" vspace="0" border="0" quality="high" wmode="transparent" bgcolor="#ffffff" >

- save the file.

You now have a Randon Flash module that shows a randomly selected .swf file from the directory '/images/banners/'. I know I did this very, very crude as I did not need more flexibilty than that but I'm sure that you can figure out what to change in this line of code to accommodate for the directory to be variable, perhaps also adjust size etc. Maybe even pass more variables like autostart and backgroundcolor etc. Perhaps you can do that David ?

I'm also sure that somebody with more time and insight than I can turn this into a separate module so you can keep the existing Random Image module. Anybody...?

Hope this helps, love to see what can be done with it by more experienced programmers.

Best regards,

Erik
 
Logged Logged  
  The administrator has disabled public write access.
#704
Re:flash not showing 5 Months, 2 Weeks ago  
Just bought the pro version, and cannot get it to appear on FF3.

Has anyone been successful with this?
 
Logged Logged  
  The administrator has disabled public write access.
Go to top

Sponsors

Login Form






Lost Password?
No account yet? Register

Buy us a beer!

If we've helped you, consider buying a beer €3. It will inspire us to keep on giving! Cheers!


Generated in 0.72564 Seconds