Fork me on GitHub

C-Ble Theme - <BODY> Tag  Bottom

  • I need to either add a line under the tag or in the tag itself.

    Include the following directly under your tag:


    The only place I can find a body tag is in the CSS file. How do I add a piece of javascript code directly under the tag or in the tag itself if required?

    Joe Dunn
  • Look in the themeheader portion of your theme.php or in whatever HTML file is included under that function...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • I guess I am learning from you. I have been looking at that part of theme.php for two days. Also, this is an AutoTheme enabled theme.

    //This is the theme header - the layout that is rendered before the modules
    function themeheader()
    {
    global $all_vars, $simple_urls, $simple_uri;
    if ($simple_urls && $simple_uri=="old") {
    ob_start();
    }

    extract($all_vars);

    atThemeRender($output['header']);
    if ($simple_urls && $simple_uri == "new") {
    $contents = ob_get_contents();
    ob_end_clean();
    ob_start();
    echo simplify_urls($contents); //display modified buffer to screen
    } // End Simple URL
    }

    //This is the theme footer - the layout that is rendered after the modules
    function themefooter()
    {
    global $all_vars, $simple_urls, $simple_uri;
    extract($all_vars);
    atThemeRender($output['footer']);

    if ($simple_urls) {
    $contents = ob_get_contents(); // Get output buffer content and flush buffer
    ob_end_clean();
    if ($simple_uri == "new") // Extra ob_start for New module
    ob_start();
    echo simplify_urls($contents); //display modified buffer to screen
    }

    }

    I don't see anything relevant. The only time the word BODY shows up is in the CSS.

    Joe
  • Look in the HTML files that make up the theme under themes/C-Ble

    AutoTheme has a fixed(?) set of HTML files it uses to make up the theme... There is probably one called layout or whatever and it is the biggest HTML file in the theme...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • 0 users

This list is based on users active over the last 60 minutes.