Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-03-28 12:57:56
- joel
- Member
- Registered: 2004-11-26
- Posts: 162
Flash movie as a welcome-page
Hi,
I have a client who requests a shorter fullscreen (or pop up) flash intro for the actual website. I guess I’ll need to modify index.php in some way, but I’m not much of programmer so all help on this is appreciated.
Thanks in advance!
Offline
Re: Flash movie as a welcome-page
The fastest way to solve your problem might be to tell your client, that you are not able to do a flash intro!
Some other ideas:
Pop Up:
- Add the javascript that popup the flash window into your pages head at presentation tab
- Add a index.html with the intro to your root and make sure that
DirectoryIndex
prefers index.html . After the intro point to index.php - Add a new page at presentation and use that one as default page. This page contain nothing else then the flash intro.
- Point every user with an HTTP referer outside your domain to the flash intro by
<?php header('Location:flash.swf"); ?>
However there is no need to modify the index.php
Offline
Re: Flash movie as a welcome-page
Perhaps I’m missing something, but cant you just create an (otherwise empty) page for the default section, and just embed a swf file?
Last edited by mrdale (2007-03-28 15:25:03)
Offline
#4 2007-03-28 15:36:30
- EddieG5
- Member
- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: Flash movie as a welcome-page
mrdale wrote:
Perhaps I’m missing something, but cant you just create an (otherwise empty) page for the default section, and just embed a swf file?
Yup, that’s what I’d do.
Offline
Re: Flash movie as a welcome-page
alternatively install txp in a subdirectory
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Flash movie as a welcome-page
If you simply embed on a default page, you still get to manage your entire site through txp.
Offline
Re: Flash movie as a welcome-page
In your default page:
<txp:if_category>
<!--category listing-->
<txp:article />
<txp:else />
<txp:if_search>
<!--search results-->
<txp:article />
<txp:else />
<!--home page-->
<!--Embed flash: http://www.webstandards.org/2006/08/15/valid-flash-video-and-audio-embed-object-markup/ (or use SWFObject)-->
</txp:if_search>
</txp:if_category>
Last edited by jm (2007-03-29 02:51:52)
Offline
#8 2007-03-29 09:24:29
- joel
- Member
- Registered: 2004-11-26
- Posts: 162
Re: Flash movie as a welcome-page
mrdale wrote:
If you simply embed on a default page, you still get to manage your entire site through txp.
This became my solution! Thanks for all your answers! :)
Offline
Pages: 1