Currently Training section of the Marketplace (http://drupal.org/training-services) is a book page which is being edited manually. We need to replace it with a view of organization nodes similar to http://drupal.org/marketplace-preview .

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

To-dos:

- Add logic for "List in Training section" checkbox - it should automatically create an issue in Webmasters queue.
Component: "Drupal Training List".
Title: "Add [Org name] to Training section"
- We probably should add another field, admin-only for them to add org node to the listing

Deployment instructions will be at #1646458: Implement Featured marketplace section

Comments

silverwing’s picture

For trainings I would suggest:

Link - the url for their trainings landing page (Drupal trainings preferred)
Description field - what types of trainings they offer
Cost - A range of how much they change for the trainings

The view should show their name/logo, and the above. We might also have sectors, but I feel that they're being abused.

I think the only important filter would be on Country.

tvn’s picture

Status: Active » Needs review

I've added "List in Training section" checkbox, Training url and description to the org node type. I am not sure that cost range field is really helpful, it so depends on specific training. Also this can probably be mentioned in Description? However if you insist I can add it :)

Built training view and added sidebar block: http://tvn-drupal.redesign.devdrupal.org/training

We probably also need to display these fields on the org node itself.
We'll also need to add some logic - what happens when "List in Training" checked. Probably same as with "Request marketplace listing".

Not sure now how best to organize filtering by country. We have "Countries served" field on the org node type which is being abused quite often. A lot of companies add all possible countries there and when you open a page of specific country there is hardly any company in the list which is even close to your location. Maybe we should restrict that field to 1 value only and rename it to just "Country" (as in location of the company). The we can also filter Trainings by this country.

tvn’s picture

Issue summary: View changes

adding to-dos

tvn’s picture

Issue summary: View changes

update

drumm’s picture

I haven't had time to work on this yet. For issue filing, see the code under the "If a new organization wants to be listed in the marketplace." comment. We need to make sure the training fields match well enough and make a copy of that code for training.

drumm’s picture

Status: Needs review » Needs work

It looks like something in the recent code changes for this is causing organization node views, like http://tvn-drupal.redesign.devdrupal.org/node/1204416, to fail. There are errors being logged to http://tvn-drupal.redesign.devdrupal.org/admin/reports/dblog to be debugged. If needed, Apache's logs are next to htdocs for every dev site.

Once working, please deploy on marketplace-drupal.redesign.devdrupal.org along with #1646458: Implement Featured marketplace section, this will help get the deployment instructions correct, and ensure nothing from more-recent deployments conflicts.

tvn’s picture

I've added required fields and copied a code for issue creation for training listing requests, was not able to test and make sure it's ok, because individual pages can't be opened.

tvn’s picture

Status: Needs work » Needs review

I added similar fields to what services listing has:

  • field_organization_training_list: admins set this to not-list/list
  • field_org_training_request: owners set this to request listing

The view looks for both in filters.

Issues for moderation are being created in the webmasters queue with "Drupal training list" component.

Deployment instructions will be at #1646458: Implement Featured marketplace section.

tvn’s picture

Issue summary: View changes

update

tvn’s picture

Issue summary: View changes

update

drumm’s picture

Status: Needs review » Fixed

Deployed.

Now we need to migrate training companies.

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

Anonymous’s picture

Issue summary: View changes

.