Hey Everyone, I'm a n00b at all this stuff. I'm learning as I go so please understand I don't know everything there is to know about code. With that said, I need some help bad! Last night I was looking into building a much needed site map and I realized that the site map would be useless without the top menu available to non members. A year ago I decided to hide it as per DeeEmm's mod...
http://www.boonex.com/m/FREE_MOD_DeeEmm_Hide_Menu_Bar_from_Guests
This was something I implemented early in the game to deter SPAM. Anyway, now that I'm a little more knowledgeable, I realize I need the top menu available to all.
I decided to go in and change the code back to origional in the BxBaseMenu.php file. After I did this I cleared my cache in Admin and returned to the homepage. It looked fine until after I logged out, I returned back to my site's homepage and it looked like the screenshot in the attachments. There was no header, menu, or login block. It was just the imagenews block that appeared. Does anyone have any idea how to fix this?
Heres the before screenshot...

Here's the after...

Thanks
|
Have you tried replacing BxBaseMenu.php with a original copy from your version? Then clear cache and cache_public manually leaving any .htaccess files. |
Have you tried replacing BxBaseMenu.php with a original copy from your version? Then clear cache and cache_public manually leaving any .htaccess files.
Hey rhimpr, Thanks for your suggestion but unfortunately it didn't work. I even went so far as to merge each file from the 7.0.9 update via ftp and manually cleared out the cache and it's still the same. The strange thing is that I never messed with any other code, so I can't understand why this is happenning.
|
ok, i may not be that file that is causing issues, it could have been that site was cached and when you cleared cache when you changed that file, it is now displaying like this because of other changes or mods you did recently or in past.
Have you tried replacing BxBaseMenu.php with a original copy from your version? Then clear cache and cache_public manually leaving any .htaccess files.
Hey rhimpr, Thanks for your suggestion but unfortunately it didn't work. I even went so far as to merge each file from the 7.0.9 update via ftp and manually cleared out the cache and it's still the same. The strange thing is that I never messed with any other code, so I can't understand why this is happenning.
|
Check your templates/base/_header.html and _sub_header.html files.. Did you add a mod or update a mod recently? |
I'm checking on it, I was just wondering if I can merge the original _header.html and _subheader.html files to just quickly fix it. if I did changes. I can't recall messing with those files recently tho. |
backup the files rename them to _header.html-BCK and _sub_header.html-BCK and put originals for your dolphin version there just to test. I see you have a image news mod that i think is calling for java in _header.html file or something but to see if its something with these files, try that for now.
Also, clear cache and cache_public again after (leave .htaccess files)
|
Here's my _sub _header.html...
<bx_include_auto:_header.html />
<bx_injection:banner_left /> <bx_injection:banner_right /> __extra_top_menu__ <div class="sys_main_logo"> <div class="sys_ml" style="width:__main_div_width__;"> <div class="sys_ml_wrapper"> <bx_injection:injection_logo_before /> __main_logo__ <bx_injection:injection_logo_after /> </div> </div> <bx_injection:banner_top /> </div> <bx_injection:injection_between_logo_top_menu /> <div class="sys_top_menu"> <bx_injection:injection_top_menu_before /> __top_menu__ <bx_injection:injection_top_menu_after /> <div class="clear_both"> </div> </div> <bx_injection:injection_between_top_menu_breadcrumb /> <div class="sys_breadcrumb"> <div class="sys_bc_wrapper" style="width:__main_div_width__;"> <bx_injection:injection_breadcrumb_before /> __top_menu_breadcrumb__ <bx_injection:injection_breadcrumb_after /> <div class="clear_both"> </div> </div> </div> <bx_injection:injection_between_breadcrumb_content /> <!-- end of top --> <bx_injection:injection_content_before /> <div class="main" style="border:0px; width:__main_div_width__;"> <!-- body --> <bx_injection:injection_content_before /> <!--[if lt IE 7]> <div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative; margin-bottom: 10px;'> <div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a></div> <div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'> <div style='width: 75px; float: left;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/></div> <div style='width: 275px; float: left; font-family: Arial, sans-serif;'> <div style='font-size: 14px; font-weight: bold; margin-top: 12px;'><bx_text:_sys_outdated_browser /></div> <div style='font-size: 12px; margin-top: 6px; line-height: 12px;'><bx_text:_sys_outdated_browser_explain /></div> </div> <div style='width: 75px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox 3.5'/></a></div> <div style='width: 75px; float: left;'><a href='http://www.browserforthebetter.com/download.html' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer 8'/></a></div> <div style='width: 73px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari 4'/></a></div> <div style='float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/></a></div> </div> </div> <![endif]-->
Heres my _header.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> <head><link rel="icon" href="/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <meta http-equiv="Content-Type" content="text/html; charset=__page_charset__" /> <title>__page_header__</title> <base href="<bx_url_root />" /> __page_description__ __page_keywords__ <meta http-equiv="Content-Style-Type" content="text/css" /> <bx_include_css /> <bx_include_js /> __dol_images__ __dol_lang__ __dol_options__ <script type="text/javascript" language="javascript"> var site_url = '<bx_url_root />'; var aUserInfoTimers = new Array();
See anything unusual???
|
I am trying your suggestion now... |
backup the files rename them to _header.html-BCK and _sub_header.html-BCK and put originals for your dolphin version there just to test. I see you have a image news mod that i think is calling for java in _header.html file or something but to see if its something with these files, try that for now.
Also, clear cache and cache_public again after (leave .htaccess files)
Well, I followed your amazing advice and my site is back to normal! A billion thanks to you!!! I'm so glad there's an amazing community for all Dolphin users!
Thanks again rhimpr!
|
Your welcome.. Just remember to put back anything you need for mods, share script, etc.. Make sure whatever you add, does not destroy site layout again though.. |