This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

HELP !! Customising the layout for the page ?q=user

How do I change the layout of the page ?q=user
I also need to control the information to be shown on that page.

Help How redirect module??

Hi,

I have created a module for keeping the game scores of different users. For that I hav a link on the right side bar. How can I make a php file to open in the main content part of the site when a user clicks on that link.

As there are more than one link to come, should I be incorporating all those php code in the .module itself?

What I have done now is created a content page and given the location of the link to this content page. Is that the usual way of doing it, or is there are correct way of doing it. Have I done anything wrong??

Images in multilanguage environment?

I can not see any possibilities within the existing image-manipulation modules to upload/attach/insert pictures for a multilanguage site. I mean if I upload a picture I would like to use that in pages in different language. However the image node has a single title and body field, thus I can not define those in multiple languages.

As a last resourt of course I can disable displaying the image fields and provide description in the embedding (story etc) node itself, but then what is the adventage of uploading the image as a node at all?

Buddylist variable

The code below is being used in a custom profile page, I am trying to display both the avatar and name of the buddies in the buddylist module.


/* if you want to change which category you grab just change the following line */
$i_want_all_fields_under_this_category = 'Buddy List';
     
$output = ''; 
foreach ($fields as $category => $items) {   
  if($category == $i_want_all_fields_under_this_category) { 
    $output .= '<h2 class="title">'. $category .'</h2>';
    $output .= '<p>';
    foreach ($items as $item) {
    /*for control over which 'titles' you grab you can insert another conditional if-statement here */
      if (isset($item['title'])) {
       /* $output .= '<p class="'. $item['class'] .'">'. $item['title'] .'</p>';*/
      }
    $output .= '<p>'. $item['value'] .'</p>';
    }
    $output .= '</p>';
  }
}

if ( user_access('view buddy lists') || user_access('administer users') ) {
    // if thisuser has friends, show friends
    $outputa = '';
    $i = 0;
    $cnt = variable_get('buddylist_prof_buddies', 8);
    if ($buddies = buddylist_get_buddies($user->uid)) {
      foreach(array_keys($buddies) as $buddy) {
        $account = user_load(array('uid' => $buddy));
   
                $listbuddies[] = $account;
               
                 

">Only local images are allowed.picture?>">

Project Management Module

I just dusted off a project management module that I started a while ago (in 4.6) and finished a few tweaks and now its now ready to show the world!

You can create a project and specify who you are 'collaborating with' on that project. You can also create tasks and logs, which include time tracking so you can see how close the tasks are to being complete.

I'm not sure where to post it though, because I can't add an attachment to this posting, can someone offer some guidance?

alynner

"Treetagging" idea

After playing around with the AJAX goodness of the freetagging autocomplete for a while, and trying to apply it to my freeform gallery, I've come up with an idea (and a patch), working title: "Treetagging".

The basic idea is that I have screen captures of TV episodes that need to be entered with the images by the community, without all the steps of creating categories first. It needs to be a mix of freetagging and hierarchical.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions