#Drupal #php #Views #modules #CSS #HTML #Apache #MySQL #CMS

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
SseggembeMoses's picture

How to access node field content in a custom module?

I have a content type called districts and i have created the following fields

  • district geojson(polygon values)
  • harzards (list) - heavy rain, freezing rain, storm
  • Alert level (list) - extreme, high, low

I am displaying in a view as a leaflet map. Now i would like to write a custom module that can get the field content of a node ie harzards and alert level and then pass them to a javascript file that will print specific colors to the districts in the view depending on the alert_level.

Read more
gouthamlabs's picture

Drupal 7 custom table to views

In drupal 7 i am trying to retrive a custom table data to be displayed in page developed with Views, Display suite, Blocks etc. Any assistance on this would be highly appreciated.

Read more
Subscribe with RSS Syndicate content