• I have a problem which can be seen here:

    I’m struggling to see how to correct things.
    Can someone help please?

    Many thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • You are echoing div id=”tng_main” before the doctype declaration. I’m guessing you are trying to make a custom page template? If so, paste the code to that template to the pastebin.

    Thread Starter MartinM_29

    (@martinm_29)

    Thank you for that, it is much appreciated.

    In fact the items appearing above the header are being injected from a non wordpress component of my site using a plugin.

    The plugin is also injecting into the page body below the header thought here are some oddities there too, most notably the sidebar is pushed below the page content.

    What I don’t know is where to correct this echo and then to correct the sidebar issue. Any ideas?

    What plugin is it that you are using to import those blocks of code?

    Thread Starter MartinM_29

    (@martinm_29)

    It is the TNG WordPress integation module which has been updated for the newest versions of both TNG and WordPress. Works fine with the twenty Ten and Twenty Eleven themes.
    The following is te code which the plugin uses to inject the content:

    /************************************************
    * *
    * OUTPUT THE TNG PAGE *
    * *
    * mbtng_use_tng_homepage *
    * mbtng_frontend_header *
    * mbtng_frontend_footer *
    * mbtng_fake_post *
    * mbtng_output_page *
    * mbtng_buffer_start *
    * mbtng_buffer_end *
    * mbtng_discard_output *
    * mbtng_eval_php *
    ************************************************/

    [code moderated according to Forum Rules - please use the pastebin]

    I may be wrong but I guess the problem is here somewhere..

    Thread Starter MartinM_29

    (@martinm_29)

    Apljdi,

    I’m feeling way out of my depth here. If you think you can help, then please contact me :
    martin_mosley(at)hotmail(dot)com
    I can explain more fully
    Thanks

    That is a pretty bad error and I have a hard time believing that a plugin author would miss it in testing, so lets assume that the plugin is working correctly. Have you modified your theme at all?

    Thread Starter MartinM_29

    (@martinm_29)

    No, the theme is not modified.
    Does the segment of code show where there may be an error?
    Any help would be appreciated.

    I didn’t see anything obvious in that code (which has now been removed by a moderator for forum rules violation) but that code was doing some tricky stuff. I’d have to really analyze it.

    Thread Starter MartinM_29

    (@martinm_29)

    If you think you can help, then I can let you have a copy of the file.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can anyone help please?’ is closed to new replies.