Hello,
I am trying to use a flash file that contains the site name in place of the text that is input into the 'Site Configuration' > 'Site Information' > 'Name' field. Any direction is appreciated.
Thanks,
Andy
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | style.css_.txt | 20.69 KB | afolz |
| #4 | page-front.tpl_.php_.txt | 7.83 KB | afolz |
Comments
Comment #1
danpros commentedHi,
You can do that by modify the page-front-tpl.php and page.tpl.php
Maybe the solutions
Adding new classes in style.css
Dan,
Comment #2
afolz commentedThank you. I will be able to try this in a day or two.
Andy
Comment #3
danpros commentedHi Andy,
I'll closing it, please re-open if you need more helps.
Thanks,
Dan
Comment #4
afolz commentedHi, I've set status back to active in hopes of re-opening this. I've tried the suggested steps and the logo is not displaying, although it is much closer to working than before the generous help. I think I am not clear on what is needed in the css file so that the flash plays. I am including my page-front.tpl.php and my style.css files. I have inserted into the page-front.tpl.php the code that plays the flash file on our current (non-drupal) home page. Thanks again for any and all help. Also my .swf file is in the same folder as my page-front.tpl.php file, etc.
Thanks,
Andy
Comment #5
danpros commentedHi Andy,
I'm busy lately :)
You can put the swf files directly to the theme (page-front.tpl.php and page.tpl.php), just upload the files in your server. How you put the swf files in your other site?
Comment #6
afolz commentedI will give it a try, I have found the code that the original developer used to embed now. I am very new and learning. Thanks much for the help and generous time.
Andy
Comment #7
afolz commentedThis is working using the suggestion provided. Thanks very much for the assistance.
Andy
Comment #8
JC8008 commentedDan
Love the theme. How do I replace the slideshow banner with a .SWF slideshow, so it plays instead of your slide show.
Thanks Joe
Comment #9
JC8008 commentedIf you could help, I would really appreciate it. I have loaded every possible module . I can/t work it out. I can replace the pictures easy enough, but I would like to display a .SWF slide show instead. Is that possible. I am new to css code, and don't want to rip up yours.
Thanks
Comment #10
danpros commentedHi,
Image slideshow to .swf? you can read this post.
Thanks,
Dan
Comment #11
JC8008 commentedWould this be the correct code
I only have one slideshow.swf files, which runs automatically. I have put "blank" for the other pictures.
Thanks
Comment #12
danpros commentedHi,
Yes that is okay, you can remove all images if you want. The slideshow is automatically so if only one object between the slideshow classes then no slideshow will shown.
Comment #13
JC8008 commentedThanks Dan I don't understand what you mean by" only one object between the slideshow classes then no slideshow will shown. "
I changed the code, directory, file name, I can see X slideshow, but it does not run.
Thanks
Comment #14
Superuser21 commentedI do not have this file in the folder - page-front.tpl.php
I have this only- page.tpl.php
How do I get to the home page?
Comment #15
supriyarajgopal commentedHi Superuser21,
You won't have that file(page-front.tpl.php) in your sites/all/themes/templates folder; you gotta create one.
1. Create a file 'page--front.tpl.php' if you are on Drupal 7
2. Copy the entire contents of page.tpl.php into page--front.tpl.php
3. Make the desired changes (adding
4. Save
5. Go to admin/config/development/performance in your Drupal site and clear cache.
You will see the changes made.
Comment #16
kunal_kapoor commentedComment #17
kunal_kapoor commented