I'm trying to use the field select that comes with the contrib folder in flexinode.
I'm trying to edit my own node-flexinode-x.tpl.php, and I'm trying to fetch all sorts of fields, using $node->flexinode_y (where y is the field ID).
For the most part it works fine. But with the select field, I only get the option number, and not the text.
For example, say I defined a select field (lets say, with field ID 7) with the options:
OptionOne
OptionTwo
OptionThree
OptionFour
This idea came to me after finding out no similar functionality exists in Drupal. I'm not a PHP programmer, so I'm asking for somebody's help in the creation of this module; more accurately, I'm asking for somebody to make it since I am not able to. Any help would be much appreciated.
Here's the rundown:
- Used to restrict a Drupal site to specific IP addresses.
- Can either: (ideally both options would exist and you would select which you want to use)
1. Block those not on the whitelist from viewing the site at all. Those not on the whitelist are redirected.
2. Check the user's IP when they attempt to login. If the IP's not on the whitelist, they can't login.
- Accepts individual IPs or IP ranges.
- IPs are not associated with specific user accounts as users may access from multiple locations and need two or more entries accordingly.
Basically it's like an opposite of the ban list in troll as far as concept goes. Maybe this could even tie into troll if the author would be interested in adding such a feature. Note that, no matter what, users would be allowed to login; the whitelist is just one step in their authentication process.