Hi Michelle,

On the demo web site the User Profile tab is in the primary Edit tab as secondary tab. On my install, User Profile is showing as primary tabs. How can i change it ?

Thanks in advance and thanks again for your job to socialize drupal.

++

Comments

moksa’s picture

OK i've other question... May be i miss something during installation.

When i edit User Profile, "Profile Title" field is showing (empty) and required, and the URL of the page is "/user/1/bio" and not "/user/1/edit/uprofile" as your demo site.

May be there is a link between my 2 questions...

++

moksa’s picture

Ok for this => "When i edit User Profile, "Profile Title" field is showing (empty) and required"

Auto node title module is required.

I continue to work :)

moksa’s picture

Status: Active » Closed (fixed)

Ok I found what i search

just need to change the path in $items hook menu stuff... hehe.

moksa’s picture

Status: Closed (fixed) » Active

Hi, finnally it doesn't work.

I still search how put profile primary tabs in secondary tabs.

I need to change bio hook menu but don't know how, this is original... All help will be appreciate. there is many thread about this primary and secondary tabs, i don't find one wich help me.

      $items[] = array(
        'path'  => 'user/'. arg(1) .'/bio',
        'title' => node_get_types('name', $type),
        'callback' => 'node_page_edit',
        'callback arguments' => array($node),
        'type' => MENU_LOCAL_TASK,
        'access' => $access,
      );
michelle’s picture

Status: Active » Fixed

This doesn't require code. It's a setting in the Content Profile module. APK doesn't do anything with editing at this point.

Michelle

moksa’s picture

Content Profile is a D6 module, i'm D5.

michelle’s picture

Ok, nodeprofile then. You referred to the demo site, which is in D6 and I didn't notice the version on here. If you're using bio, you'll need to do it in code, I believe. I don't think it's an option for that. Either way, it's not something APK is involved in. You might want to look at the nodeprofile code even if you're using bio to use as an example. Otherwise, try the forums, where you'll hit more than just me answering questions.

Michelle

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.