WordPress.org

Ready to get started?Download WordPress

Forums

BP GTM System
Title single project don't show (1 post)

  1. AMBA
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.