Part of marketplace improvements.

In order to introduce Featured section of Marketplace we need to:
1. add field to organization node type with the value Featured
2. copy service providers display, add filter on Featured value
3. modify basic view to not show Featured organizations

Work in progress: http://tvn-drupal.redesign.devdrupal.org/marketplace

To-dos:

  1. Fix urls in top Categories navigation

    There is some number in () on the left and since I've added new argument to the view - urls of Categories need to be adjusted:
    - column Services has correct urls "drupal-services/[featured|all]/[Service]"
    - column Sectors has urls of the type "drupal-services/all/[featured|all]/[Sector]" - it should be "drupal-services/[featured|all]/all/[Sector]"
    - column Countries served has urls of the type "drupal-services/all/all/[featured|all]/[Country]" - it should be "drupal-services/[featured|all]/all/all/[Country]"

  2. Add active trail to sidebar menu items on sub pages featured/* and all/*
  3. Remove (comment out) code for DA membership check and auto-adding to the listing.
    Checkbox “Request listing in marketplace” should only automatically create an issue in the Webmasters queue.
    Status of the new issue should be "needs review" instead of "active".
  4. Build a view of all org nodes listed in the marketplace, showing their last updated date.
  5. Change taxonomy links from organization nodes to link to featured or all view.
  6. Deploy changes on http://marketplace-drupal.redesign.devdrupal.org/ and update deployment instructions.

Deployment instructions:

  1. change url path for node/21791 from "drupal-services" to "drupal-services-old"
  2. remove redirect from "drupal-services" to "node/21791"
  3. change url path for node/313581 from "training-services" to "training-services-old"
  4. remove redirect from "training-services" to "node/313581"
  5. add redirect from /training-services to /training
  6. change link for Marketplace item in "Primary links" menu from "node/21791" to "drupal-services"
  7. update drupalorg, drupalorg.crossite modules and bluecheese theme
  8. update feature:
    • CCK had "needs review" status, field group and content types had "overridden" status. Reverted everything to make it work.
    • I'm not sure why Case studies feature has Marketplace as dependency
  9. existing organization nodes which are listed in the /marketplace-preview should get "field_organization_list_rule" set to "All providers"
  10. Arrange blocks:
    • "Marketplace services menu" - place in Right column
    • "Marketplace info" block - change title to "Marketplace info - all providers", place below services menu
      content:
      All providers section lists companies which provide Drupal-related services and contribute back to the Drupal community.
      
      <a href="http://drupal.org/node/995766">Working with Drupal service providers</a>
      Forums: <a href="http://drupal.org/paid-services">Paid services</a>, <a href="http://drupal.org/hosting-support">Hosting support</a>
      Looking for <a href="http://groups.drupal.org/jobs">Jobs</a>?
      
      <a href="http://drupal.org/node/1735708">Marketplace guidelines</a>
      
      <a href="http://drupal.org/node/add/organization" class="action-button">Add your listing</a>

      Show only on:
      drupal-services/all
      drupal-services/all/*

    • block "Marketplace preview info" - change title to "Marketplace info - featured providers", place below services menu
      content:
      Featured providers section lists companies which have an exceptional community contributions and show continued support of the Drupal project.
      
      <a href="http://drupal.org/node/995766">Working with Drupal service providers</a>
      Forums: <a href="http://drupal.org/paid-services">Paid services</a>, <a href="http://drupal.org/hosting-support">Hosting support</a>
      Looking for <a href="http://groups.drupal.org/jobs">Jobs</a>?
      
      <a href="http://drupal.org/node/1735708">Marketplace guidelines</a>
      
      <a href="http://drupal.org/node/add/organization" class="action-button">Add your listing</a>

      Show only on:
      drupal-services
      drupal-services/featured
      drupal-services/featured/*

    • Add block "About trainings", place in Right sidebar
      content:
      <a class="action-button" href="http://drupal.org/node/add/organization">Add your listing</a>
      
      <a href="http://drupal.org/node/1735708">Marketplace guidelines</a>

      Show only on:
      training
      training/*

    • block "drupalorg_training: Sidebar navigation" - place in Right column below "About trainings"
      Show only on:
      training
      training/*

After deployment tasks:

  • promote org nodes of the companies listed on /drupal-services-old to Featured providers
  • add ogr nodes of companies listed on /training-services-old to Training section

Comments

tvn’s picture

Assigned: Unassigned » tvn

working on this on dev site.

tvn’s picture

Issue summary: View changes

adding instructions for not to forget later

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Issue summary: View changes

more to-do

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Assigned: tvn » Unassigned

I've added new field to organization node type - field_organization_listing_type, with 2 values All and Featured. Restricted it to be admin-only via drupalorg module. Updated drupalorg_organizations view - added that field as an argument.
Old "Drupal services" book I temporarily moved to "Service old". It will be unpublished while we migrate organizations from there to the new marketplace.
Added menu block to the right sidebar on Marketplace and some descriptions of the types of listings - those texts are just examples and need improvement.

Lists of Categories on top of the Marketplace listings got broken a bit, drumm please take a look.
There is some number in () on the left and since I've added new argument to the view - urls of Categories need to be adjusted:
- column Services has correct urls "drupal-services/[featured|all]/[Service]"
- column Sectors has urls of the type "drupal-services/all/[featured|all]/[Sector]" - it should be "drupal-services/[featured|all]/all/[Sector]"
- column Countries served has urls of the type "drupal-services/all/all/[featured|all]/[Country]" - it should be "drupal-services/[featured|all]/all/all/[Country]"

Also maybe we should change url for "All providers"? It is now "all", same as wildcards you use for Categories.

tvn’s picture

2 more things that still need work:
- page titles
- active trail for the menu on the right sidebar on subpages: featured/* and all/*

Also I'm going to add 1 more field to org node type - checkbox for Trainings listing and build a display for it.

Note that deployment instructions in the issue summary are not final yet, I'm just adding stuff on the go for not to forget it later.

tvn’s picture

Issue summary: View changes

adding link

tvn’s picture

Issue summary: View changes

adding remaining tasks

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Issue summary: View changes

adding more tasks

tvn’s picture

Issue summary: View changes

update

tvn’s picture

Issue summary: View changes

update

tvn’s picture

Issue summary: View changes

update

tvn’s picture

Issue summary: View changes

.

drumm’s picture

I've been working on the 'tvn' dev site.

  • "Fix urls in top Categories navigation" should be working. Please test.
  • "Add active trail to sidebar menu items on sub pages featured/* and all/*" I couldn't find a good way to do this within the confines of the menu system; I added a custom block to the Drupalorg module. It uses the menu as configured, but steps in and sets the active item.
  • "Remove (comment out) code for DA membership check and auto-adding to the listing." Not actually commented out, that is what Git history is for.
  • I simplified the fields for services listing. There are two fields at work:
    • field_organization_list_rule: admins set this to never/all/featured
    • field_org_marketplace_request: owners set this to request listing

    The view looks for both in filters. Additionally, field_organization_list_rule is used as an argument.

drumm’s picture

Issue summary: View changes

.

drumm’s picture

I updated the issue summary:

  • I remembered that I also fixed taxonomy links, the services/sectors/countries on the left of pages like http://drupal.org/node/1204416.
  • The "view of all org nodes" sounds like a separate issue that needs to be postponed until this issue is closed out.
  • To ensure we know how to deploy this, please take notes while deploying on marketplace-drupal.redesign.devdrupal.org
tvn’s picture

"Build a view of all org nodes listed in the marketplace, showing their last updated date." is done, added a display in drupalorg_training view.

tvn’s picture

Issue summary: View changes

Updating todos

tvn’s picture

Marketplace feature attached, I added drupalorg_training view, new fields in org content type, menu "Service providers" and menu links.
Drupalorg, d_crosssite and bluecheese patches attached.

Going to update deployment instructions now.

tvn’s picture

Issue summary: View changes

"view of all nodes" is done

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Issue summary: View changes

updating instructions

tvn’s picture

Issue summary: View changes

update

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Issue summary: View changes

.

tvn’s picture

Status: Active » Needs review
StatusFileSize
new3.82 KB
new5.75 KB

Deployed on "marketplace" dev site and updated deployment instructions.
Attached is updated bluecheese patch - block ids changed, and updated crosssite patch - added "/" when defining active tab in top menu (on /drupal-services-old both "Services" and "Service old" were active).

drumm’s picture

Status: Needs review » Fixed

Deployed.

Organization nodes need to be found and featured for http://drupal.org/node/1649410. I did a few at the end out the alphabet.

jredding’s picture

Status: Fixed » Active

A bug was found in the Marketplace. New Organization nodes are to be left unpublished and put into the webmaster's queue for moderation. They are currently auto-published and not placed in the webmaster's queue.

tvn’s picture

Organization nodes should be published by default, but field_organization_list_rule default value should be "Do not list" instead of "All providers". I've changed it on the live site, we'll need to update this in the feature.

tvn’s picture

Another minor thing - "All providers" section now shows both featured and not featured providers. Should it display only not featured ones?

drumm’s picture

I think "all" should show both featured & not. We don't ever want to hide featured providers since they have put the contributions in to be listed.

(If we have a listing of only non-featured, we should label it as "Other providers" or, more bluntly, "Non-featured providers.")

tvn’s picture

@drumm, makes sense.

tvn’s picture

Just a note for future reference:
Between Aug17 (deployment) and Aug23 when #11 got fixed 6 org nodes were published and added to "All providers" section without review. I removed them from the listing so they would go through a proper review process:
http://drupal.org/node/1735164 The Web Development Group
http://drupal.org/node/1738596 DrupalSquad
http://drupal.org/node/1739862 INTERNET INTERNATIONAL TECHNOLOGY GROUP LIMITED
http://drupal.org/node/1741116 Vic Theme
http://drupal.org/node/1742954 Web Spiders
and
http://drupal.org/node/1742018 ThemeBrain

tvn’s picture

Recreated the feature over at #1760378: Improve Marketplace management view with correct default for field_organization_list_rule.

tvn’s picture

Status: Active » Fixed

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

Anonymous’s picture

Issue summary: View changes

.

  • Commit 2bd36f6 on 6.x-3.x, 7.x-3.x, 1548064-support-new-apachesolr, 7.x-3.x-dev by drumm:
    [#1646458] Marketplace featured services providers & training