Зеленый хостинг ТЭИА


LTCBTC - Bitfinex



Syndicate content My RSS Feed
My RSS Feed
Updated: 51 weeks 6 days ago

Free tagging (term) not translated when creating a node

Thu, 08/30/2018 - 16:36

I have a bundle type "article", which is translatable in 2 languages (English (=default) and French). The user can select the language when creating the article. It also has a "free tagging field", which refers to a taxonomy (Which is also translatable).

When the user creates an article in the French language, and adds a new tag (which does not exists yet), the tag is created in the default language (=English).

How can i make sure that the new tag is created in the language the user selected on the node creation page?

Categories: World News

Set icon + text to select element

Thu, 08/30/2018 - 16:36

I would like to add icons when a condition is true, I mean, if I have 20 options in my select, 4 of them could need display that icon. I'm not able to do it. I've checked and some people use taxonomies, but this is not the case.

/** @var \BusstopDTO $busstop */ foreach ($service->getBusstops() as $busstop) { $busstops[$busstop->getBusStopId()] = $i . " - " . $busstop->getName(); // If busstop selected, set time with busstop time. if ($busstop->getBusStopId() == $ori) { $time = $busstop->getTime(); } $i++; } // Origin. $form['booking']['ori'] = [ '#attributes' => [ 'class' => ['js-select2', 'cancel'], 'required' => TRUE, ], '#default_value' => $ori, '#options' => ['' => t('-- Select --')] + $busstops, '#prefix' => '<div ><div >', '#disabled' => !empty($bookingId) ? TRUE : FALSE, '#required' => TRUE, '#suffix' => '</div>', '#title' => t('Origin'), '#type' => 'select', ];

It's possible do what I need with Drupal 7? Should I use JS, SCSS or what? Thanks for comment!

Categories: World News

How do I construct the path for Search view using D8 Core Search, and access it consistently

Thu, 08/30/2018 - 16:36

I've created a search page with the url search/images.

I'm creating a custom View for a search page using the D8 core search (site size/traffic volume is such that core Search should be OK).

I've created the view formatted as I wish it, using Search: Search Keywords as a contextual filter, configured thus:

The form is exposed in the block with Basic Style/default settings.

The page path is set to /search/images/%


If I place the standard Drupal search block on my front page, it navigates to /search/images?keys=somesearchterm and displays the standard core search results page.

If I navigate to /search/images/somesearchterm, I get my custom search page, but using the search widget on that page goes back to the core results page.

How do I make the custom results page always come up when search is invoked?

Categories: World News

How to add a new webform submission formatter for the webform components

Thu, 08/30/2018 - 16:36

I'm just wondering how to add a new option to the webform submission formatters for a specific element? is it driven by the field API?

Categories: World News

IKEA’s ‘WINTER’ Collection Is Full Of Dreamy Lights To Put You In Christmas Mood

Thu, 08/30/2018 - 14:39

IKEA has dropped the lookbook for its ‘WINTER’ collection that could put you in an early mood for Christmas.

The images feature Christmas decorations including the signature tree, accessories, lighting, baking and cooking utensils at affordable prices. An IKEA spokesperson explained that its product offerings are catered to its extensive customers that celebrate Christmas in different ways.

Some families prefer throwing a joyful party while others take to relaxing and unwinding. From enjoying festive décor to a candlelit dinner, IKEA has what it takes to prepare you for the festive yearend holiday season.

Twinkling lights that will make your house look like a dream

For those who love decorating the house with lights, IKEA’s new collection carries warm, twinkling lights that will give your house a luxurious and dreamy ambience at an affordable price.

Luxurious cushions featuring beautiful textures and hues

The ‘WINTER’ collection also carries beautiful cushions with various patterns and rich colors.

Christmas tree and accessories catered to every theme

IKEA will also be selling the ‘FEJKA’ artificial Christmas tree, along with a wide range of accessories for you to decorate your house.

Stylish bakeware and tableware to serve guests

The collection also includes stylish tableware for you to dine together with your family and friends.

[via House Beautiful, images via IKEA Lookbook]
Categories: World News

Tesla Debuts Then Mysteriously Pulls ‘Wireless Charger’ From Its Website

Thu, 08/30/2018 - 14:39

Tesla launched a new wireless charger designed for iPhones and Androids on 28 August.

However, the battery-powered Qi-based charger mysteriously disappeared from its website by night time.

The cached version states that the ‘Tesla Wireless Charger’ has a 6,000 mAh battery, which makes it easy for charging on the go.

The device carries a built-in USB-C cable to refuel any USB-C Android devices, and a USB-A port that can be used for wired charging for non-USB-C devices. Tesla also mentioned that the wireless charging is limited to 5W, slower that the normal 7.5W charging available on iPhone X.

Priced at US$65, the cost is rather steep for a charger that does not have a large battery cell and carries only 5W of juice.

Perhaps this charger is targeted to those who are willing to pay a high cost for brand recognition.

[via Apple Insider, images via Tesla]
Categories: World News

ASICS’ Neat Anime-Style Ad Series Pays Homage To Its Japanese Roots

Thu, 08/30/2018 - 14:39
[Click here to view the video in this article]

With Japan’s arts and culture being so distinct and vibrant, it’s no wonder the creative works inspired by the country—more often than not—lead to brilliant and eye-catching outcomes.

Following the badass Tokyo 2020 brand concept that brought Japan’s legendary creatures to life, comes this anime-style ad campaign created by Japanese sports brand ASICS and Foot Locker.

The duo has released a five-part animation mini series called ‘The Sun and the Snake’. It features the black and yellow apparels from ASICS’ ‘Welcome to the Dojo’ collection.

The series revolves around a young samurai-in-training who finds himself in a quest for his sneakers.

The campaign was created in collaboration with BBDO New York and Shotopop, a studio that specializes in animation, illustration and design.

Watch it below.

[via The Drum, videos via Foot Locker, main image via video screenshot]
Categories: World News

Chick-fil-A Unveils Five New Menu Items Including 30-Piece Nugget Boxes

Thu, 08/30/2018 - 14:39

Image via Chick-fil-A

American fast food cult favorite Chick-fil-A isn’t chickening out on the innovation front. Following its rollout of grab-and-go meal kits, the chain has announced five new menu and catering items for Fall 2018.

New additions to the menu include ‘30-Count Nuggets’, ‘Waffle Potato Chips’, and an improved fruit cup, whereas catering options comprise a ‘Grilled Chicken Bundle’ and a ‘Spicy Chilled Grilled Chicken’ sub sandwich.

30-count nuggets

Image via Chick-fil-A

Some people have a spare compartment in their stomachs for dessert. Others reserve this space for chicken nuggets. To fuel the latter crowd, Chick-fil-A has now made it possible to purchase a whole box of 30 nuggets at the counter, via the drive-thru or through its mobile app.

Waffle potato chips

Image via Chick-fil-A

To accompany your entrées, the restaurant has offered a new option of kettle-cooked waffle-cut potato chips, which were previously only available in the catering menu. The item is gluten-free and is a variation to its waffle fries.

Improved fruit cup

Image via Chick-fil-A

You can now also get your fruit fix over at this fast food chain. Chick-fil-A has revamped its fruit cup to include fewer apples and “more premium fruit options,” which include fresh strawberries, blueberries, mandarin oranges, and red and green apple chunks.

‘Grilled Chicken Bundle’ and ‘Spicy Chilled Grilled Chicken Sub Sandwich’

Image via Chick-fil-A

Image via Chick-fil-A

For its catering menu, the brand has announced a new 10-pax ‘Grilled Chicken Bundle’ that lets you build your own grilled chicken sandwiches, along with a ‘Spicy Chilled Grilled Chicken’ multigrain sub sandwich that’s marinated with a spicy blend of seasonings and served with Pepper Jack cheese and honey-roasted BBQ sauce.

The new offerings will be available beginning 27 August 2018.

[via Business Insider, images via Chick-fil-A]
Categories: World News

Police Investigating Data Breach at Chinese Hotel Group

Thu, 08/30/2018 - 14:39

Local authorities are currently investigating a data breach at a Chinese hotel group that could have exposed customers’ personal information. According to the Xinhua state news agency, Shanghai police launched an investigation into a data security incident involving Chinese hotel management company Huazhu Hotels Group Ltd. A report from Beijing News reveals that the trouble […]… Read More

The post Police Investigating Data Breach at Chinese Hotel Group appeared first on The State of Security.

Categories: World News

Color Changing Puzzle

Thu, 08/30/2018 - 14:15

This puzzle looks mighty satisfying. I’d sit down and puzzle away.

Categories: World News

Hacked stalking app reveals victims’ photos, texts and location info

Thu, 08/30/2018 - 14:05
Another mobile stalking app has been hacked, endangering both its customers and the victims that they spy on.
Categories: World News

Football team drops the privacy ball with email Cc blunder

Thu, 08/30/2018 - 14:05
But at least now you know how to get in touch with people who might have an extra ticket...
Categories: World News

An exclusive first look at Goop&#8217;s debut furniture collection

Thu, 08/30/2018 - 14:05

Gwyneth Paltrow designed pieces in collaboration with CB2 that reflect the decor of her own home.

When Gwyneth Paltrow wants to relax at home, she’d prefer to do it on a pink velvet sofa, designed with an asymmetrical curve that runs along the back. She may put her legs up, and drink a glass of wine from a glass that looks like it was found at an antique store.

Read Full Story

Categories: World News

Instagram fights misinformation and account hijackings with new tools

Thu, 08/30/2018 - 14:05
Users will soon be able to use authenticator apps for 2FA codes, request blue verified badges, and get more context about big accounts.
Categories: World News

How to Launch Your E-Commerce Empire for $100 (or Less)

Thu, 08/30/2018 - 13:46

No, it’s not a clickbait title and yes, starting with $100 can get you an actual running store.

In this article I’ll go through every step you need to take to get your store up and running and explain the costs involved.

Granted, to keep the costs down you’ll do all the heavy lifting but hey, nothing worthwhile ever comes easy so let’s dive right in…

1. The Product

It might feel odd for some that I would go about explaining how to launch a $100 store and start with the product but truth is, the site, domain, logo everything needs to be tailored to fit the product you are trying to sell. The success or failure of your business will rely on your ability to select the correct product and the right market so don’t skip over this step.

Here’s a quick way to validate your idea: Go to Google Trends and type in a word that describes your product, eg: “phone case” or “headlights”. You’ll see in a graph below how much interest there is in a particular region like the US. Keep in mind you can also see the results of Worldwide searches but if you are going to target a particular region I’d advise you look there. Look for trends going up or have a steady above 40 interest. That’s what you are looking for.

A couple of years ago I launched a business selling baby and toddler related toys, clothes, etc. When I looked at Google Trends I remember doing around 40 different searches and seeing what my audience was looking for to get a proper understanding of what my target audience looks for and what types of products I need to add to the store.

A second, yet just as important step here is to look for what your competition does, how they address their customers and look for negative feedback from their users. See what they do wrong and aim to improve on those aspects specifically.

Cost: $0

2. The Domain

So you found your product and market. Good for you. Now you need to get the domain that will bring in your flock of loyal customers and though it might sound irrelevant, the domain can really hurt you if you don’t get the right one.

So what makes a good domain name?

Good question. It’s hard to decide if you want to get something brandable or get some keywords in the domain name. If you end up using keywords in the domain name you’d give your viewers a clear idea of they’ll be getting when seeing your store but what if you want to pivot? What if you find out 6 months in, that the store is selling more than just whatever your keyword in the domain is. If your aim is to build a strong brand, then by all means, put your brand name in the domain.

In regards to the TLD (Top-level domain) you choose, get a “.com” if your audience is worldwide, and go local if you are targeting a specific country. It’s as simple as that.

Other than that, keep your domain name short, be unique and unless you have no other choice, avoid hyphens.

As far as providers go I usually stick to Godaddy.com or namecheap.com, both are great services with good service and solid support.

Cost: $10

3. The Platform (Self-Hosted Solution vs SaaS)

I could probably talk for the next hour on why you should pick one CMS or another, why you can go serverless or use a traditional hosting or even if you should go for a SaaS option or not, but I won’t go into that much detail. Instead, I’ll touch briefly on each subject and only talk about the main “players” in each category.

We’ve seen, the past few years, an explosion of E-commerce SaaS options, some better than others yet the fact that almost every week you hear about a new SaaS in this segment makes me think there’s still room for innovation.

What are the benefits of having a SaaS? Basically, you get to launch your store exponentially faster. You basically signup, add your products, set up payments and delivery options and you are good to go.

Before I get swarmed by angry mobs yelling at me for not talking about their favorite e-commerce platform provider, I want to point out that I’ll limit this article to only two SaaS platforms, that I think, are different enough to give you a wider perspective on how far you can actually go choosing an e-commerce SaaS.


Number 1: the king of e-commerce SaaS: Shopify, an easy to use platform that will make sense for most people needing a simple shop with no need for a whole lot of customization. There’s a ton of support for it, themes, plugins and customizing your shop is really easy.

Number 2: a newer player in the SaaS space, yet special: Blugento, a simple to use SaaS, similar to Shopify in this regards, the difference being that behind the curtains, there a fully functioning Magento platform doing the heavy lifting. (I’ll talk about Magento as a self-hosted platform below.) The main benefit of Blugento is the scalability of the store, something lacking from all other providers and an aspect that’s incredibly important.

Self-hosted solutions are dime a dozen and they differ from one another by a number of differences but perhaps the most important one is the community surrounding it. This is a crucial factor for you and your store. Since you are reading a “$100 e-commerce site” article you probably can’t rely on a big team of in-house developers that you can breed, educate, and have lying around until that inevitable time when your site will go down.

And it will. It will crash in the most unexpected way at the most inconvenient time…

Cost: around $50/month

Self-Hosted CMS

…that’s why I’m going to only talk about the two biggest platforms, Magento and WooCommerce. They are both immensely popular with crazy big communities around them, testing, developing and pushing the platform to the limits.

Number 1: Magento has been around since 2008 and it quickly became a favorite amongst developers even if, at the time, there were bigger and more popular e-commerce CMS. Magento is not going to be for everyone, hosting costs are going to be higher, development is more complicated but in return, you get a versatile store with a lot of room for customization and it scales gracefully so when your business grows, your store can grow with it handling hundreds of thousands of products without a problem.

Number 2: WooCommerce is on the other side of the spectrum, easy to install, development is easy and you get a ton of free plugins and themes. Since it runs on top of WordPress development is cheap and it’s relatively easy to find developers to work on the store adding extra features. Compared to Magento, the management of inventory and orders is faster and easier but after about 50K products added to your store, you’ll have to think about upgrading to something like Magento.

Both self-hosted options described above will need a hosting company before they can see the light of day. I personally recommend going with hostgator.com or siteground.com but there are a ton of great choices out there.

Installing either platform is easy as both hosting providers offer tools for installing Magento or WordPress through a simple point and click wizard. No more messing with the console, creating databases and editing confusing PHP files.

Cost: $0 for the platforms, between $10 – $25 / month for hosting


I’d be remiss not to mention serverless in this discussion as this is something that has been talked a lot about in the recent months and we’ve seen big names in E-commerce move their operations to the cloud, companies like Zalora.

Zalora moved everything to AWS, website, mobile apps, warehouse operations, everything is running off of EC2, S3, Lambda, and RedShift. They are the biggest retailer in Asia with over 20 million users and yet, their entire infrastructure development team is composed of 3 people, which for anyone understanding the difficulties running such a large website can say it’s amazing!

This is done through AWS Lambda, a service launched by Amazon that lets you upload small pieces of code that work as microservices, called functions—hence the term Functions as a Service or FaaS. They basically do a very specific task that your website triggers, returning a simple result. The technology behind it promises to allow developers to build websites and apps without having to worry about the backend or the infrastructure, all while keeping the costs at an all-time low.

There are three big reasons for switching to a serverless framework: cost, development speed and scalability. There are companies saving tens of thousands of dollars a month after switching to serverless and an average of 77% faster delivery speed of the products. Check out this case study on how serverless saves money in comparison to traditional hosting solutions.

Poor website performance is now measured in terms of lost customers and revenues

– Tom Lounibos, CEO, SOASTA

4. Branding

If I’d were to say branding is important I’d be grossly understating it. I will say that a solid logo and branding will make up the foundation of your successful store. So how can you build one that reflects your company’s image while still looking professional? Well, the easy way would be to throw money at it, but we don’t roll like that, so we’ll be doing this ourselves.

The first place to start is to look for inspiration and you do this by going through design and branding websites looking at the current trends, tutorials and any tips or tricks that will help you in this endeavor. My suggestion would be to start with sites like hipsthetic.com or designoholic.com and then try to expand your search to Pinterest.

Alright, you now have an idea of what you need but you aren’t going to pay a couple of hundred dollars per month for Photoshop because that will blow the entire budget we’ve set for ourselves. So what we do is we sign up with Canva.com. It’s free and it will get you started quite fast. After watching a 1-minute tutorial you’ll be ready to start creating your first logo.

Don’t stop at one. Make two or three and show them to a couple of friends to get feedback. After picking the winner get back to Canva.com and make a few more: one that has transparency; one that is all black; and one that is all white. You can use the color one for your website and the rest you’ll use to watermark catalog images (I don’t really recommend using watermarks on product images but if you absolutely have to, place them in a corner somewhere) business cards, social media posts, etc. You get the point.

Cost $0

5. First Marketing Steps

Alright, we almost made it. There’s only one little step ahead of us. And by little I actually mean the most important thing you’ll end up doing for your business.


Let’s start with something basic: on page SEO, sounds easy enough, right? Well, not exactly. There are a lot of moving parts when it comes to SEO and I won’t have time to go into much detail but I will let you with this awesome infographic that will teach you pretty much all you need.

Social Media

You probably know this by now, SM is a tool that you can leverage to get in front of the right customers. Start posting on a regular basis but be careful not to alienate your readers with overzealous posts promoting products. I recommend people use the 8 + 2 rule. You provide 8 pieces of useful content, regardless if it’s on your site or not. Content like tutorials, tips and tricks, peer reviews, etc. Don’t be afraid to test the water with this strategy, find out what your users like and with that type of content they interact and start sharing.

Content Marketing

This will be your bread and butter for the next few months. It’s crucial to have a blog where you can share your experiences and knowledge with your peers. As part of the content marketing efforts, you’ll have to do guest posts. Find like minded people who own blogs and start pitching ideas for guest posts. Most blog owners are fairly easy to reach and communicate with so I highly advise you do this. Guest blogging on small blogs is a great way to reach new audiences but perhaps even better than that would be to go on Medium.com. It’s a great platform to publish content, with a ton of viewers, so I’d strongly suggest you try it out.

6. Advertising

So if my math is correct after getting set up with your website domain and host you’d be left with $30 to $40. I’d advise you drop a few dollars in Facebook ads. It’s easy to do, you don’t need to spend money on a consultant and Facebook has a bunch of tutorials on this. What I’d suggest you do is select the best products you have in your store and create a carousel. Have at least 4 products in there. Select a small audience with the demographic that fits your niche and place a $5 limit on the ad spending. You’ll have around a week to tweak the ad and if you have the right combination of audience and product, chances are you’ll have made your first sell by now.

The Grand Total

If you do the math, going with a self-hosted solution will cost around $50 to host ( for a 5 or 6 month period), add to that $ 10 for the domain and you get to $ 60. You’ll have to host it yourself, do all the maintenance and configuration but you get to have about 6 months to make up your investment.

Going with a SaaS will cost around $60 but you will be done and ready to go in a couple of days which is great if you don’t want to spend time learning to code or set up a CMS. The downside here is that your $50 will cover only that first month which adds to the pressure of making a few sells (which shouldn’t be a problem).

Featured image via Depositphotos.

Add Realistic Chalk and Sketch Lettering Effects with Sketch’it – only $5!

Categories: World News

Lego Introduces A Female Wildlife Photographer In Its Latest ‘City People Pack’

Thu, 08/30/2018 - 13:37

Fans of Lego and photography are in for a treat with its 2018 ‘City People Pack’.

The new kit follows an ‘Outdoor Adventures’ theme that introduces a female wildlife photographer with camera, telephoto lens, and an eagle figurine for her to take photos of.

Additionally, the pack includes a Lego dad carrying a selfie stick that you might be able to relate to.

The female wildlife photographer seems to come at a favorable time, considering sexism and stereotypes against females working, and succeeding, in largely male-dominated fields are becoming increasingly frowned upon by the public.

Recently an airline was censured for distributing stickers to young children that encouraged gender stereotypes. Young girls were given cabin crew-themed stickers while the boys only received pilot-themed versions.

The female wildlife photographer Lego might inspire young girls to be whoever they aspire to be. Those interested can purchase the US$34 Lego ‘City People Pack-Outdoor Adventures’ here.

[via PetaPixel, images via Lego]
Categories: World News

PETA Gets Served By Local Crab House For Trying To Stop People From Eating Crabs

Thu, 08/30/2018 - 13:37

An ad by non-profit organization People for the Ethical Treatment of Animals (PETA) is garnering much attention from the residents of Baltimore.

PETA erected a billboard within the city in Maryland that reads, “I’m ME, not MEAT. See the individual. Go vegan.” The phrase comes with an image of a blue crab, supposedly to discourage people from consuming the crustaceans.

The organization explained on its website that “crabs have well-developed senses of sight, smell, and taste, and research indicates that they have the ability to sense pain.”

The billboard, which was erected weeks before the Baltimore Seafood Festival, has been met with much disfavor from people of the city, with one resident commenting, “This is Baltimore and we are a city that has had great pride in our crabbing industry.”

PETA executive vice president Tracy Reiman said that the billboard had been created to educate residents of Baltimore about these “sensitive marine animals” so as to spare these sea creatures the pain of being boiled alive.

The organization also wished to highlight that crabs are sometimes crushed to death during fishing and therefore, the best solution is to go vegan.

Local crab house Jimmy’s Famous Seafood decided to troll PETA by tweeting an image of crabs with the words, “Good morning, @peta!” shown below. The tweet has since garnered over 49,000 likes.

See more reactions to the billboard below.

This billboard has caused quite a reaction in #Baltimore, but what’s there to disagree with? Crabs are intelligent, loving, & have strong senses of sight, smell, and taste—but in the U.S. hundreds of millions of crabs are killed every year and many are boiled alive

Categories: World News

KFC Is Paying US$11,000 To Parents Willing To Name Their Baby After The Colonel

Thu, 08/30/2018 - 13:37

Image via KFC

Have you been scouring book after book in search of the perfect name for your baby, but to no avail? Your big break could be here, albeit at the expense of your offspring.

According to KFC, the popularity of the name, ‘Harland’, has been dwindling, despite the fact that it’s the first name of the legendary Colonel Sanders.

To bring the moniker back, the fried chicken chain is paying a lucky family US$11,000—a fitting price to represent its 11 herbs and spices—if they name their child ‘Harland’.

The catch? Baby Harland has to be born on 9 September, which was the Colonel’s birthday.

Even if you birth a baby on that very date and christen him or her ‘Harland’, there’s a chance you might not even receive the US$11,000. KFC will only announce which family gets the reward a month later on 9 October 2018, but your child will be stuck with that name for life.

It’s a great name for your baby. Just say it out loud. Harland. Plus, your greatly named kid could get $11,000 for college. Visit the link in bio for more info.

A post shared by KFC - Kentucky Fried Chicken (@kfc) on Aug 29, 2018 at 7:42am PDT

Image via KFC

[via The Atlantic, images via KFC]
Categories: World News

Просто хороший хостинг