Skip to:
Content
Pages
Categories
Search
Top
Bottom

Theme question


  • jtbailey
    Participant

    @jtbailey

    Hello, I just flew in from Drupalland and I’m stuck on something.

    I’m trying to design a members theme but I can’t figure out where the Userbar links are hidden.

    example: I want to turn a id="my-activity" href="http://mysite.com/members/admin/activity">Activity

    into: a class="ajaxify" id="my-activity" href="http://mysite.com/members/admin/activity" target="#content">Activity

    which sounds simple enough, but I can’t figure out where to do this. Do I have to hack one of the plugins? (I’d rather not have to do that) Or can I just do it in the theme?

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is actually not in a template file, its in the navigation rendering array. You could add the class with javascript though if you wanted.

    jQuery("#bp-nav a").addClass('ajaxify');

    jQuery("#bp-nav a").attr("target","#content");


    jtbailey
    Participant

    @jtbailey

    excellent, I’ll send you an Ajaxified theme if I can get it working


    gpo1
    Participant

    @gpo1

    Can you share with us the results because am interested in doing one?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme question’ is closed to new replies.
Skip to toolbar