Recent Topics

1 Apr 18, 2010 00:17    

My b2evolution Version: 3.3.3

I've looked at some of the other forum posts on this topic but thus far none have helped. I've modified my _html_footer.inc as some have suggested (below)but apparently to no avail. Suggestions?

<?php
/**
 * This is the HTML footer include template.
 *
 * For a quick explanation of b2evo 2.0 skins, please start here:
 * {@link http://manual.b2evolution.net/Skins_2.0}
 *
 * This is meant to be included in a page template.
 * Note: This is also included in the popup: do not include site navigation!
 *
 * @package evoskins
 */
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );

// Trigger plugin event, which could be used e.g. by a google_analytics plugin to add the javascript snippet here:
$Plugins->trigger_event('SkinEndHtmlBody'); 

$Hit->log();   // log the hit on this page 
debug_info(); // output debug info if requested 
?> 

    <div id="bottom-cap"></div> 

</div> 

<script type="text/javascript"> 
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); 
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); 
</script> 
<script type="text/javascript"> 
var pageTracker = _gat._getTracker("UA-15272506-2"); 
pageTracker._trackPageview(); 
</script>

<!-- End of skin_wrapper -->
</div>

</body>
</html>

4 Apr 18, 2010 00:34

well, the script is absolutely not included, there maybe a few reasons.. off the top of my head; you may have modified ../skins/html.footer.inc.php whereas ../skins/YourSkin/html.footer.inc.php overwrites that if you have one

edit: yeah, obviously you modified the wrong html.footer.inc.php. double check which one you did

5 Apr 18, 2010 00:37

There wasn't initially a ../skins/YourSkin/html.footer.inc.php file, only a ./skins/html.footer.inc.php file. So I modified it (as I showed above) and added it into the ../skins/YourSkin/ directory (in my case MiamiBlogTheme). It now resides in both directories.

6 Apr 18, 2010 00:41

well that does not sound right... the code above you claim to have it in ...footer.inc.... in your /skin/yourskin has:

<div id="bottom-cap"></div>

at the very least i should see that "bottom-cap" div for one as i view your page source..you are missing something

7 Apr 18, 2010 01:31

To be clear;

in www/skins/ I have _html_footer.inc.php

and in www/skins/MiagmiBlogTheme/ I have the exact same file

Both look identical to what I pasted above

8 Apr 18, 2010 01:38

sounds right, but it does not seem seem right.. So, if you trust me or willing to take the natural risk, pm me an ftp password with only access to your .../skin/YourSkin folder, and let me check on it or triple check this time, there is nothing else i can offer you at this time

9 Apr 18, 2010 02:22

yea the file were there allright.. but you forgot to "include" that file..

<?php
// ------------------------- HTML FOOTER INCLUDED HERE --------WHICH YOU FORGOT------------------
skin_include( '_html_footer.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ------------------------------- END OF HTML FOOTER --------------------------------
?>
<?php /*you wont need these too your html footer has them already*/

// $Hit->log(); // log the hit on this page

// debug_info(); // output debug info if requested

?>

By the way, i have removed the empty "<div id="bottom-cap"" , and removed the two closing </div> tags, assuming your skin were valid..please check if you have any validation errors

EDIT: LOL, even if you have any new validation errors; i guess they wont be your only concern...

http://validator.w3.org/check?uri=http%3A%2F%2Fadollartosavetheworld.com%2Fblog1.php%2Fhome%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

Result: 149 Errors

This is messed up, you gotta start eliminating them...
Start with br's it's not <br> ... It's <br/>

10 Apr 18, 2010 03:13

Haha, yes, apparently it is messed up! Thanks for your help, I really appreciate it! Regarding the validator - I'm down to 28 errors but I don't know how to find some of these issues...

12 Apr 18, 2010 04:00

I guess my question is, which file(s) is the source input coming from so I can open them up and fix the issues?

13 Apr 18, 2010 04:16

Ethan5150 wrote:

I guess my question is, which file(s) is the source input coming from so I can open them up and fix the issues?

it's a combination of header.inc.php, footer.inc.php & index.main.php etc... as every file has at least containers...

Speaking of which, if you have played with container settings, check them if you misconfigured them like

list_item_before => '<li>'
list_item_after => '</li></ul>'

etc.. just an example.. also as i ve said, simply copy that parsed html output and review it in a decent editor, one with a highlighter preferredly or simply use pastebin.. This is all the tips i can give remotely, you gotta look into actual php files to sort those out, and oh, do not forget to check widgets in addition too.


Form is loading...