PDA

View Full Version : Problems with adapting EE


Cyclist
15th of May 2006 (Mon), 04:56
On each page there is following code on top of the page:

<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000"><tr><td width="1" bgcolor="#515151"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#334255"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#37475B"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#3C4E64"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#40536B"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#42556D"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#43576F"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#455972"><img src="./graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr></table>

Where do I find this code? I don't need it and want to remove it from my gallery but I don't know where it is. Thanks.

MikeCaine
15th of May 2006 (Mon), 07:24
What I normally do in this situation is use the likes of Homesite to do a find and replace, using the same block of text for both, on the directory that holds my local copy of the site and all of the files.

This then tells me what files have been changed and I then know that the code is in that file(s)

However, I've tried this with the above code, and smaller parts of it, and haven't managed to find it yet.

MikeCaine
15th of May 2006 (Mon), 07:37
It could be this block of code -

<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000"><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_news_back_color,".4"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_back_color,".75"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_back_color,".8"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_back_color,".88"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_back_color,".94"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_back_color,".96"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_back_color,".98"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr><tr><td width="1" bgcolor="#<?php print ee_hexcolorshifter($s_back_color,"1.0"); ?>"><img src="<?php print $toroot; ?>graphs/x.gif" width="1" height="1" alt="" border="0"></td></tr></table>

- if it is, then it's in photo.php at around line 2561

Cyclist
15th of May 2006 (Mon), 07:39
Sometimes it is impossible to find strings by "search" because it's generated by php. And it probably depends on your style settings (colors etc.). It is only displayed on pages containing EE, all othe pages doesn't have this code. It has to be somewhere in EE but I just have no idea where.

MikeCaine
15th of May 2006 (Mon), 07:43
I think I found it, see my post just before yours

Cyclist
15th of May 2006 (Mon), 15:43
I think I found it, see my post just before yours

modifying photo.php doesn't have any effects but it was the first hint. I figured out that I have to remove the code from subheader.php to remove it from all views.

NetButch
23rd of May 2006 (Tue), 14:08
I think its in the header.php file... but remember if you have languages, the you have to go to the header.php file in your specified language folder.. .mine was in the "eng" folder because I use English.

hope this helped
Butch

MikeCaine
23rd of August 2006 (Wed), 07:39
modifying photo.php doesn't have any effects but it was the first hint. I figured out that I have to remove the code from subheader.php to remove it from all views.

Thanks, I just had the same problem myself and remebered this thread.