Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 09:57 pm EDT
Geeklog Forums
PHP Blocks Question
Anonymous
Anonymous
I would like to include a flash swf file in a block:
I think the proper way to do this is to add a php function to the lib-custom.php file correct?
so I would have
function phpblock_myfunction()
{
$display .= "HTML Code to include a flash object";
return $display;
}
Does anyone know if the above code will work properly as outlined, or do I need to do anything else?
Is there a simpler way without having to code a custom function?
Thanks
8
2
Quote
Status: offline
Chalkhillian
Forum User
Chatty
Registered: 09/23/02
Posts: 67
Anonymous
Anonymous
Wow, I didnt lnow I could do that... duhh (I pulled a homer simpson) lol
Thanks Dirk
7
7
Quote
Anonymous
Anonymous
Hi,
I'm actually a flash Geek (no pun intended), so I can reproduce the Zoomable image slider without a problem so there is no need for you to provide the flash embed code.
Thanks, My question was geared more towards the custom function and what I needed for it. Now that I can use a normal block, I think I'm all set.
Thanks!
9
5
Quote
All times are EDT. The time is now 09:57 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content