Web News

Democratic Party sues Russia, Trump, WikiLeaks over 2016 hacks - CNET

Webware - Fri, 04/20/2018 - 12:57pm
The DNC alleges the Russian government worked with the Trump campaign and WikiLeaks to help the former reality star win the election.
Categories: Web

Mint SIM vs. Red Pocket: Which carrier has the better $240 annual plan? - CNET

Webware - Fri, 04/20/2018 - 12:52pm
If you're willing to pay for a year in advance, you can score a pretty robust plan. So which carrier offers more bang for the buck?
Categories: Web

Tribeca Film Festival has everything a geek could wish for - CNET

Webware - Fri, 04/20/2018 - 12:43pm
The festival is packing in more VR than ever, many of its traditional films have a geeky bent and even HBO's Westworld held its second-season premiere here.
Categories: Web

Kaspersky calls out Twitter's Jack Dorsey over ad ban - CNET

Webware - Fri, 04/20/2018 - 12:40pm
In an open letter, Eugene Kaspersky criticizes Twitter's CEO and reveals that his Russia-based cybersecurity firm has been banned from advertising on the social network.
Categories: Web

Let McLaren's new titanium exhaust sing you the song of its people - Roadshow

Webware - Fri, 04/20/2018 - 12:38pm
What does it sound like? It sounds like it's worth it, that's what.
Categories: Web

Your next Volvo might have a Mercedes engine - Roadshow

Webware - Fri, 04/20/2018 - 12:17pm
If Daimler buys up a small chunk of Volvo, it could become a new engine supplier to the Swedish automaker.
Categories: Web

Get your Nintendo Labo fix at Amazon's Treasure Truck - CNET

Webware - Fri, 04/20/2018 - 12:04pm
The rolling storefront is offering the Labo Variety Kit.
Categories: Web

iPhone SE 2 won't have a headphone jack, report says - CNET

Webware - Fri, 04/20/2018 - 11:56am
The new iPhone SE 2 is rumored to come out in the next few months, but the phone will reportedly lack a jack.
Categories: Web

Seeing a green moon on 420? You must be high... - CNET

Webware - Fri, 04/20/2018 - 11:23am
Puff, puff, science. A glaring-green-moon rumor has reappeared in time for 420 "weed day" celebrations of all things pot.
Categories: Web

2018.5 Nissan Rogue Sport adds standard safety systems, hikes price - Roadshow

Webware - Fri, 04/20/2018 - 11:15am
It's already on sale at dealerships.
Categories: Web

CiviCRM Blog: Building the Roparun Team Portal Part 1: Syncing civicrm participants to drupal user records

Web - Fri, 04/20/2018 - 11:12am

This is a first blog post about how we build the team portal for Roparun.

But first what is Roparun? The Roparun is a relay race of over 500 kilometres from Paris and Hamburg to Rotterdam, where people in teams, take part in an athletic event to raise money for people with cancer. It’s also called an adventure for life. This is also clear from the motto, which for years has been: ‘Adding life to days, when days often can’t be added to life’.

So each year Roparun organizes this race and around 400 teams participate in the event. The first part of the project was to setup donation functionality and that is working right now.

The next part of the project is to create a new portal for team captains where they can manage their team data, (e.g. name of the team, start location and the individual team members). We have chosen to have this in a separate Drupal website.

In CiviCRM each team captain is registered as a participant to the Roparun event with the role team captain. The team captain can login into the portal as soon as he has been registered as a team captain and till the event is over.

The first part of this project is that we wanted the team captains being able to login and we have created a module called CiviMRF User Sync. This module build on top of the CiviMRF framework.

This user sync module uses the CiviCRM api to create drupal user accounts. See screenshot below for the configuration.

What you can see is that we use a custom api to retrieve the team captains. This custom api returns the email, contact id and the team id of the team captain. We store the e-mail address as the username and at the email field at the user level.

As soon as a new team captain is registered a new user record is created and the team captain receives an e-mail with a link to create a password.

As soon as an existing team captain is removed from CiviCRM the user account is cancelled and the team captain receives an email indicating that his account is disabled.

We have also created a drupal module to store the team id at the drupal user record and use this team id in the view (see https://github.com/CiviCooP/roparun_team_portal)

So the first bit is done, meaning a team captains can log in. The next bit is to build the portal with Drupal Views and Webforms. The building blocks we are going to use for that is CiviMRF Webform, CiviMRF Views and at the CiviCRM site the form-processor. I will keep you posted on the developments of the next steps.

APIArchitectureCase studies and user storiesDrupalExtensionsInterface and designTips
Categories: Web

LG hits snag in supplying new Apple iPhone screens - CNET

Webware - Fri, 04/20/2018 - 11:05am
Apple may need to keep using Samsung displays for all its new phones if LG Display can't fix its manufacturing issues.
Categories: Web

Porsche 911 GT3 RS dominates Nürburgring with sub-7-minute lap - Roadshow

Webware - Fri, 04/20/2018 - 10:55am
It's only the third production Porsche model to break into the 6s.
Categories: Web

LG G7 ThinQ will come with dedicated Google Assistant button - CNET

Webware - Fri, 04/20/2018 - 10:33am
It’s the first phone to have a physical button that calls up only Google’s digital assistant, and it follows Samsung's own Bixby button on the Galaxy S9.
Categories: Web

Sooper Drupal Themes: Drupal 8 Adding Content And Content Types | 8 Days To Drupal 8 | Day 5

Web - Fri, 04/20/2018 - 9:27am

We're counting down the days to the official SooperThemes Drupal 8 Release! Count with us as we will be writing a Drupal 8 related blog post every day for the next 8 days.

Drupal 8 content and content types video tutorial

view on sooperthemes.com if you can't see the video

This tutorial is for people who are new to Drupal 8. We'll be showing how to add content to Drupal 8 and how to change or add new content types. Content types are very flexible in Drupal 8 and that's what makes Drupal more powerful than WordPress and other systems for many use cases. 

Drupal 8's Content Overview Page

Just like all Drupal's previous versions this administration page is the central hub where all your content appears in one place. You get there by clicking the Content link in the toolbar. This takes you to an overview of all the pages in your Drupal website. From here you can edit and delete pages using the action links to the far right side of the table. Additionally you can operate on multiple pages at a time using the controls below the Action label.

The content administration page is not just for pages, using the primary tabs you can navigate to administration pages for files and comments. This can be extended by additional moduels that provide custom content entitities using Drupal 8's Entity API. For example on sooperthemes.com we also manage domain licenses and digital downloads on separate tabs, because these are custom entity types.

Adding Content In Drupal 8

Once you're at the content administration page it's easy to see how to add content. You start by clicking the blue button that reads "+ Add content". You'll now see a listing of content types that are available at your Drupal installation and you have to tell Drupal which type of content you would like to create. After choosing a content type you'll be taken to the content form where you get to fill in all the form fields that make up your content type. You'll learn more about these fields in the next section where we discuss adding fields to content types and adding new content types.

Drupal 8 Contact Management Administration Page

Adding Content Types In Drupal 8

The ability to create new content types and choose from a large selection of different field types is what makes Drupal the system of choice for many organisations that manage a lot of content. Companies of all sizes including Tesla, Disney, United Nations, and Qualcomm use Drupal because it's the best solution for managing a large amount of content on the internet.

To manage content types in Drupal 8 click Structure in the toolbar and then click Content Types.  Now you're looking at a listing of content types installed on your website. If you just installed a new Drupal 8 website with the default profile you will see the Article and Basic Page items.  If you installed one of our theme demo profiles or the free Glazed CMS installation profile you'll have a bunch more options. Check out our YouTube video above for a quick tour. 

Once you're at content types overview click the "+Add content type" button to create a new page type. The minimum you can do here is give your content type a name, for example "Special Page, or Forum Topic". There's a number of other options for your consideration when creating a content type:

Option What it's for Description Administrative help text for content type Preview before submitting You can require or offer a preview of the content before submission Explanation or submission guidelines Additional help text for content editors Publishing options 

You can choose whether this content should immediately be published upon saving. More importantly you should also check the "Create new revision" checkbox to ensure that you can compare and revert to older version of the content in case something goes wrong when editing the content. 

The other 2 options "Sticky at top of lists" and "Promoted to the front page" are legacy options that reference different ways in which your content can be prioritized in content listings (called views in Drupal).

Display settings Choose whether to display the author and post date on this content type, which really only makes sense for blog posts or other social content. This should be disabled for most use cases.  Menu settings Selecting menus here enabled content editor to add the content items to menus on your website.

Creating A Jobs Content Type

Let's create an example content type for the new Careers section of our website. We'll need to post job vacancies, so let's call our new content type Jobs. To create a new content type go to Structure > Content Types and click the "+ Add content type".

Here we fill in the name of our content type and disable the options for author information and menu structure. After all we don't want all our job postings to clutter our menu system, you would use the views module to create an overview of available jobs.

Next click the "Save and manage fields" button. Now we're in the content type configuration page and this is where we add the fields that we need on our job vacancies. To see exactly how this works check out the video above!

Building A Content Type For Job Vacancies

Adding Visual Drag And Drop To Your Content Type

Finally we'll show you how to get even more control over the design of your content with Glazed Builder our visual drag and drop builder for Drupal 8 and 7. You can use Glazed Builder on any long-text field in Drupal on any type of entity. To enable Glazed Builder on your content type go to Structure > Content Type > Your Content Type > Manage Display. Here you can select one or more of your text fields (For example the body field) and switch the Format option from Default to Glazed Builder. Take a peak at the end of our youtube video to see the end result!

Categories: Web

Nintendo Labo's creators answer our biggest questions - CNET

Webware - Fri, 04/20/2018 - 9:11am
What is Nintendo's cardboard dream all about, where will it go next... and how long will the cardboard stuff last? We asked its creators.
Categories: Web

Make mine Marvel: 80 years of superheroes fill Seattle museum - CNET

Webware - Fri, 04/20/2018 - 8:00am
Sit for a spell with The Thing, and check out T'Challa's costume at the new Marvel: Universe of Super Heroes exhibit.
Categories: Web

Flip through 32 Marvel-ous images from this super new exhibit - CNET

Webware - Fri, 04/20/2018 - 8:00am
For a look at everything from rarely seen vintage comic books to modern movie props, including Black Panther's suit, get yourself to Seattle.
Categories: Web

This homemade Westworld robot will give you nightmares - CNET

Webware - Fri, 04/20/2018 - 1:46am
Robot maker Simone Giertz builds her own robotic likeness that can talk, move and creep everyone out in honor of season 2 of HBO's sci-fi hit, Westworld.
Categories: Web

AT&T chief reveals plans for new streaming service -- in court - CNET

Webware - Fri, 04/20/2018 - 1:10am
The revelation of a new $15-a-month Watch service comes during antitrust fight over the Time Warner merger.
Categories: Web