WordPress.org

Ready to get started?Download WordPress

Forums

BP GTM System
GTM makes assumptions about site markup/layout (5 posts)

  1. Doug
    Member
    Posted 2 years ago #

    Howdy,
    I note that GTM makes some assumptions about the markup of a site using its custom template. These assumptions make it incompatible with several WordPress themes, including my own (http://wordpress.org/extend/themes/elbee-elgee).

    The core of the problem is that there are several wrapper divs in use that aren't accounted for in your markup. I've been scratching my head about this one and the only semi-workable solution I can implement is to force rewrite the DOM if I detect GTM is active so that the markup actually works.

    Thoughts?

    http://wordpress.org/extend/plugins/bp-gtm-system/

  2. Slava UA
    Member
    Plugin Author

    Posted 2 years ago #

    In the nearest future the whole template system might be overwritten. Can't say any dates, but I plan to heavily invest time in GTM development.

    I will take care of such template problems. In general - I will only use plugins.php in BP-ready themes, so in general you should care about that only file.

    Thanks for working with my plugin :)

  3. Matt Edminster
    Member
    Posted 2 years ago #

    @SlaFFik I'm running into the same incompatibility issues raised here and elsewhere. Though to be specific, the only portions of your plugin that don't display are under the main nav tab in a given group. Clicking this link actually breaks and delivers an error about being unable to find plugin.php. All else seems to display just fine (minus a few div wrapper changes).

    Another poster (on your site I think) mentioned copying plugin.php over into your templates folder. But I tried that with no success. Any other suggestions for making your template files fit a non-standard theme architecture?

  4. Slava UA
    Member
    Plugin Author

    Posted 2 years ago #

    Where did you copy that file?
    plugins.php should be in your activated theme - not in my GTM templates folders.

  5. Matt Edminster
    Member
    Posted 2 years ago #

    With the BP Template Pack files in place on my theme, I copied groups/single/plugin.php over to the same location in your templates folder, creating folders for /groups/single/.

    It seemed to work for this other user. But then again, you would have done that in the beginning if it was so easy, right? What am I missing.

    The plugin does work fine with BP default theme based themes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic