Jump to content

Need To Insert Own Header


Guest hieloiceberg

Recommended Posts

Guest hieloiceberg

Hello guys

How can I edit the header part so I can add my own flash and links to it or is there a way that I can just change the logo image for a flash file or is there a way that index.tpl can call a header.php file

Thank You very much. :mellow:

Link to comment
Share on other sites

Guest hieloiceberg

If you know your way around css then you should look in the css skin files. It calls the header img from the css. You can alter that.

I have found that file but you think if I edit the getLogo.php it will call the flash insted the image?

Thank you

Link to comment
Share on other sites

Guest hieloiceberg

you can use the css and change the setting to call a different file. You dont need to use the getLogo.php file

Thanks but did not work I already try that and no luck :)

Ok this is what I did if is any help to any one but is not exactly what I wanted lol but it did work fine

1)

I create a new folder to the root of the script call flash and of course I made my own flash banner with this dimensions 767x90 and inserted in to the new flash folder I created

2)

Then I create a banner.js file with this code calling the flash banner on the folder flash

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="767" height="90">');

document.write('<PARAM name="movie" value="http://your_path_site/flash/banner.swf">');

document.write('<PARAM name="quality" value="best">');

document.write('<PARAM name="menu" value="true">');

document.write('<EMBED src="http://your_path_site/flash/banner.swf" quality="best" menu="true" width="767" height="90" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');

document.write('</EMBED></OBJECT>');

and save it in the folder call js

3)

I edited the index.tpl file located in the skin I’m using

skins/Carreta-Soft/styleTemplates/global/index.tpl

and add this code to call the banner.js file just under the </head> and it looks like this

</head>

<div align="center">

<script type="text/javascript" src="js/banner.js"></script>

</div>

Hope it helps any one to add a banner I realy wanted a new header :mellow:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...