How to access node field content in a custom module?
Posted by SseggembeMoses on March 1, 2016 at 11:34am
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 moreDrupal 7 custom table to views
Posted by gouthamlabs on March 2, 2014 at 2:12am
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