Support » Plugin: BP GTM System » [Plugin: BP GTM System] Title single project don't show

  • AMBA

    (@amba_13)


    hi the title of the project on a project page isn’t show
    the bug is in the template whitch call a function that use variable $project.
    in /template/gtm/projects/project_view
    you have to define $projet_single (i do it on ligne 10 where the print_var is)

    $project_single="";
    $projet_single->id=$projet['0']->id;
    $projet_single->name=$projet['0']->name;
    $projet_single->desc=$projet['0']->desc;

    then you have to replace

    bp_gtm_view_link($project['0']->id, $project['0']->name, $gtm_link, 'project')
    by
    bp_gtm_view_link($project_single, $gtm_link, 'project')

    and it works

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

  • The topic ‘[Plugin: BP GTM System] Title single project don't show’ is closed to new replies.