Hello

I am missing some blocks in the admin user 1 interface, and some blocks are not working

These missing blocks are not there, so it is not possible to activate them

Latest Wants block is missing
Setup Menu block is missing

Instead of the missing "Latest Wants" block, I tried to activate the "View: Auto wants view: Latest wants" block, it shows up, but display no content other than a text saying "No wants have been entered" even if I have posted two wants for testing

Mutual Credits (video) does show up in the admin user interface, but the block does not show up anywhere on the site itself, even if configured and activated to show up in the Hamlets theme, on all sites for all users

Comments

Paal_Graabein’s picture

Discovered that the "nitin" block, Mutual Credit Video shows up if I set the site to default language english. But If I set the default language to norwegian, then the nitin block does not show up.

How to fix this?

matslats’s picture

Status: Active » Needs review

Possibly there is a problem with the wants block that it gets confused with offers.
As user 1 you should be able to edit the view to find out what matter is. (it will hep to enable Views UI module and contextual links)
To make the nitin block show you'll need to edit the cf_vids() function in cforge.profile
Hope that helps

Paal_Graabein’s picture

Ok, thank you Matthew. How do I "edit the view"? :-)

Paal_Graabein’s picture

For the nitin block, would this be correct editing of the cf_vids() function, in order to have the nitin block show up in both norwegian and english language?

if (in_array('en', $langs)) {
    $blocks['nitin'] = array(
      'url' => 'http://www.youtube.com/embed/YvegNqKcQ-g',
      'title' => 'Mutual Credit',
    );
  }
if (in_array('nb', $langs)) {
    $blocks['nitin'] = array(
      'url' => 'http://www.youtube.com/embed/YvegNqKcQ-g',
      'title' => 'Mutual Credit',
    );
  }

Well, this did not help. After changing the above code, then I set the site to Norway as the only and default country option, and switched to norwegian default interface language, then the nitin block disappaired.

Paal_Graabein’s picture

Sorry, error on my part. I forgot to SAVE the edited cforge.profile before I uploaded it again to the server. I have now SAVE my edits, and uploaded, and the modified code IS WORKING :-)

But still I have not found out how to "edit the view" in order to have the "Latest wants" block show up. So....any help on that one?

matslats’s picture

Status: Needs review » Closed (fixed)

Latest version of Hamlets now includes offers_wants 1.5, which has this bug fixed.
You need the views_ui module to edit views.
Also the contextual module is helpful