Boards
Typical Children 26
- Macintosh add line to /etc/hosts 127.0.0.1 amniot.localhost add lines to /etc/apache2/httpd.conf NameVirtualHost 127.0.0.1:80 <VirtualHost amniot.localhost:80> <Directory "/Library/Webserver/Documents_AMNIOT"> ... lsof | grep /Volumes/IMAJIN diskutil unmountDisk force /Volumes/IMAJIN... 2
-
Hosting
Webserv
Group
jellyfish.anoml.net
triplegoddess.anoml.net
sndsystm.anoml.net
synism.anoml.net/s...
-
Topics
8
26
- MySQL DELETE FROM `field_config` WHERE `field_config`.`deleted` = 1;... 1
-
Google
2
-
Organic Connectivity Module
6
-
Wordpress
<?php
// Adds custom post type for Projects and Services
function create_post_type(){
register_post_type('project',
array(
'labels' => array(
'name' => __('Projects'),
'sing...
Adds custom post type called "Reviews"
<?php
function create_post_type(){
register_post_type('review',
array(
'labels'=>array(
'name'=>__('Reviews'),
'singular_name'=>__('Review'...
10
-
PHP
<?php
$reflFunc=new ReflectionFunction('name_of_function');
echo($reflFunc->getFileName().':'.$reflFunc->getStartLine());
?>...
<?php
$items = array(
0 => array( "item 1", "2013-09-13", "1" ),
1 => array( "item 2", "2013-09-14", "2" ),
2 => array( "item 3", "2013-09-15", "3" ),
);
######## CALCULATIONS #########
# set per...
12
-
JQuery
jQuery(window).load(function(){
jQuery('.flexslider').flexslider( {
pauseOnHover: true,
controlsContainer: ".flex-container",
slideshowSpeed: 8000,
before: function(slider){
...
w/JavaScript
//the callback function run after loading JSONp below
function test_results_loaded(data){
//post data to a service via ajax
var xhr = new XMLHttpRequest();
xhr.open("POST", "https://orgnsm@orgnsm.org:...
HTML
<div id="photos_rotator">
<ul>
<li>
<a href="/node/15">
<span class="title">003</span>
</a>
<div class="rotator_full"><img src="003_0.jpg" alt="...
6
-
Frameworks
...
MySQL
Google
7
4
-
Interactivity
1
-
Layout & Typography
2
-
Content Strategy
Storing and retrieving information
2
-
Drupal
<?php
function get_species_country($id_country) {
$inner = new EntityFieldQuery();
$inner_r = $inner->entityCondition('entity_type', 'field_collection_item')
->fieldCondition('field...
<?php
function HOOK_user_insert( &$edit, &$account, $category = NULL ){
// Don't create a new username if one is already set
if( strpos($account->name, 'temporary_') !== 0)
return;
// O...
33
-
Process
Information Gathering
Initial Concepting
Front-End & User Interface Design
Information Design & Systems Development
Front-end & UI Code
User Experience & Syste...
-
Resumé
Curriculum Vitæ
-
Disciplines
...
3
-
Code
Snippets / Examples
see also: code.orgnsm.org for testable examples...
So other modules don't supersede your module, run this code once.
<?php
db_query("UPDATE {system} SET weight = 100 WHERE name = 'MODULE_NAME'");
?>...
function obtain_entities_by_type($entity_type,$bundle,$limit=10,$offset=0,$subject_nid=FALSE){
$query=new EntityFieldQuery();
$query->entityCondition('entity_type', $entity_type)
->entityCondition...
<?php
function HOOK_menu_link( array $variables ){
$element = $variables['element'];
$sub_menu = '';
$name_id = strtolower(strip_tags($element['#title']));
// remove colons and anything past colons...
39
-
Graphic Design
Interface Visuals
...
21
-
JavaScript
AJaX & Motion
The JavaScript
jQuery(function($){
$("#contact").submit(function(){
//grab form values before blowing it out of the DOM in the next line
values=$(this).serialize();
$("#contact").html( "<...
22
-
Stylesheet Coding
Information Presentation
...
46
-
Information Structuring
Nodal Connectivity
...
MySQL
28
-
Template Coding
Information Transmutation
...
Show Links Menu w/Active Class
<nav>
<?php $args=array(
'sort_order' => 'ASC',
'sort_column' => 'post_date',
'hierarchical' => 1,
'exclude' => '',
'include' => '',
'meta_key' => '',
...
47
-
Types
7
-
Work
Projects Catalog
44
-
Recent