Landing page
Permalink
I want to build a landing page which uses a flash as the whole page. I am not sure how to build it. It seems that create another page type and use single page do not work, since they use the header.php and footer.php which have extra contents that I do not want to display on the landing page.
I really appreciate your help.
I really appreciate your help.
If you are creating a PageType, just omit including the header and the footer. You'll just see whatever is in the actual PHP file for the page type. Of course you won't be able to use the editing bare or see any of your normal theme elements, but the page will still load and render.
Thanks for your reply. But I also want to enable the edit function on this page. How can I achieve that? Thank you.
I covered this kind of thing in a blog post on my site:
http://www.mesuva.com.au/blog/technical-notes/adding-ajax-source-pa...
You should be able follow steps 1 and 2. The fact it's for 'ajax' purposes is sort of irrelevant, it's about creating a blank page that still has the editing controls. Just ignore any mention of javascript.
In short, you need to create cut down header and footer files and link them in.
On the other hand - flash landing pages are rarely, if ever, a good thing. They annoy people, don't work on iPads, etc, and create one extra barrier for people to access your site. Are you SURE you want a flash landing page? :-)
http://www.mesuva.com.au/blog/technical-notes/adding-ajax-source-pa...
You should be able follow steps 1 and 2. The fact it's for 'ajax' purposes is sort of irrelevant, it's about creating a blank page that still has the editing controls. Just ignore any mention of javascript.
In short, you need to create cut down header and footer files and link them in.
On the other hand - flash landing pages are rarely, if ever, a good thing. They annoy people, don't work on iPads, etc, and create one extra barrier for people to access your site. Are you SURE you want a flash landing page? :-)
Thank you so much :) I am not the one who made the decision to use the flash landing page :)
What you do is if you are in a meeting and someone starts using the words 'flash landing page', just start shaking your head from side to side, almost uncontrollably. Don't say anything (although a little whimper can help), just keep shaking your head. Keep doing this until they change their minds.
Works every time.
Works every time.
Thank you for your advice :) I will try it next time :)