Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:35 pm EST

Geeklog Forums

flash_for_geeklog install confusion


Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
hopeful
Hi,

I'm trying to install the flash_for_geeklog plugin or addon, I'm not sure which it is.

I need to add the following code
Text Formatted Code

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="480" height="80" id="logo" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{layout_url}/images/logo.swf?effecttexturl={site_url}/flash.php" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="{layout_url}/images/logo.swf?effecttexturl={site_url}/flash.php" quality="high" wmode="transparent" width="480" height="80" name="logo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>




 

to the header.thtml file for the ClearBlue theme, which is
Text Formatted Code
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={charset}">
<title>{page_title}</title>
<meta name="description" content="{page_title}">
<meta name="robots" content="INDEX,FOLLOW">
<link rel="shortcut icon" href="{site_url}/favicon.ico">
<link rel="stylesheet" type="text/css" href="{css_url}" title="{theme}">
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000">
<table class="maintable" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<table class="welcome" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td id="logo" height="60" width="300" rowspan="2"
valign="middle"><h1><a href="{site_url}"><img src="{layout_url}/images/logo.gif" alt="{site_name}" width="183" height="70" border="0" align="middle"></a></h1></td><td height="40" width="100%" align="right"
colspan="2" nowrap>  </td></tr><tr><td valign="bottom"
align="right"><form action="{site_url}/search.php" method="get"><table><tr><td
height="20" valign="bottom" align="right" nowrap><input type="text" name="query"
class="menusearch" size="25" maxlength="50"><input type="submit"
value="{button_search}"><input type="hidden" name="type" value="all"> <input type="hidden" name="mode" value="search">
                                        </td></tr></table></form></td></tr>
<tr><td class="menubar" width="100%" colspan="3" align="left" nowrap><img alt="" border="0"
src="{layout_url}/images/plugin-menu-button-left.gif" height="29" width="13"
align="middle">{menu_elements}<img
src="{layout_url}/images/plugin-menu-button-dividers.gif" alt="" border="0"
align="middle"></td></tr>
<tr><td colspan="1" align="left" nowrap> {welcome_msg}</td><td colspan="2" align="right">{datetime} </td>
</tr>
</table>
<table class="maintable" border="0" cellspacing="3" cellpadding="0" width="100%">
    <tr>
        {left_blocks}
        <td width="100%" valign="top">





 

But I don't know how to merge the two.

Would anyone have any ideas?

I did have a go, but ended up with two flash titles, one in the usual place and an extra one above the featured article.

Shane

Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
happy
What a great addon!

I got it working now. If anyone's interested here's how I placed the code
Text Formatted Code
...........<tr><td id="logo" height="60" width="300" rowspan="2"
valign="middle">

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="480" height="80" id="logo" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{layout_url}/images/logo.swf?effecttexturl={site_url}/flash.php" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="{layout_url}/images/logo.swf?effecttexturl={site_url}/flash.php" quality="high" wmode="transparent" width="480" height="80" name="logo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

 </td></tr><tr><td valign="bottom"
align="right"><form action="{site_url}/search.php" method="get"> <table><tr><td.......................
 

Shane
Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

tesn

Forum User
Chatty
Registered: 10/23/02
Posts: 41
Location:Magnolia, Texas
What code do you replace with the new code??
John
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
you would replace the old logo image:
Text Formatted Code
<h1><a href="{site_url}"><img src="{layout_url}/images/logo.gif" alt="{site_name}" width="183" height="70" border="0" align="middle"></a></h1>
 
with the entire
Text Formatted Code
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="480" height="80" id="logo" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{layout_url}/images/logo.swf?effecttexturl={site_url}/flash.php" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="{layout_url}/images/logo.swf?effecttexturl={site_url}/flash.php" quality="high" wmode="transparent" width="480" height="80" name="logo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
 

in public_html/layout/yourtheme/header.thtml

Enjoy!
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

All times are EST. The time is now 11:35 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