flash logo header problems.

flash logo header problems.

by Christopher Hillman -
Number of replies: 44

hi... Before we start, i have read the many other peoples problems with flash logos and also the complaints that it is slower running. I'm trying to add it anyway despite the problems...

My problem is that i edit the line of code here

<?php if ($home) { // This is what gets printed on the home page only

?>

<?php print_container_start(true, '', 'header-home'); ?>

<h1 class="headermain"><?php echo $heading ?></h1>

<div class="headermenu"><?php echo $menu ?></div>

<?php print_container_end(); ?>

and change it to this... (Keep in mind im terrible with php... this is actually the first time im using it.)

<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain

if ($home) { // This is what gets printed on the home page only

?>

<?php print_container_start(true, '', 'header-home'); ?>

<h1 class="headermain

<script type="text/javascript">

AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','970','height','146','align','absmiddle','title','headershalve','src','header','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#660000','movie','header' ); //end AC code

</script>

<noscript>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="970" height="80" align="absmiddle" title="header">

<param name="movie" value="Flash Shavley campus.swf" />

<param name="quality" value="high" />

<param name="loop" value="true" />

<embed src="="<?php echo

$CFG->themewww.'/'.current_theme() ?>/pix/bg/header.swf" width="970" height="80" align="absmiddle" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#660000"></embed>

<h1 class="summary"><?php echo $COURSE->summary ?></h1></h1>

The parent theme which i am using is Sky_High by moodleman. I'm not sure if my coding is wrong, and if it is, can someone point me in the right direction.

My problem is that when i preview the theme after saving it; the original header is gone but my header is not showing either. The text from my database just shows ";>" where it is supposed to say "Personalised Learning Plan" and the flash thing that im implementing does not show. If you need screenshots or uploads of particular files please let me know; as i need desperate help, im trying to personalise my website to make it similar to the school website; to do so, i need the flash images working.

Thanks in advance.

Chris.

<?php print_container_end(); ?>

i have the header.swf in the same place the header.gif is located. (theme\pix\bg\header.gif)//(theme\pix\bg\header.swf)
Average of ratings: -
In reply to Christopher Hillman

Re: flash logo header problems.

by Steven A -
There are a couple of concerns I can see with the code you've provided.

  1. AC_FL_RunContent. In addition to having this script in your header.html file, you need to have the AC_FL_RunContent.js file on your server. But let's take a different approach for the sake of clarity. We really don't need such code for putting a simple Flash banner into the header, so get rid of all of this:

    <script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','970','height','146','align','absmiddle','title','headershalve','src','header','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#660000','movie','header' ); //end AC code</script>

  2. Flash Shavley campus.swf. Flash filenames can't have spaces. You'll need to change the filename to FlashShavleyCampus.swf or something like that with no spaces. Also, include the full, absolute link starting "http://.......swf".

  3. header.swf: This filename should match the filename in #2, with no spaces.

  4. $CFG->themewww.'/'.current_theme() ?>/pix/bg/header.swf. This is interesting. I've never tried to use a dynamic link as part of Flash code, but my guess is that Flash ain't gonna like it. Change this link to an absolute link, as in #2: "http://..............swf".

  5. There isn't a closing </object> tag anywhere.

Well, after all of that, it might be a good idea to just start over again and try the following code:

------------
<object width="970" height="80" align="middle" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"> <param value="sameDomain" name="allowScriptAccess" /> <param value="false" name="allowFullScreen" /> <param value="http://..........swf" name="movie" /><param value="high" name="quality" /><param value="#660000" name="bgcolor" /> <embed width="970" height="80" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowfullscreen="false" allowscriptaccess="sameDomain" bgcolor="#660000" quality="high" src="http://...........swf" /></object>
-------------


Make sure to update all relevant info that I've bolded (height, width, background colour, link to the SWF). Please report back and let us know if it works.
In reply to Steven A

Re: flash logo header problems.

by Christopher Hillman -
yeah thankyou for the update i have a little question. with the param value the http:// if i changed that to say T:\ would that work? the T drive is where the file is located. If not, i'll update it and upload it to a webserver so that it will run. Thanks in advance. Sorry for the late reply, i only work on certain days at the school itself.
In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -

okay i tried using your code and uploading the file to the actual moodle website so that i could display it. im still getting the same problem, i'll give a screenshot and a copy of the actual file which im using; maybe that will give you some ideas. The file itself may be too large. Which is why the height and width were added. anyway. Here you go. This is the new code i am using.

<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain

if ($home) { // This is what gets printed on the home page only

?>

<?php print_container_start(true, '', 'header-home'); ?>

<h1 class="headermain"><object width="970" height="80" align="middle" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"> <param value="sameDomain" name="allowScriptAccess" /> <param value="false" name="allowFullScreen" /> <param value="http://10.11.202.139/file.php/1/sitefiles/header.swf" name="movie" /><param value="high" name="quality" /><param value="#660000" name="bgcolor" /> <embed width="970" height="80" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowfullscreen="false" allowscriptaccess="sameDomain" bgcolor="#660000" quality="high" src="http://10.11.202.139/file.php/1/sitefiles/header.swf" /></object>

<h1 class="summary"><?php echo $COURSE->summary ?></h1></h1>

<?php print_container_end(); ?>

I think i might be missing something in my styles_layout.css file considering i dont seem to have one in the area specified; instead it is called theme.css; not sure if that makes a difference, but for now i've edited the #header-home section to look like this;

#header,

#header-home

{

background: url(http://10.11.202.139/file.php/1/sitefiles/header.swf) top right no-repeat #9cdbfa;

height: 48px;

padding: 16px;

font-size: .98em;

border-bottom: 2px solid #fff;

border-top: 1px solid #fff;

once again im sure i've done something wrong or missed something. Anyway sorry for the trouble; im just not so experienced with php and css, i'm slowly getting used to it and im learning off the codes provided. Thanks once again in advance

Chris Hillman.

PS. note the uploaded files

In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -

here is the second one... since i cant seem to upload both in a zipper folder (exceeds 100 kb)

Note i have left the url up the top because it is on an intranet and cant be accessed over the internet.

moodlesite.jpg

In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
For what it's worth Christopher, I'd like to add my two cents worth.

You DO NOT put your .swf file in your CSS you need to add it as an object in you header.html file of your theme.

You can add a separate css selector for the flash object, if you want to, which will enable you to position the .swf file within the header once you have it working, add padding, margins, borders etc.

I used the following code to add a shockwave-flash file (.swf) in a non-moodle website I maintain. The code is W3C standards compliant - see article - http://www.alistapart.com/articles/flashsatay

<object type="application/x-shockwave-flash" data="http://10.11.202.139/file.php/1/sitefiles/header.swf" width="970" height="80">
<param name="movie" value="http://10.11.202.139/file.php/1/sitefiles/header.swf" />
<param name="bgcolor" value="#660000" />
</object>

The above code is extremely minimalist, I know, but I guarantee you it will work.

I've just read your last post so I have added the filename you supplied and also height & width.

All the best...

Hope this helps

Mary
In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -
so in otherwords i should change the css file back to the original format? im about to try this code and thankyou for the headsup
In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -
still no luck, same problem the "> is showing, old banner is showing but the one i posted is not.
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Yes...put your CSS back to what it was.

I'm about to add a demo theme I'm working on and I've just make a small swf file to demonstrate the ease of getting flash logo header to work with little or no effort....it's that easy!

Give me a few minutes to upload the files...then you should be able to see it HERE

Fingers crossed!!! smile

In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -
i can see the theme but the flash doesnt seem to be working, it registers that its there but it just stays black.
In reply to Mary Evans

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Chris,

Here's where I added my code for the Flash logo I just made and uploaded...which you can see HERE

<h1 class="headermain"><object type="application/x-shockwave-flash" data="http://127.0.0.1/moodle/theme/wood/welcome.swf" width="600" height="100">
<param name="movie" value="http://127.0.0.1/moodle/theme/wood/welcome.swf" />
<param name="bgcolor" value="#000000" />
</object>
</h1>

You just need to delete this little bit of code <?php echo $heading ?>
which is in the middle of the <h1></h1> tags


Other than that I didn't touch ANY php code. That's all you need to do.
But you MUST make sure that the you have the ABSOLUTE file reference for the swf file.

Also...just a thought. Which browser are you using? It should work in IE6, IE7, IE8, FireFox & Safari.

Mary
In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -

alright i think i can get it working with that my problem is now that my files are located on the T:\ drive. which is the teacher drive, the actual link to the swf file is... T:\Moodle Server\server\moodle\theme\chifley\pix\bg\header.swf how would i incorporate that into the code.. Thanks in advance. Btw i really like the colors, i love black and red myself, unfortunately the higher ups decided they wanted nice bright colours.

PS im using IE 6 i believe, i shall update it later, but that would require a schoolwide update. Next on the agenda is do i delete the summary code and just add ur code between <h1> and </h1>

In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Best way to do this is using your browser go to File>Open File...then look for the swf in you T:\ drive if it works in your browser just copy the address from the address bar and drop it into the code where the file name is for example...

<h1 class="headermain"><object type="application/x-shockwave-flash" data="T:\Moodle Server\server\moodle\theme\chifley\pix\bg\header.swf" width="970" height="80">
<param name="movie" value="T:\Moodle Server\server\moodle\theme\chifley\pix\bg\header.swf" />
<param name="bgcolor" value="#000000" />
</object>
</h1>
In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -
for some reason it is still doing the same thing. it clearly does not love me
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Perhaps you are not viewing the page properly. Your on an INTRA-NET right?

Is the Moodle theme you are working in the T: Drive you keep mentioning?

If the answer is NO...can you upload a copy of the swf into the themes folder you are currently working on?




In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -
the swf file is in that exact location mentioned above, which is in the Moodle Themes folder. I have full acess to all files in moodle as im the one who created it at our school from scratch, i've hit the roadblock at this point when customising the theme. Other then that everything is working perfectly fine.
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
In that case try this...create a new header.html file with this code (see below) in it...saving your original as header-bak.html first... if this works then all I can sumise is that you need to resolve the address of the swf file in question...




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html<?php echo $direction ?>>
<head>
<?php echo $meta ?>
<meta name="keywords" content="moodle, <?php echo $title ?> " />
<title><?php echo $title ?></title>
<link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
<?php include("$CFG->javascript"); ?>
</head>
<body<?php
echo " $bodytags";
if ($focus) {
echo " onload=\"setfocus()\"";
}
?>>

<div id="page">

<?php if ($home) { // This is what gets printed on the home page only
?>
<?php print_container_start(true, '', 'header-home'); ?>
<h1 class="headermain"><object type="application/x-shockwave-flash" data="http://www.shalvey-h.schools.nsw.edu.au/Flash/Flash%20Header%20Chifley%20College.swf" width="970" height="100">
<param name="movie" value="http://www.shalvey-h.schools.nsw.edu.au/Flash/Flash%20Header%20Chifley%20College.swf" />
<param name="bgcolor" value="#000000" />
</object>
</h1>
<div class="headermenu"><?php echo $menu ?></div>
<?php print_container_end(); ?>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
<?php print_container_start(true, '', 'header'); ?>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
<?php print_container_end(); ?>
<?php } ?>
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
<div class="navbar clearfix">
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
<div class="navbutton"><?php echo $button; ?></div>
</div>
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
?>
<hr />
<?php } ?>
<div class="clearer">&nbsp;</div>
<!-- END OF HEADER -->
<?php print_container_start(false, '', 'content'); ?>

In reply to Mary Evans

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
I've just had a brainwave...perhaps it's the NOVELL Network platform for your college which is at fault, not rendering the swf as it should.

Just a thought...

I'm loggin out...before I drop off to sleep!

Goodnight or is that G'day smile

Hope your Flash Logo problem gets resolved...sooooon

Cheers

Mary
In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -
thankyou for the help and i think its novell also, i hate novell personally. The code didnt work, thus i am going to try converting it into a gif file.
In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -
okay i made a gif file and of the flash (animated gif so that it still runs just like the flash) and it worked when i named it header.gif and just replaced the original header.gif. now i need to know how i can go about resizing it without changing the header.html code. if i need to change the header.html code; how can i go about doing this while still keeping the original parameters.
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Chris,

This all depends what you want to change. If it's the size of the image, then the easiest is to change it in your header.html by adding the height and width values in the img tag, that's assuming you have put an <img scr=".../header.gif> tag inside your <h1></h1> tags?


In reply to Mary Evans

Re: flash logo header problems.

by Thomas Hanley -
Hi Mary & Chris,

Well done for plugging away at this issue : )

Are you sure this is resolved though? Maybe I have missed something but when I go to your site this is what I see (screenshot from IE8):

swf embedding in Moodle header

Have also tested in Firefox 3 and don't see any Flash in the header.

~thomas
In reply to Thomas Hanley

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
LOL...That's because I left the URL unchanged from the location on my localhost in all the excitement last night!!!

I think you will find it works OK now http://webdesign.visible-expression.co.uk/
In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -
okay im back, can you show me an example of that code if possible, :P its 9:19 am here so its work time for me, i'll be on again all day, because if i get an example i have found something small out. For my theme i did need to edit the CSS coding for some reason it has an url inbuilt already and the logo only shows if change both, im going to attempt to slowly create my own theme since the higher ups have decided i no longer have a deadline on the creation of the theme.
In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -

Im going to try modifying the wood theme just as you have done; this may be a key in helping me understand what im doing wrong smile

for some reason when im using firefox with firebug attachment; when i log into moodle, the administrators box wont show... im logged in on my administrators account... Any ideas? its working fine on ie...

NEVER MIND it just took 10 years to load :P

In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -

okay this is my current code sitting in the header.html for wood theme...

<?php if ($home) { // This is what gets printed on the home page only

?>

<?php print_container_start(true, '', 'header-home'); ?>

<div id="header-home" class="clearfix">

<h1 class="headermain">

<object height="100" width="600" data="http://10.11.202.139/file.php/1/sitefiles/header.swf" type="application/x-shockwave-flash">

<param value="http://10.11.202.139/file.php/1/sitefiles/header.swf" name="movie"/>

<param value="#000000" name="bgcolor"/>

</object> </h1> </div>

The strange thing it... it didnt change anything at all; its still sitting exactly the same looking just like the original wood theme nice and beautiful wood, no new logo; LOL

In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -
okay this is going to sound extremely weird but i dont think my site is reading the header.html file of the theme im selecting. My reasoning behind this is that im on my site using firefox with firebug and i hit inspect element; sounds good, it doesnt show the coding from the header.html; instead it shows the original coding; and guess what, i edit that coding in the firebug area, and wow the image actually shows where i want it :P. now i just have to find where i need to edit and add my code so that it actually works.
In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -
its default reading comes from

http://10.11.202.139/theme/standard/styles.php

but my theme directory is in T:\moodle server\moodle\theme\wood\styles.php

i dont get that....

Warning: Expected declaration but found '*'.  Skipped to next declaration.
Source File: http://10.11.202.139/theme/standard/styles.php
Line: 8226

got that from web developer addon

In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -

also i seem to be able to download that styles.php thingo, although i have never seen it before in my life, somehow i have no idea where the coding of that comes from, its really weird.

LOL WOW this is screwed up, i made a backup of the "standard theme" and renamed my "wood" theme which i was editing to "standard" then made a copy of it as a backup and selected standard as my default theme; the image actually shows up but all the gradiants and woods and stuff of the theme dont LOL atleast it means my coding is correct...

I'm thinking its something to do with novell screwing the pathing...

In reply to Christopher Hillman

Re: flash logo header problems.

by Frank Ralf -
Hi Christopher,

Only yesterday I stumbled across one of Moodle's security settings under "Administration > Security > Site policies":

Allow EMBED and OBJECT tags
(allowobjectembed) Default: No

As a default security measure, normal users are not allowed to embed multimedia (like Flash) within texts using explicit EMBED and OBJECT tags in their HTML (although it can still be done safely using the mediaplugins filter). If you wish to allow these tags then enable this option.

Perhaps this setting gets in your way?

hth
Frank

In reply to Frank Ralf

Re: flash logo header problems.

by Mauno Korpelainen -
Frank,

this setting controls only activities - not themes.

If the flash file is not rendered source should usually show the answer - either he is trying to get the file from wrong location (path), wrong file or wrong theme. Or some tags are broken/unclosed etc in source...

Christopher,

it might be easy to find the reason/solution if we could see the actual theme (zipped package) or theme online but your ip does not seem to open in www.
In reply to Christopher Hillman

Re: flash logo header problems.

by Mauno Korpelainen -
Not necessarely novell - if you have correct paths in your moodle config.php and correct settings in theme administration menu & correct way to call images or swf files in theme itself it should work just fine.

I tested your file on my local test box and your previous code worked ok in wood theme. Standard theme should remain as standard theme - don't change it - just modify renamed copies of standard theme or other custom themes and select themes that you want to use from site administration menu...


Attachment shalvey.gif
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Chris, sorry I was not on-line last evening. Tuesday is my day off, so I haven't been on-line today either! Well you seem to have been busy.

The WOOD theme is pretty neat and simple, and you should be able to modify it quite easily, provided you work on the WOOD theme files, header, footer, and styles_color.css don't even try to change anything else, and under NO account touch the standard theme files. If you need to adjust anything, add the extra css selectors onto the end of the style_color.css in the WOOD theme. That way you have control over what you are doing.

I'm assuming you have made a copy of the WOOD theme and renamed it? You shouldn't need to change anything at this point.

Because you are using a gif, you can add the image to the header in your CSS as a background-image: url(header.gif) top left no-repeat; to do this you need to store your header.gif in your newly named theme folder.

I'll try and answer your other queries if I can.

Cheers

Mary
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
If you have never come across the style.php before, then the theme you have been using previously must be an old one, that's my guess anyway.

The styles.php should be in your themes folder but has very little in it as it calls the styles it needs to run from the array listed in config.php. The thing about Moodle is the more you work with it the more you learn!

Ok...on to your other posts...

smile
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
OK...this answer is about your logo not working in your new 'wood theme'...


This is how your code should look in the header. I got your URL looking back on your earlier posts which gave me the clue to why it wasn't working yesterday. The reason is that http://10.11.202.139/ is your Localhost...OK this is the part you need in your header.html file...



<?php if ($home) { // This is what gets printed on the home page only
?>

<?php print_container_start(true, '', 'header-home'); ?>

<div id="header-home" class="clearfix">

<h1 class="headermain">

<object height="100" width="600" data="http://10.11.202.139/theme/chifley/pix/bg/header.swf" type="application/x-shockwave-flash">

<param value="http://10.11.202.139/theme/chifley/pix/bg/header.swf" name="movie"/>

<param value="#000000" name="bgcolor"/>

</object> </h1> </div>


Edit: Added as an after thought. You might like to alter the height and width to suit your header.swf ???

OK...good luck!!!

Mary




In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -

okay this is my problem; my wood theme is named chifley and my current theme selected is also chifley.

i have edited the actual code and checked and double checked it; both types of codes which i have used ARE correct, as checked by other people and with firefox, with firebug attachment.

i will upload my current theme folder and link it here... although i need an upload area that is not blocked since it doesnt allow me to upload things more then 100kb here can anyone link me to somewhere along those lines; anyway as i have said the code in my header.html is correct Mary, your original code was correct. but when i log into the actual website its not mirroring the code in the correct theme folder for header.html thats my current problem, no matter how i change the header.html file it doesnt change what shows on the site at all.

PS sorry for not replying yesterday; it was my day off :P todays thursday :P

PPS i've switched back to swf; purely to gain a better understanding, plus it looks better because its full size and i dont need to crop it, so its not as distorted when enlarged.

EDIT: here is my chifley theme.. if you want i can upload my entire theme folder..

http://www.sendspace.com/file/sygvtn

In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -

:D guess what...

I changed absolutely nothing.......  NOTHING..... and all of a sudden its working WOOT LOL.

EDIT... WOOPS its working but..... well....... no when i adjusted the size to 990 instead of 600.......... well... nothing happened as per usual LOL

EDIT: LOLOLOL i fixxed my problem, in order for the edit to actually work i actually have to create a copy of the theme i want to use and rename it something else then switch themes, if i switch and switch back it does nothing, dont ask me why but its working now :D

i have 5 wood themes atm, the original called wood, one called chifley which has the edited code but does not work, one called chifley2 which was an experimental folder, one called ZZZZ which has the header working not resized and the last called ZZZZZ which has the header working resized LOL

In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -

Thankyou everyone for your help it is really appreciated; it just goes to show that hard work and persistence pays off :D

and Mary thankyou as much time as you did helping me and looking into my problemsl it is much appreciated; now i get to attempt to look at the theme in its entirety and see if i can slowly customise it smile

In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Oh...I do like a happy ending!!!

I'm not quite sure why your theme doesn't work straight away after you load the amended files. Mine does after I refresh the screen that is. Could it be you are using a proxy server? Sounds like a cache problem. At least the .swf works now...which has to be good news.

I got the zip file...I'll load it on my website and take a look at it tomorrow.

If there is anything I can help you with let me know.

Cheers

Mary smile








In reply to Mary Evans

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hey you posted 1 minute before me!!!

You are more than welcome...I enjoyed the challenge.

Thank you!

M smile
In reply to Mary Evans

Re: flash logo header problems.

by Christopher Hillman -

i mnot using a proxy; unless you consider novell a proxy over a remote desktop, but i dont believe so, however its working alright and i dont mind, just adds an extra step to add things; now i just need to think of some suitable colours to go with that flash heading :P i was thinking a pale blue, sort of like the sky high theme but i think i might have an attempt at making my own, cause thats how one learns after all :P

changing the gradients doesnt seem that hard; the hardest part is actually making the gradient :P

In reply to Christopher Hillman

Re: flash logo header problems.

by Christopher Hillman -
when someone is able to.. can they do me a massive favour and use the code above which is provided by mary and give it to me with the added alignment to center because i cant seem to get it working..
In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Chris,

I tried the Theme you posted in the zip file. There was something wrong with the header.html so I pasted the code into your backup copy of header.html and that work OK. The flash object is not resizing as it should. I'm not sure why, but I'll be taking a look at it later today, and hopefully come back with a solution.

Mary



In reply to Christopher Hillman

Re: flash logo header problems.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
OK...here's the CSS you need to ADD at the END of the styles_color.css file which should fix the problem of centering the flash object. This works fine in screen resolutions from 1024x768 to 1280x1024 I can't say what a higher res would look like but I'm guessing much the same as the header should resize accordingly.

You can download header.html from HERE


/** Changing some header properties **/
h1.headermain {
margin: 0;
padding: 0;
width: 100%;
text-align: center;
background: #000000;
}

h1.headermain object {
display: block;
margin: 0 auto
}

.headermenu {
width: 100%;
margin: 0;
padding: 0;
font-size: 90%}

screenview.jpg
Average of ratings: Useful (1)