neue medienordnung plus
  
I moved files/ folder from location/ hub A. But the copies from moved files/ folder stay on the hub B. Is it correct behavior of Hubzilla? Hubzilla version on both hubs A and B is 2.8.1.

@Hubzilla Development+ @Hubzilla Support Forum+ #deletedObjects #movedObjects
Mike Macgirvin
  
This seems to be dependent on exactly *how* the files were removed. It works correctly using DAV but failed to sync properly if deleted using the web browser interface.

Should be fixed upstream.

Sean Tilley
 Peoria, Peoria County, Illinois, United States of America (40.772379699999995 -89.6304857) 
@Hubzilla Development+ I'm starting to play with widgets, and want to learn a bit more about how they work.

As an experiment, I would like to selectively display only certain pieces of profile information in a specific order. I looked at some of the widget examples in /include/widgets.php, and many of the widgets return profile_sidebar.

function widget_shortprofile($arr) {
    $a = get_app();
    if(! $a->profile['profile_uid'])
        return;

    $block = (((get_config('system', 'block_public')) && (! local_channel()) && (! remote_channel())) ? true : false);

    return profile_sidebar($a->profile, $block, true, true);
}


I dug around a little more, and found profile_sidebar in channel.php. Earlier on in the file, I discovered this:

It is very difficult to templatise the HTML completely because of all the conditional logic.


This makes sense, but I am curious: is there a simple way to selectively display bits and pieces of profile information in a widget? For example, would I be able to get away with declaring variables in a PHP or PDL template for a new widget?

I'm just curious about what the best practice is here.
Mike Macgirvin
  
If you are on any page that is one of your personal pages (as opposed to a system page), we've loaded your profile into App::$profile. profile_sidebar() just displays a subset of this already-loaded information. You could easily display a different subset.

If you examine profile_sidebar() you'll see that there is quite a bit of decision making and you might not want to duplicate all of this. Ergo it makes a certain amount of sense to be able to pass arguments to profile_sidebar to control what is displayed rather than try to duplicate the entire function elsewhere.

But if you look at the profile and channel tables in the database, anything therein is available in App::$profile for you to make use of in any way you desire.

Sean Tilley
 Peoria, Peoria County, Illinois, United States of America (40.7724069 -89.6305185) 
@Hubzilla+ @Themes+

In accordance with the rebranding, I've decided to update the my repo. The new Github URL is: https://github.com/DeadSuperHero/hubzilla-themes

Sorry for the inconvenience, everybody- it had to happen sooner or later. Update your scripts and theme repository URLs!
Mike Macgirvin
  
No worries - thanks!