down arrowMenu

UNI Webtools: Resources for Web Developers

Blogs

Cheeky Monkey Media: How to deal with IE(internet explorer) 11 render issues.

Posted on Tuesday, June 2nd, 2015 by drupalroot
How to deal with IE(internet explorer) 11 render issues.

I develop wesites on mac, so I usually don't have to deal with IE at all, since I use an excuse that I can't install IE on mac. Lately, I started adding IE testing to my skill set list, and playing around setting up multiple virtual machines for browser testing. You can read my blog post here on how to setup any IE on mac.

Anyway, recently I ran into a very interesting IE11 problem.

Agaric Collective: Filter Drupal Views results beyond what Views can do

Posted on Tuesday, June 2nd, 2015 by drupalroot

Drupal's Views module gives site builders a great deal of control in presenting lists of content, but sometimes greater control is needed. Fortunately, this greater control is available to a programmer. On a recent project we needed to filter items out of the results in a way the Views user interface could not. Here's how to go behind the wizard's curtain.

Netstudio.gr Blog: Drupal behind reverse proxy made easy!

Posted on Tuesday, June 2nd, 2015 by drupalroot
Drupal behind reverse proxy

There will be times when you will need your app to know the visitors IP. Either for debugging purposes or for functionality purposes.

Possible workarounds

If you are a newbie, you will probably go for something like this:

if ($_SERVER['REMOTE_ADDR'] == '1.2.3.4') {
  // Your code here
}

If you are bit more experienced, you 'll do something like this:

S. M. Bjørklund: How to migrate content from drupal 6 to 7 by using Migrate_d2d - Part 4 - nodes

Posted on Tuesday, June 2nd, 2015 by drupalroot

This series would be incomplete without also covering node migration. The example code is working code and should import data from drupal 6 to 7 if you have correctly configured your test setup by following the previously articles (part 1-3). Do not be scared by the code. It is more PHP defining stuff then "real" code containing a lot of logic and stuff.

Web Omelette: Creating pseudo-fields in Drupal 8

Posted on Tuesday, June 2nd, 2015 by drupalroot

In this article we are going to look at how we can create and use pseudo-fields in Drupal 8.

What are pseudo-fields?

Pseudo-fields are simple display fields that you can control from the display settings of a particular entity type. An example of such a field is the core Links field on the node or comment entities.

Why are they useful?

Pseudo-fields are great if you have some content or data that you need to render together with that of a particular entity. And since you don't want to be hacky and hardcode all of this inside a template or preprocessor, you can use pseudo-fields to expose some control over this to the UI. This means that you can use the core drag-and-drop functionality to control their visibility and position relative to regular entity fields.

Pages

Subscribe to RSS - blogs