Jump to content

Changing the homepage logo image to swf flash !


Recommended Posts

Hey Guys
IF you want to change the Home logo and replace it by a flash swf file just open the editorial.tpl and replace like this :


<!-- Module Editorial -->


{if $xml->body->home_logo_link}body->home_logo_link|escape:'htmlall':'UTF-8'}" title="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}">{/if}
{if $homepage_logo}{$this_path}homepage_logo.jpgbody->$title|escape:'htmlall':'UTF-8'|stripslashes}" />{/if}
{if $xml->body->home_logo_link}
{/if}
{if $xml->body->$logo_subheading}{$xml->body->$logo_subheading|stripslashes}{/if}
{if $xml->body->$title}

{$xml->body->$title|stripslashes}

{/if}
{if $xml->body->$subheading}

{$xml->body->$subheading|stripslashes}

{/if}
{if $xml->body->$paragraph}
{$xml->body->$paragraph|stripslashes}
{/if}

<!-- /Module Editorial -->



to this example:
------------------

<!-- Module Editorial -->


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="523" height="240" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<embed type="application/x-shockwave-flash" width="523" height="240" src="flash.swf"></embed>
</object>



<!-- /Module Editorial -->

hope you enjoy it !
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years later...
  • 8 months later...

i found this ?

 

its somehow different from your coding, please tell wat code i replace ?

 

<!-- Module Editorial -->

<div id="editorial_block_center" class="editorial_block">

{if $xml->body->home_logo_link}<a href="{$xml->body->home_logo_link|escape:'htmlall':'UTF-8'}" title="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}">{/if}

{if $homepage_logo}<img src="{$this_path}homepage_logo.jpg" alt="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}" />{/if}

{if $xml->body->home_logo_link}</a>{/if}

{if $xml->body->$logo_subheading}{$xml->body->$logo_subheading|stripslashes}{/if}

{if $xml->body->$title}<h2>{$xml->body->$title|stripslashes}</h2>{/if}

{if $xml->body->$subheading}<h3>{$xml->body->$subheading|stripslashes}</h3>{/if}

{if $xml->body->$paragraph}<div class="rte">{$xml->body->$paragraph|stripslashes}</div>{/if}

</div>

<!-- /Module Editorial -->

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...