Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2007-03-28 13:59:50

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

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
Fullscreen:
  • 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

#3 2007-03-28 15:24:17

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#5 2007-03-28 16:38:10

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

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

#6 2007-03-28 17:31:30

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#7 2007-03-29 02:50:53

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

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

Board footer

Powered by FluxBB